[ Date Prev][ Date Next][ Thread Prev][ Thread Next][ Date Index][ Thread Index]
2007q3 link error: undefined reference to 'vsprintf'
- To: <arm-gcc@xxxxxxxxxxxxxxxx>
- Subject: 2007q3 link error: undefined reference to 'vsprintf'
- From: "Hongjian Ye" <hongjian.ye@xxxxxxxxxxxxxx>
- Date: Thu, 18 Oct 2007 16:06:55 -0700
When using 2007q3 on Linux machine to link ARM926 objects, the error
message pop up:
"undefined reference to 'vsprintf' "
The link options:
"arm-none-eabi/arm-2007q3/arm-none-eabi/bin/ld -L MY_LIB_PATH -L
arm-none-eabi/arm-2007q3/arm-none-eabi/lib --start-group -lMY_LIB_SPACE
-lc --end-group -o MY_OUTPUT MY_OBJS "
From the message, the libc.a can be found:
"attempt to open arm-none-eabi/arm-2007q3/arm-none-eabi/lib/libc.a
succeeded"
Use nm can find the vsprintf entry in libc.a. But looks like the ld can
not interpret the libc.a and find "vsprintf".
Am I using anything wrong?
Thanks!
H.J. Ye
|