- From: SA <n0td1scl0s3d_at_ntlworld.com>
- Date: Wed, 23 Nov 2005 11:07:13 +0000
Dear comedi list,
Sorry to bother you with this, I have just tried to compile the CVS version
of comedi and got this error (below). I am compiling on an SMP machine - it
seemed to compile on a more or less identical single processor machine
(alhtough this had the PUD error when I used the tar'd version but this was
fixed by using the CVS version).
Anyone got a quick fix? I thought this had already been dealt within the
mainstream release so maybe i am doing something dim...
Cheers
SA
uname -a
Linux temazepan.eee.nottingham.ac.uk 2.6.11-1.27_FC3smp #1 SMP Tue May 17
20:38:05 EDT 2005 x86_64 x86_64 x86_64 GNU/Linux
temazepan.eee.nottingham.ac.uk:94 make
make all-recursive
make[1]: Entering directory `/home/matt/Desktop/comedi/comedi'
Making all in comedi
make[2]: Entering directory `/home/matt/Desktop/comedi/comedi/comedi'
Making all in .
make[3]: Entering directory `/home/matt/Desktop/comedi/comedi/comedi'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include/ -DKBUILD_MODNAME=comedi
-DKBUILD_BASENAME=comedi_fops -Wall -Wstrict-prototypes -Wno-trigraphs
-fno-strict-aliasing -fno-common -ffreestanding -O2 -fomit-frame-pointer -g
-mno-red-zone -mcmodel=kernel -pipe -fno-reorder-blocks -Wno-sign-compare
-funit-at-a-time -mno-sse -mno-mmx -mno-sse2 -mno-3dnow
-Wdeclaration-after-statement -D__KERNEL__
-I/lib/modules/2.6.11-1.27_FC3smp/build/include -DMODULE -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
In file included
from /lib/modules/2.6.11-1.27_FC3smp/build/include/linux/kobject.h:24,
from /lib/modules/2.6.11-1.27_FC3smp/build/include/linux/module.h:19,
from ../include/linux/module.h:19,
from comedi_fops.c:27:
../include/linux/kref.h: In function `KREF_PUT':
../include/linux/kref.h:101: error: void value not ignored as it ought to be
In file included from ../include/asm/pgtable.h:29,
from /lib/modules/2.6.11-1.27_FC3smp/build/include/linux/mm.h:36,
from ../include/linux/mm.h:10,
from comedi_fops.c:34:
/lib/modules/2.6.11-1.27_FC3smp/build/include/asm/pgtable.h: In function
`set_pud':
/lib/modules/2.6.11-1.27_FC3smp/build/include/asm/pgtable.h:84: error:
structure has no member named `pud'
/lib/modules/2.6.11-1.27_FC3smp/build/include/asm/pgtable.h:84: error:
structure has no member named `pud'
/lib/modules/2.6.11-1.27_FC3smp/build/include/asm/pgtable.h: In function
`pud_bad':
/lib/modules/2.6.11-1.27_FC3smp/build/include/asm/pgtable.h:219: error:
structure has no member named `pud'
In file included from ../include/asm/pgtable.h:29,
from /lib/modules/2.6.11-1.27_FC3smp/build/include/linux/mm.h:36,
from ../include/linux/mm.h:10,
from comedi_fops.c:34:
/lib/modules/2.6.11-1.27_FC3smp/build/include/asm/pgtable.h:314:1: warning:
"pud_offset" redefined
In file included
from /lib/modules/2.6.11-1.27_FC3smp/build/include/linux/mm.h:36,
from ../include/linux/mm.h:10,
from comedi_fops.c:34:
../include/asm/pgtable.h:26:1: warning: this is the location of the previous
definition
In file included from ../include/linux/mm.h:10,
from comedi_fops.c:34:
/lib/modules/2.6.11-1.27_FC3smp/build/include/linux/mm.h: In function
`pmd_alloc':
/lib/modules/2.6.11-1.27_FC3smp/build/include/linux/mm.h:678: error: structure
has no member named `pud'
/lib/modules/2.6.11-1.27_FC3smp/build/include/linux/mm.h:680: error: structure
has no member named `pud'
make[3]: *** [comedi_ko-comedi_fops.o] Error 1
make[3]: Leaving directory `/home/matt/Desktop/comedi/comedi/comedi'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/matt/Desktop/comedi/comedi/comedi'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/matt/Desktop/comedi/comedi'
make: *** [all] Error 2
Received on 2005-11-23Z11:07:13