Installing comedi under Mandriva 2005

Hi all,
    I had comedi working under Mandrake 10.1, but needed to upgrade to 2005 and 
am trying to get it working again.  I've tried both the most recent version in 
the ftp repository (7.69 and 7.22), as well as the CVS version and get the same 
errors.  ./configure proceeds without error, but make produces the following 
output:
make  all-recursive
make[1]: Entering directory 
`/home/ecarlson/software/new_computer_files/comedi-0.7.69'
Making all in comedi
make[2]: Entering directory 
`/home/ecarlson/software/new_computer_files/comedi-0.7.69/comedi'
Making all in .
make[3]: Entering directory 
`/home/ecarlson/software/new_computer_files/comedi-0.7.69/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 -fno-omit-frame-pointer 
-pipe -mpreferred-stack-boundary=2 -fno-unit-at-a-time 
-march=i686-I/lib/modules/2.6.11-6mdksmp/build/include/asm-i386/mach-default 
-Wdeclaration-after-statement -D__KERNEL__ 
-I/lib/modules/2.6.11-6mdksmp/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
comedi_fops.c: In function `comedi_mmap_v22':
comedi_fops.c:1295: warning: implicit declaration of function 
`remap_page_range'
if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I../include/ -DKBUILD_MODNAME=comedi 
-DKBUILD_BASENAME=proc -Wall -Wstrict-prototypes -Wno-trigraphs 
-fno-strict-aliasing -fno-common -ffreestanding -O2 -fno-omit-frame-pointer 
-pipe -mpreferred-stack-boundary=2 -fno-unit-at-a-time -march=i686 
-I/lib/modules/2.6.11-6mdksmp/build/include/asm-i386/mach-default 
-Wdeclaration-after-statement -D__KERNEL__ 
-I/lib/modules/2.6.11-6mdksmp/build/include  -DMODULE   -g -O2 -MT 
comedi_ko-proc.o -MD -MP-MF ".deps/comedi_ko-proc.Tpo" -c -o comedi_ko-proc.o 
`test -f 'proc.c' || echo './'`proc.c; \
then mv -f ".deps/comedi_ko-proc.Tpo" ".deps/comedi_ko-proc.Po"; else rm -f 
".deps/comedi_ko-proc.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I../include/ -DKBUILD_MODNAME=comedi 
-DKBUILD_BASENAME=range -Wall -Wstrict-prototypes -Wno-trigraphs 
-fno-strict-aliasing -fno-common -ffreestanding -O2-fno-omit-frame-pointer 
-pipe -mpreferred-stack-boundary=2 -fno-unit-at-a-time -march=i686 
-I/lib/modules/2.6.11-6mdksmp/build/include/asm-i386/mach-default 
-Wdeclaration-after-statement -D__KERNEL__ 
-I/lib/modules/2.6.11-6mdksmp/build/include  -DMODULE   -g -O2 -MT 
comedi_ko-range.o -MD -MP -MF ".deps/comedi_ko-range.Tpo" -c -o 
comedi_ko-range.o `test -f 'range.c' || echo './'`range.c; \
then mv -f ".deps/comedi_ko-range.Tpo" ".deps/comedi_ko-range.Po"; else rm -f 
".deps/comedi_ko-range.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I../include/ -DKBUILD_MODNAME=comedi 
-DKBUILD_BASENAME=drivers -Wall -Wstrict-prototypes -Wno-trigraphs 
-fno-strict-aliasing -fno-common -ffreestanding -O2 -fno-omit-frame-pointer 
-pipe -mpreferred-stack-boundary=2 -fno-unit-at-a-time -march=i686 
-I/lib/modules/2.6.11-6mdksmp/build/include/asm-i386/mach-default 
-Wdeclaration-after-statement -D__KERNEL__ 
-I/lib/modules/2.6.11-6mdksmp/build/include  -DMODULE   -g -O2 -MT 
comedi_ko-drivers.o -MD -MP -MF ".deps/comedi_ko-drivers.Tpo" -c -o 
comedi_ko-drivers.o `test -f 'drivers.c' || echo './'`drivers.c; \
then mv -f ".deps/comedi_ko-drivers.Tpo" ".deps/comedi_ko-drivers.Po"; else rm 
-f ".deps/comedi_ko-drivers.Tpo"; exit 1; fi
drivers.c: In function `uvirt_to_kva':
drivers.c: 398: error: request for member `pgd' in something not a 
structure or union
make[3]: *** [comedi_ko-drivers.o] Error 1
make[3]: Leaving directory 
`/home/ecarlson/software/new_computer_files/comedi-0.7.69/comedi'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory 
`/home/ecarlson/software/new_computer_files/comedi-0.7.69/comedi'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory 
`/home/ecarlson/software/new_computer_files/comedi-0.7.69'
make: *** [all] Error 2

I have gcc version 3.4.3-7.  Any help would be greatly appreciated.
Thanks,
Eric

Received on 2005-06-14Z13:17:47