[root@AgBio comedilib-0.7.22]# make make all-recursive make[1]: Entering directory `/usr/local/src/comedilib-0.7.22' Making all in lib make[2]: Entering directory `/usr/local/src/comedilib-0.7.22/lib' make all-am make[3]: Entering directory `/usr/local/src/comedilib-0.7.22/lib' if /bin/sh ../libtool --mode=compile --tag=CC 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 mkdir .libs 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 In file included from /usr/include/linux/errno.h:4, from /usr/include/bits/errno.h:25, from /usr/include/errno.h:36, from comedi_errno.h:30, from libinternal.h:31, from buffer.c:24: /usr/include/asm/errno.h:4:31: asm-generic/errno.h: No such file or directory 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/local/src/comedilib-0.7.22/lib' make[2]: *** [all] Error 2 make[2]: Leaving directory `/usr/local/src/comedilib-0.7.22/lib' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/comedilib-0.7.22' make: *** [all] Error 2 [root@AgBio comedilib-0.7.22]#