mips-c++ linker errors

S Sathyanarayanan sathyas@sankhya.com
Mon May 6 02:12:00 GMT 2002


Hi,

Please clarify the c++ statements or functions which are reponsible for
calling the function abort(), sbrk , kill, exit and getpid. I am getting
the following errors but not able to track down c++ functions.

/mnt/engr224/sankhya/gnu/release/sathyas/cross/mips/lib/gcc-lib/mips-elf/2.95/li
bc.a(abort.o): In function `abort':
/mnt/engr224/sankhya/gnu/src/views/sathyas/src/gnu/newlib-1.8.2/newlib/libc/stdl
ib/abort.c:62: undefined reference to `_exit'
/mnt/engr224/sankhya/gnu/release/sathyas/cross/mips/lib/gcc-lib/mips-elf/2.95/li
bc.a(sbrkr.o): In function `_sbrk_r':
/mnt/engr224/sankhya/gnu/src/views/sathyas/src/gnu/newlib-1.8.2/newlib/libc/reen
t/sbrkr.c:61: undefined reference to `sbrk'
/mnt/engr224/sankhya/gnu/release/sathyas/cross/mips/lib/gcc-lib/mips-elf/2.95/li
bc.a(signalr.o): In function `_kill_r':
/mnt/engr224/sankhya/gnu/src/views/sathyas/src/gnu/newlib-1.8.2/newlib/libc/reen
t/signalr.c:59: undefined reference to `kill'
/mnt/engr224/sankhya/gnu/release/sathyas/cross/mips/lib/gcc-lib/mips-elf/2.95/li
bc.a(signalr.o): In function `_getpid_r':
/mnt/engr224/sankhya/gnu/src/views/sathyas/src/gnu/newlib-1.8.2/newlib/libc/reen
t/signalr.c:94: undefined reference to `getpid'

Thanks,
sathyas


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



More information about the crossgcc mailing list