I get the following errors when trying to make IPmm ============= echo "Linking main.o" Linking main.o arm-unknown-coff-ld -o ipmm.coff /home/magesh/ixp1200/Vera/Runtime/ixp1200/sa/lib/crt0.o main.o ipmm.o /home/magesh/ixp1200/Vera/Libsck/lib/arm/libsck.a /home/magesh/ixp1200/Vera/Libesc/lib/arm/libesc.a /home/magesh/ixp1200/Vera/Runtime/ixp1200/sa/lib/libIXP1200.a /home/magesh/ixp1200/Vera/Libixprouter/sa/lib/libIXPRouter.a /home/magesh/ixp1200/Vera/Libcii/lib/arm/libcii.a -L/home/magesh/ixp1200/Vera/Libcii/lib/arm -L/home/magesh/ixp1200/Vera/Libesc/lib/arm -L/home/magesh/ixp1200/Vera/Libixprouter/sa/lib -L/home/magesh/ixp1200/Vera/Libsck/lib/arm -L/home/magesh/ixp1200/Vera/Runtime/ixp1200/sa/lib -L/usr/xcc/arm/lib/gcc-lib/arm-unknown-coff/2.95.2 -X -T /home/magesh/ixp1200/Vera/Runtime/ixp1200/sa/lib/coffarmIXP1200.x -lsck -lesc -lIXP1200 -lIXPRouter -lcii -lgcc /home/magesh/ixp1200/Vera/Libixprouter/sa/lib/libIXPRouter.a(control.o)(.text+0xb4):fake: undefined reference to `atoi' /home/magesh/ixp1200/Vera/Libixprouter/sa/lib/libIXPRouter.a(control.o)(.text+0xb4):fake: relocation truncated to fit: ARM_26 atoi ========== Which library defines the function 'atoi'? Thanks, Magesh
Magesh, Zuki had sent a mail on this list on 25th March, check out the archives. It contains a patch for the problem that you are reporting. atoi is indeed not defined in any libraries and there is another function called strtoule in libsck which can be used. The patch in that mail should do the trick. - abhijeet On Mon, 23 Sep 2002, Magesh Kannan wrote:
I get the following errors when trying to make IPmm
============= echo "Linking main.o" Linking main.o arm-unknown-coff-ld -o ipmm.coff /home/magesh/ixp1200/Vera/Runtime/ixp1200/sa/lib/crt0.o main.o ipmm.o /home/magesh/ixp1200/Vera/Libsck/lib/arm/libsck.a /home/magesh/ixp1200/Vera/Libesc/lib/arm/libesc.a /home/magesh/ixp1200/Vera/Runtime/ixp1200/sa/lib/libIXP1200.a /home/magesh/ixp1200/Vera/Libixprouter/sa/lib/libIXPRouter.a /home/magesh/ixp1200/Vera/Libcii/lib/arm/libcii.a -L/home/magesh/ixp1200/Vera/Libcii/lib/arm -L/home/magesh/ixp1200/Vera/Libesc/lib/arm -L/home/magesh/ixp1200/Vera/Libixprouter/sa/lib -L/home/magesh/ixp1200/Vera/Libsck/lib/arm -L/home/magesh/ixp1200/Vera/Runtime/ixp1200/sa/lib -L/usr/xcc/arm/lib/gcc-lib/arm-unknown-coff/2.95.2 -X -T /home/magesh/ixp1200/Vera/Runtime/ixp1200/sa/lib/coffarmIXP1200.x -lsck -lesc -lIXP1200 -lIXPRouter -lcii -lgcc /home/magesh/ixp1200/Vera/Libixprouter/sa/lib/libIXPRouter.a(control.o)(.text+0xb4):fake: undefined reference to `atoi' /home/magesh/ixp1200/Vera/Libixprouter/sa/lib/libIXPRouter.a(control.o)(.text+0xb4):fake: relocation truncated to fit: ARM_26 atoi ==========
Which library defines the function 'atoi'?
Thanks, Magesh
participants (2)
-
Abhijeet Joglekar
-
Magesh Kannan