This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more infromation.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Subtraction of two symbols


Hello to all,

Help!

I don't know if this is a common egcs problem....

I still don't know what to do with the arm-uc-libc.tar.gz file on the
ARM7TDMI ucLinux site.  Do I replace the libc directory in newlib with the
files supplied by arm-uc-libc.tar.gz???

I have manually tried to compile the vfscanf.c file but the same type of
error still occurs.  Isn't there anyone else out there that has had this
kind of "Subtraction of two symbols" error happen while building...

/usr/build-egcs/gcc/xgcc -B/usr/build-egcs/gcc/
-B/usr/build-egcs/arm-uclinux/ne
wlib/ -B/usr/local/arm-uclinux/bin/ -idirafter
/usr/build-egcs/arm-uclinux/newli
b/targ-include -idirafter /usr/egcs/newlib/libc/include -nostdinc -g -O2 
-mdisa
ble-got  -O2 -DABORT_PROVIDED -DHAVE_GETTIMEOFDAY -DARM_RDP_MONITOR
-fno-builtin
-I/usr/build-egcs/arm-uclinux/newlib/./targ-include
-I/usr/newlib-1.8.1/newlib/
./libc/include -c ../../../../../../egcs/newlib/libc/stdio/vfscanf.c
C:\TEMP/ccDpnFvl.s: Assembler messages:
C:\TEMP/ccDpnFvl.s:1971: Error: Subtraction of two symbols in different
sections
"strtol" {*UND* section} - ".L44" {*UND* section} at file address 3892.
C:\TEMP/ccDpnFvl.s:1975: Error: Subtraction of two symbols in different
sections
"strtoul" {*UND* section} - ".L54" {*UND* section} at file address 3908.
make[5]: *** [vfscanf.o] Error 1
make[5]: Leaving directory
`/usr/build-egcs/arm-uclinux/pic/newlib/libc/stdio'
make[4]: *** [stdio/lib.a] Error 1
make[4]: Leaving directory `/usr/build-egcs/arm-uclinux/pic/newlib/libc'
make[3]: *** [libc/libc.a] Error 2
make[3]: Leaving directory `/usr/build-egcs/arm-uclinux/pic/newlib'
make[2]: *** [multi-do] Error 1
make[2]: Leaving directory `/usr/build-egcs/arm-uclinux/newlib'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/build-egcs/arm-uclinux/newlib'
make: *** [all-target-newlib] Error 2

Maybe I should post this message in an egcs or cross compiler newsgroup???

It seems to me that perhaps I could just skip compiling vfscanf.c ???

Can anyone suggest a distribution of egcs files that might build easily in a
cygwin environment for the arm-elf or arm-uclinux target?

Thanks

Dan


------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]