[ixp1200] vera libIXPRouter

Bonelli Nicola bonelli at netserv.iet.unipi.it
Wed Feb 26 06:15:29 EST 2003


        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  <bonelli at netserv.iet.unipi.it>




More information about the ixp1200 mailing list