ERROR COMEDILIB 0.7.22 CROSS-COMPILED-ARM

Hi,
we try to install comedilib 0.7.22 for ARM arch.
using: "3as-2:/usr/src/comedilib-0.7.22# ./configure --target=arm-linux 
--host=arm-linux"
it seems all ok!

***************  but at the second step:  *************************

3as-2:/usr/src/comedilib-0.7.22# make
make  all-recursive
make[1]: Entering directory `/usr/src/comedilib-0.7.22'
Making all in lib
make[2]: Entering directory `/usr/src/comedilib-0.7.22/lib'
make  all-am
make[3]: Entering directory `/usr/src/comedilib-0.7.22/lib'
if /bin/sh ../libtool --mode=compile --tag=CC arm-linux-gcc -DHAVE_CONFIG_H 
-I. -I. -I..    -I../include -Wall -D_REENTRANT 
-DLOCALSTATEDIR=\"\/usr/local/var\" -g -O2 -MT libcomedi_la-buffer.lo -MD 
-MP -MF ".deps/libcomedi_la-buffer.Tpo" -c -o libcomedi_la-buffer.lo `test 
-f 'buffer.c' || echo './'`buffer.c; \
then mv -f ".deps/libcomedi_la-buffer.Tpo" ".deps/libcomedi_la-buffer.Plo"; 
else rm -f ".deps/libcomedi_la-buffer.Tpo"; exit 1; fi
arm-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -D_REENTRANT 
-DLOCALSTATEDIR=\"/usr/local/var\" -g -O2 -MT libcomedi_la-buffer.lo -MD -MP 
-MF .deps/libcomedi_la-buffer.Tpo -c buffer.c  -fPIC -DPIC -o 
.libs/libcomedi_la-buffer.o
buffer.c: In function `_comedi_mark_buffer_read':
buffer.c:87: error: `EINVAL' undeclared (first use in this function)
buffer.c:87: error: (Each undeclared identifier is reported only once
buffer.c:87: error: for each function it appears in.)
make[3]: *** [libcomedi_la-buffer.lo] Error 1
make[3]: Leaving directory `/usr/src/comedilib-0.7.22/lib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/comedilib-0.7.22/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/comedilib-0.7.22'
make: *** [all] Error 2


any suggestions?
thanks!!

_________________________________________________________________
Blocca le pop-up pubblicitarie con MSN Toolbar! http://toolbar.msn.it/

Received on 2004-10-18Z06:45:41