vera libIXPRouter
Compiling the IXP1200_Apps, I get an error when
arm-unknown-coff-ld tries
to link objects to libraries:
Linking main.o
arm-unknown-coff-ld -o ipmm.coff /root/Vera/Runtime/ixp1200/sa/lib/crt0.o
main.o ipmm.o /root/Vera/Libsck/lib/arm/libsck.a /root/Vera/Libesc/lib/arm/libesc.a
/root/Vera/Runtime/ixp1200/sa/lib/libIXP1200.a /root/Vera/Libixprouter/sa/lib/libIXPRouter.a
/root/Vera/Libcii/lib/arm/libcii.a -L/root/Vera/Libcii/lib/arm -L/root/Vera/Libesc/lib/arm -L/root/Vera/Libixprouter/sa/lib
-L/root/Vera/Libsck/lib/arm -L/root/Vera/Runtime/ixp1200/sa/lib
-L/usr/xcc/arm/lib/gcc-lib/arm-unknown-coff/2.95.2 -X -T /root/Vera/Runtime/ixp1200/sa/lib/coffarmIXP1200.x -lsck -lesc -lIXP1200
-lIXPRouter -lcii -lgcc
/root/Vera/Libixprouter/sa/lib/libIXPRouter.a(control.o)(.text+0xb4):fake:
undefined reference to `atoi'
(..snip..)
The control.c module of libIXPRouter archive use the atoi()
function which seems not to be declared in any of those libraries.
Do I need to rewrite the strtol() function from scratch and
include the object into libIXPRouter.a or something is wrong with me?
Thanks in advance.
Bonelli Nicola
On Wed, 26 Feb 2003, Bonelli Nicola wrote:
The control.c module of libIXPRouter archive use the atoi() function which seems not to be declared in any of those libraries.
Do I need to rewrite the strtol() function from scratch and include the object into libIXPRouter.a or something is wrong with me?
Thanks in advance.
I submitted a patch to this mailing list (it's available in the archive) to fix this problem. This patch was applied the version of Libixprouter currently available off the web page. It will probably be easiest for you to get the new tar ball. Zuki -- Yitzchak Gottlieb zuki@CS.Princeton.EDU
participants (2)
-
Bonelli Nicola
-
Yitzchak M. Gottlieb