[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
2.4 Kernel patch problem
From: |
Johnny Crunch |
Subject: |
2.4 Kernel patch problem |
Date: |
Fri, 21 Apr 2006 13:01:39 +0200 |
Dear All
I tried to install Gnokii 0.6.12 to my debian sarge 2.4.32 X86_32 (gcc
3.3.5) box, but I couldn't patch our kernel. The kernel source had been
downloaded from official ftp site, and it doesn't contain any kind of
patch. The kernel had been build from source by myself. When I tried to
run make after gnokii's configuration script it sent back few hundred
lines of error (please find them in the end of the mail). Unfortunately
I couldn't find any similar in the gnokii list archive and google.
Could You have any idea what would be the problem?
Thank You
JC
root#~/gnokii-0.6.12/patches/kernel_2.4# make
cc -O2 -DMODULE -D__KERNEL__ -I/lib/modules/2.4.32/build/include/linux -
I/lib/modules/2.4.32/build/drivers/usb/serial -c -o nokia_dku2.o
nokia_dku2.c In file included from nokia_dku2.c:22: /usr/include/linux/
kernel.h:72: error: syntax error before "size_t" /usr/include/linux/
kernel.h:74: error: syntax error before "size_t" In file included from /
usr/include/linux/gfp.h:4, from /usr/include/linux/slab.h:15,
from nokia_dku2.c:25:
/usr/include/linux/mmzone.h:286: error: syntax error before "size_t"
In file included from /usr/include/linux/string.h:23,
from /usr/include/linux/bitmap.h:11,
from /usr/include/linux/cpumask.h:8,
from /usr/include/linux/topology.h:30,
from /usr/include/linux/mmzone.h:296,
from /usr/include/linux/gfp.h:4,
from /usr/include/linux/slab.h:15,
from nokia_dku2.c:25:
...
nokia_dku2.c: In function `generic_write_bulk_callback':
nokia_dku2.c:211: error: `tq_immediate' undeclared (first use in this
function) nokia_dku2.c:212: error: `IMMEDIATE_BH' undeclared (first use
in this function) nokia_dku2.c: In function `nokia_exit':
nokia_dku2.c:241: error: `nokia_driver' undeclared (first use in this
function) nokia_dku2.c: At top level:
/usr/include/linux/stat.h:68: error: storage size of `atime' isn't known
/usr/include/linux/stat.h:69: error: storage size of `mtime' isn't known
/usr/include/linux/stat.h:70: error: storage size of `ctime' isn't known
/usr/include/linux/fs.h:262: error: storage size of `ia_atime' isn't
known /usr/include/linux/fs.h:263: error: storage size of `ia_mtime'
isn't known /usr/include/linux/fs.h:264: error: storage size of
`ia_ctime' isn't known /usr/include/linux/quota.h:226: error: storage
size of `dq_dqb' isn't known /usr/include/linux/fs.h:381: error:
storage size of `i_atime' isn't known /usr/include/linux/fs.h:382:
error: storage size of `i_mtime' isn't known /usr/include/linux/
fs.h:383: error: storage size of `i_ctime' isn't known /usr/include/
linux/fs.h:515: error: storage size of `f_owner' isn't known /usr/
include/asm-generic/siginfo.h:53: error: storage size of `_pad' isn't
known make: *** [nokia_dku2.o] Error 1
- 2.4 Kernel patch problem,
Johnny Crunch <=