fpi2002-0.5 compile error with 2.6.9

From: Johannes Wilm <j.a.t.indymedia.no>
Date: Thu Nov 11 2004 - 20:46:31 EST

Hi,
I recently tried to compile it with a new kernel, but just got several
hundrd (thousands?) of lines of errors. The first error messages are as
follows below. Any clue, anyone?

root@brinsley2: ~/fpi2002-0.5# make
make -C /lib/modules/2.6.9-gentoo-r1/build SUBDIRS=/root/fpi2002-0.5
modules
make[1]: Entering directory `/usr/src/linux-2.6.9-gentoo-r1'
  CC [M] /root/fpi2002-0.5/fpi2002.o
In file included from include/linux/module.h:10,
                 from /root/fpi2002-0.5/fpi2002.c:27:
include/linux/sched.h:4:36: asm/param.h: No such file or directory
In file included from include/linux/types.h:13,
                 from include/linux/capability.h:16,
                 from include/linux/sched.h:7,
                 from include/linux/module.h:10,
                 from /root/fpi2002-0.5/fpi2002.c:27:
include/linux/posix_types.h:47:29: asm/posix_types.h: No such file or
directory
In file included from include/linux/capability.h:16,
                 from include/linux/sched.h:7,
                 from include/linux/module.h:10,
                 from /root/fpi2002-0.5/fpi2002.c:27:
include/linux/types.h:14:23: asm/types.h: No such file or directory
In file included from include/linux/capability.h:16,
                 from include/linux/sched.h:7,
                 from include/linux/module.h:10,
                 from /root/fpi2002-0.5/fpi2002.c:27:
include/linux/types.h:18: error: syntax error before "__kernel_dev_t"
include/linux/types.h:18: warning: type defaults to `int' in declaration
of `__kernel_dev_t'
include/linux/types.h:18: warning: data definition has no type or storage
class
include/linux/types.h:21: error: syntax error before "dev_t"
include/linux/types.h:21: warning: type defaults to `int' in declaration
of `dev_t'
include/linux/types.h:21: warning: data definition has no type or storage
class
include/linux/types.h:22: error: syntax error before "ino_t"
include/linux/types.h:22: warning: type defaults to `int' in declaration
of `ino_t'
include/linux/types.h:22: warning: data definition has no type or storage
class
include/linux/types.h:23: error: syntax error before "mode_t"
include/linux/types.h:23: warning: type defaults to `int' in declaration
of `mode_t'
include/linux/types.h:23: warning: data definition has no type or storage
class
include/linux/types.h:24: error: syntax error before "nlink_t"
include/linux/types.h:24: warning: type defaults to `int' in declaration
of `nlink_t'
include/linux/types.h:24: warning: data definition has no type or storage
class
include/linux/types.h:25: error: syntax error before "off_t"
include/linux/types.h:25: warning: type defaults to `int' in declaration
of `off_t'
include/linux/types.h:25: warning: data definition has no type or storage
class
include/linux/types.h:26: error: syntax error before "pid_t"
include/linux/types.h:26: warning: type defaults to `int' in declaration
of `pid_t'
include/linux/types.h:26: warning: data definition has no type or storage
class
include/linux/types.h:27: error: syntax error before "daddr_t"

--
Johannes Wilm
Received on Thu Nov 11 20:47:01 2004

This archive was generated by hypermail 2.1.8 : Thu Nov 11 2004 - 20:47:19 EST