Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Linker can't find object file.
Linker can't find object file. [message #1804164] Tue, 19 March 2019 15:19
Zach Wilcox is currently offline Zach WilcoxFriend
Messages: 6
Registered: September 2018
Junior Member
I'm using a C/C++ managed Build.
I'm able to build files and output the o files.
The linker is unable to find the object file that was just created.:
The object file is there. Why can't the linker find the object file?


09:05:49 **** Incremental Build of configuration Debug for project ColdFireTest ****
make all
Building file: ../src/startup/crt0.S
Invoking: Cross GCC Assembler
m68k-unknown-elf-gcc -mcpu=5483 -c -o "src/startup/crt0.o" "../src/startup/crt0.S"
../src/startup/crt0.S: Assembler messages:
Finished building: ../src/startup/crt0.S

Building target: ColdFireTest
Invoking: Cross G++ Linker
m68k-unknown-elf-ld -g -Map=ColdFireTest.map -T /path/to/link/script/link.ld -o "ColdFireTest" ./src/startup/cf-crt1.o ./src/startup/cf-isrs.o ./src/startup/cf-sbrk.o ./src/startup/crt0.o ./src/ColdFireTest.o
/path/to//ld.real: cannot find crt0.o
make: *** [makefile:49: ColdFireTest] Error 1

index.php/fa/35090/0/
index.php/fa/35091/0/
  • Attachment: link fails.JPG
    (Size: 61.29KB, Downloaded 836 times)
  • Attachment: crt0.JPG
    (Size: 27.32KB, Downloaded 795 times)

[Updated on: Tue, 19 March 2019 15:55]

Report message to a moderator

Previous Topic:Unreferenced inclusion
Next Topic:Difference
Goto Forum:
  


Current Time: Sat Apr 20 14:17:14 GMT 2024

Powered by FUDForum. Page generated in 0.03502 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top