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

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

mips-c++ linker errors


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


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