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]

compiling problem


hi all,

I am currently using MCORE MTCgnu4.0 compiler for one of my projects.
It is giving compilation errror if I am calling sscanf or sprintf
function .
The error is coming like this.

//c/usr/local/M.CORE/MTCgnu4.0/mcore-elf/lib/libc.a(vfscanf.o): In
function `__svfscanf':
vfscanf.o(.text+0x764): undefined reference to `__truncdfsf2'
//c/usr/local/M.CORE/MTCgnu4.0/mcore-elf/lib/libc.a(strtod.o): In
function `_strtod_r':
strtod.o(.text+0x518): undefined reference to `__floatsidf'
strtod.o(.text+0x520): undefined reference to `__adddf3'
strtod.o(.text+0x528): undefined reference to `__muldf3'
strtod.o(.text+0x52c): undefined reference to `__divdf3'
strtod.o(.text+0x54c): undefined reference to `__eqdf2'
strtod.o(.text+0x80c): undefined reference to `__adddf3'
strtod.o(.text+0x81c): undefined reference to `__subdf3'
strtod.o(.text+0x824): undefined reference to `__eqdf2'
strtod.o(.text+0x830): undefined reference to `__ledf2'
strtod.o(.text+0x83c): undefined reference to `__ltdf2'
strtod.o(.text+0x844): undefined reference to `__muldf3'
strtod.o(.text+0x848): undefined reference to `__negdf2'
strtod.o(.text+0x854): undefined reference to `__gedf2'
strtod.o(.text+0x858): undefined reference to `__fixdfsi'
strtod.o(.text+0x85c): undefined reference to `__floatsidf'
strtod.o(.text+0xab8): undefined reference to `__ltdf2'
strtod.o(.text+0xac0): undefined reference to `__gtdf2'
strtod.o(.text+0xaf0): undefined reference to `__negdf2'
//c/usr/local/M.CORE/MTCgnu4.0/mcore-elf/lib/libc.a(strtod.o): In
function `strtodf':
strtod.o(.text+0xb24): undefined reference to `__truncdfsf2'
//c/usr/local/M.CORE/MTCgnu4.0/mcore-elf/lib/libc.a(mprec.o): In
function `_mprec_log10':
mprec.o(.text+0x810): undefined reference to `__divdf3'
mprec.o(.text+0x820): undefined reference to `__muldf3'


Please help me ..

abhi


------
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]