Trouble with make

hi,

I'm trying to make comedi-0.7.70 (and have tried some other versions,
at that) run with a kernel 2.2.19, that is the version I have in a
small pc-embedded.
./configure --with-linuxdir=/tmp/linux (where I have the 2.2.19)
works fine, but when trying to make I get the following

root_at_pfc-09:/tmp/comedi-0.7.70# make
make  all-recursive
make[1]: Entering directory `/tmp/comedi-0.7.70'
Making all in comedi
make[2]: Entering directory `/tmp/comedi-0.7.70/comedi'
Making all in .
make[3]: Entering directory `/tmp/comedi-0.7.70/comedi'
if cc -D__KERNEL__ -I/tmp/linux/include -DHAVE_CONFIG_H -I. -I. -I..
 -I../include/ -DKBUILD_MODNAME=comedi -DKBUILD_BASENAME=comedi_fops
-Wall -Wstrict-prototypes -O2 -fomit-frame-pointer
-fno-strict-aliasing -D__SMP__ -pipe -fno-strength-reduce -m486
-malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=686 -DMODULE
-DMODULE -D__MODULE_KERNEL_i686=1 -D__BOOT_KERNEL_ENTERPRISE=0
-D__BOOT_KERNEL_UP=0 -D__BOOT_KERNEL_SMP=1 -D__BOOT_KERNEL_BIGMEM=0
-D__BOOT_KERNEL_HUGEMEM=0   -g -O2 -MT comedi_ko-comedi_fops.o -MD -MP
-MF ".deps/comedi_ko-comedi_fops.Tpo" -c -o comedi_ko-comedi_fops.o
`test -f 'comedi_fops.c' || echo './'`comedi_fops.c; \
then mv -f ".deps/comedi_ko-comedi_fops.Tpo"
".deps/comedi_ko-comedi_fops.Po"; else rm -f
".deps/comedi_ko-comedi_fops.Tpo"; exit 1; fi
`-m486' is deprecated. Use `-march=i486' or `-mcpu=i486' instead.
cc1: warning: -malign-loops is obsolete, use -falign-loops
cc1: warning: -malign-jumps is obsolete, use -falign-jumps
cc1: warning: -malign-functions is obsolete, use -falign-functions
In file included from /tmp/linux/include/linux/string.h:37,
                 from /tmp/linux/include/linux/signal.h:64,
                 from /tmp/linux/include/linux/sched.h:23,
                 from comedi_fops.c:30:
/tmp/linux/include/asm/string.h:476:17: missing terminating " character
In file included from /tmp/linux/include/linux/string.h:37,
                 from /tmp/linux/include/linux/signal.h:64,
                 from /tmp/linux/include/linux/sched.h:23,
                 from comedi_fops.c:30:
/tmp/linux/include/asm/string.h: In function `memscan':
/tmp/linux/include/asm/string.h:477: error: parse error before "repnz"
/tmp/linux/include/asm/string.h:478: error: `scasb' undeclared (first
use in this function)
/tmp/linux/include/asm/string.h:478: error: (Each undeclared
identifier is reported only once
/tmp/linux/include/asm/string.h:478: error: for each function it appears in.)
/tmp/linux/include/asm/string.h:478:21: invalid suffix "f" on integer constant
/tmp/linux/include/asm/string.h:480:17: missing terminating " character
In file included from /tmp/linux/include/linux/sched.h:23,
                 from comedi_fops.c:30:
/tmp/linux/include/linux/signal.h: In function `siginitset':
/tmp/linux/include/linux/signal.h:193: warning: deprecated use of
label at end of compound statement
/tmp/linux/include/linux/signal.h: In function `siginitsetinv':
/tmp/linux/include/linux/signal.h:205: warning: deprecated use of
label at end of compound statement
In file included from comedi_fops.c:40:
../include/linux/device.h:11:29: pcmcia/cs_types.h: El fitxer o
directori no existeix
comedi_fops.c: At top level:
comedi_fops.c:53: error: parse error before string constant
comedi_fops.c:53: warning: type defaults to `int' in declaration of
`MODULE_LICENSE'
comedi_fops.c:53: warning: function declaration isn't a prototype
comedi_fops.c:53: warning: data definition has no type or storage class
comedi_fops.c: In function `do_insnlist_ioctl':
comedi_fops.c:616: warning: implicit declaration of function `need_resched'
comedi_fops.c: In function `comedi_mmap_v22':
comedi_fops.c:1318: warning: implicit declaration of function `remap_pfn_range'
comedi_fops.c:1327: warning: use of cast expressions as lvalues is deprecated
comedi_fops.c: In function `comedi_fop_open':
comedi_fops.c:1662: warning: implicit declaration of function `try_module_get'
comedi_fops.c: In function `comedi_close_v22':
comedi_fops.c:1701: warning: implicit declaration of function `module_put'
comedi_fops.c: At top level:
comedi_fops.c:1834: error: parse error before "comedi_cleanup"
comedi_fops.c:1835: warning: return type defaults to `int'
comedi_fops.c: In function `comedi_cleanup':
comedi_fops.c:1846: error: too few arguments to function `devfs_find_handle'
comedi_fops.c: In function `__cleanup_module_inline':
comedi_fops.c:1866: warning: return from incompatible pointer type
comedi_fops.c: In function `comedi_event':
comedi_fops.c:1910: warning: implicit declaration of function `KILL_FASYNC'
{standard input}: Assembler messages:
{standard input}:122: Warning: ignoring changed section attributes for .modinfo
make[3]: *** [comedi_ko-comedi_fops.o] Error 1
make[3]: Leaving directory `/tmp/comedi-0.7.70/comedi'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/comedi-0.7.70/comedi'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/comedi-0.7.70'
make: *** [all] Error 2
root_at_pfc-09:/tmp/comedi-0.7.70#

Anyone could give a hand?

thanks in advance


Jordi Vendrell

Received on 2006-07-10Z15:07:49