Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[linux-dvb] Re: Can't compile driver
Marc Hutten wrote:
Hello,
When I try to build the driver I get the following error
your kernel include files are screwed up. Get, compile and install a
fresh+clean kernel from http://www.kernel.org/. Thenafter please ask
your linux distibutor not to break kernel include files by proprietary
patchsets.
Holger
"
gcc -D__KERNEL__ -I/usr/src/linux-2.4.18-14/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686
-DMODULE -DMODVERSIONS -include
/usr/src/linux-2.4.18-14/include/linux/modversions.h -I ../include -I .
-g -MD -nostdinc -I /usr/lib/gcc-lib/i386-redhat-linux/3.2/include
-DKBUILD_BASENAME=dmxdev -c -o dmxdev.o dmxdev.c
In file included from /usr/src/linux-2.4.18-14/include/linux/vmalloc.h:4,
from dmxdev.c:24:
/usr/src/linux-2.4.18-14/include/linux/sched.h:6: invalid suffix on
integer constant
/usr/src/linux-2.4.18-14/include/linux/sched.h:6: parse error before
numeric constant
/usr/src/linux-2.4.18-14/include/linux/sched.h:6: warning: function
declaration isn't a prototype
In file included from /usr/src/linux-2.4.18-14/include/linux/ptrace.h:24,
from /usr/src/linux-2.4.18-14/include/linux/binfmts.h:4,
from /usr/src/linux-2.4.18-14/include/linux/sched.h:9,
from /usr/src/linux-2.4.18-14/include/linux/vmalloc.h:4,
from dmxdev.c:24:
/usr/src/linux-2.4.18-14/include/asm/ptrace.h:60: invalid suffix on
integer constant
/usr/src/linux-2.4.18-14/include/asm/ptrace.h:60: parse error before
numeric constant
/usr/src/linux-2.4.18-14/include/asm/ptrace.h:60: `show_regs_R_ver_str'
declared as function returning a function
/usr/src/linux-2.4.18-14/include/asm/ptrace.h:60: warning: function
declaration isn't a prototype
In file included from /usr/src/linux-2.4.18-14/include/linux/wait.h:13,
from /usr/src/linux-2.4.18-14/include/linux/fs.h:12,
from
/usr/src/linux-2.4.18-14/include/linux/capability.h:17,
from /usr/src/linux-2.4.18-14/include/linux/binfmts.h:5,
from /usr/src/linux-2.4.18-14/include/linux/sched.h:9,
from /usr/src/linux-2.4.18-14/include/linux/vmalloc.h:4,
from dmxdev.c:24:
....
"
I tried it after a clean install of RedHat 8.0
I also build a bzImage
make clean
make dep
make bzImage
install driver (lilo)
the new kernel started, but compiling the driver running the new driver
resulted in the same error.
What am I doing wrong?
Best regards,
Marc Hutten
--
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.
Home |
Main Index |
Thread Index