- From: Jordi Vendrell <tigel50_at_gmail.com>
- Date: Tue, 18 Jul 2006 16:07:24 +0200
Thanks a lot, using gcc-2.95 worked well...
except for these lines in the make log
depmod: *** Unresolved symbols in /lib/modules/2.2.19/misc/8255.o
depmod: *** Unresolved symbols in /lib/modules/2.2.19/misc/adl_pci9118.o
depmod: *** Unresolved symbols in /lib/modules/2.2.19/misc/adv_pci1710.o
depmod: *** Unresolved symbols in /lib/modules/2.2.19/misc/cb_pcidas.o
depmod: *** Unresolved symbols in /lib/modules/2.2.19/misc/cb_pcidda.o
depmod: *** Unresolved symbols in /lib/modules/2.2.19/misc/comedi.o
depmod: *** Unresolved symbols in /lib/modules/2.2.19/misc/comedi_parport.o
depmod: *** Unresolved symbols in /lib/modules/2.2.19/misc/das08.o
depmod: *** Unresolved symbols in /lib/modules/2.2.19/misc/das16.o
depmod: *** Unresolved symbols in /lib/modules/2.2.19/misc/das16m1.o
depmod: *** Unresolved symbols in /lib/modules/2.2.19/misc/das1800.o
(...)
Do you know if it is because I hadn't installed yet Comedilib, or for some
other reason?
Are they relevant, by the way? :S
kind regards
Jordi Vendrell
2006/7/14, Ian Abbott <abbotti_at_mev.co.uk>:
>
> On 14/07/06 15:06, Jordi Vendrell wrote:
> > hi,
> >
> > I'm trying to run comedi-0.7.70 under a kernel 2.2.19,
> > ./configure --with-linuxdir=/tmp/linux (where I have the 2.2.19)
> > works fine, but when trying to compile (using make) I get the following
>
> I think support for 2.2 kernels has been broken for a long time, but
> some older versions of Comedi should work.
>
> Your other problem is that the version of gcc you are using to build
> Comedi is too new for your kernel, hence all the warnings about obsolete
> and deprecated options. The kernel was probably built with gcc-2.95 or
> something similar. The same gcc version should be used when building
> Comedi.
>
> > root_at_pfc-09 <mailto: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 <mailto:root_at_pfc-09>:/tmp/comedi-0.7.70#
> >
> > Anyone could give a hand?
> >
> > thanks in advance
> >
> >
> > Jordi Vendrell
> >
>
>
> --
> -=( Ian Abbott _at_ MEV Ltd. E-mail: <abbotti_at_mev.co.uk> )=-
> -=( Tel: +44 (0)161 477 1898 FAX: +44 (0)161 718 3587 )=-
>
Received on 2006-07-18Z13:07:24