Compiling example for ARM

Hi, i'm trying to compile the example info.c for ARM architecture using :

# arm-linux-gcc-3.3.1 -O2 -Wall -I /home/comedilib-0.7.21/include -o info info.c
/home/comedilib-0.7.21/lib/.libs/libcomedi.a

but the result is:

/tmp/ccatHiJV.o(.text+0x3b0): In function `get_command_stuff':
: undefined reference to `cmd_src'
/tmp/ccatHiJV.o(.text+0x3c8): In function `get_command_stuff':
: undefined reference to `cmd_src'
/tmp/ccatHiJV.o(.text+0x3e0): In function `get_command_stuff':
: undefined reference to `cmd_src'
/tmp/ccatHiJV.o(.text+0x3f8): In function `get_command_stuff':
: undefined reference to `cmd_src'
/tmp/ccatHiJV.o(.text+0x410): In function `get_command_stuff':
: undefined reference to `cmd_src'
/tmp/ccatHiJV.o(.text+0x49c): more undefined references to `cmd_src' follow
/home/comedilib-0.7.21/lib/.libs/libcomedi.a(libcomedi_la-range.o)(.text+0x14c):
In function `_comedi_from_phys':
/home/comedilib-0.7.21/lib/range.c:96: undefined reference to `floor'
collect2: ld returned 1 exit status

Can anybody help me? Thanks
Alberto

Received on 2004-02-23Z09:04:45