bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Porting Binutils to A New Target And Getting Error.


From: Prashant Purohit
Subject: Re: Porting Binutils to A New Target And Getting Error.
Date: Wed, 20 Jan 2010 22:27:47 -0800 (PST)

Hi all,


    Now, I am able to generate header files for /binutils-2.19/bfd/ and
also, I am able to build libiberty, bfd, opcodes.
 But now, while building binutils-2.19/binutils, I am getting the following
linker error even after modifying "Makefile.am" and "readelf.c" files in
/binutils-2.19/binutils/ for the new target :

.
.
../bfd/.libs/libbfd.a(targets.o):(.data+0x4): undefined reference to
`bfd_elf32_my_target_vec'
../bfd/.libs/libbfd.a(targets.o):(.rodata+0x8): undefined reference to
`bfd_elf32_my_target_vec'
../bfd/.libs/libbfd.a(targets.o):(.rodata+0x20): undefined reference to
`bfd_elf32_my_target_vec'
collect2: ld returned 1 exit status
make[2]: *** [size] Error 1
make[2]: Leaving directory `/root/temp/binutils'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/temp/binutils'
make: *** [all] Error 2

Thanks & Regards,
Prashant
-- 
View this message in context: 
http://old.nabble.com/Porting-Binutils-to-A-New-Target-And-Getting-Error.-tp27058018p27253395.html
Sent from the Gnu - Binutils - Bugs mailing list archive at Nabble.com.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]