Compilation error: 2.4.27
From: Bart Verwilst (bart_at_verwilst.be)
Date: 09/30/04
- Previous message: Greg KH: "Re: udev is too slow creating devices"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 30 Sep 2004 01:57:59 +0200 To: linux-kernel@vger.kernel.org
Hi!
Could anybody help me out with this problem: I'm having a compilation
error.. Any ideas somebody?
Installed linux # make bzImage
gcc -D__KERNEL__ -I/usr/src/linux-2.4.27/include -Wall
-Wstrict-prototypes -Wno-
trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer
-pipe -mpref
erred-stack-boundary=2 -march=i686 -DKBUILD_BASENAME=main -c -o
init/main.o in
it/main.c
In file included from /usr/src/linux-2.4.27/include/linux/config.h:4,
from init/main.c:14:
/usr/src/linux-2.4.27/include/linux/autoconf.h:687: parse error before
')' token
In file included from /usr/src/linux-2.4.27/include/linux/proc_fs.h:5,
from init/main.c:15:
/usr/src/linux-2.4.27/include/linux/slab.h:52: parse error before '*' token
/usr/src/linux-2.4.27/include/linux/slab.h:52: warning: type defaults to
`int' in declaration of `kmem_find_general_cachep'
/usr/src/linux-2.4.27/include/linux/slab.h:52: warning: data definition
has no type or storage class
/usr/src/linux-2.4.27/include/linux/slab.h:53: parse error before '*' token
/usr/src/linux-2.4.27/include/linux/slab.h:54: parse error before
"kmem_cache_t"
/usr/src/linux-2.4.27/include/linux/slab.h:54: warning: function
declaration isn't a prototype
/usr/src/linux-2.4.27/include/linux/slab.h:55: parse error before
"kmem_cache_t"
/usr/src/linux-2.4.27/include/linux/slab.h:55: warning: function
declaration isn't a prototype
/usr/src/linux-2.4.27/include/linux/slab.h:55: warning: type defaults to
`int' in declaration of `kmem_cache_create'
/usr/src/linux-2.4.27/include/linux/slab.h:55: warning: data definition
has no type or storage class
/usr/src/linux-2.4.27/include/linux/slab.h:56: parse error before '*' token
/usr/src/linux-2.4.27/include/linux/slab.h:56: warning: function
declaration isn't a prototype
/usr/src/linux-2.4.27/include/linux/slab.h:57: parse error before '*' token
/usr/src/linux-2.4.27/include/linux/slab.h:57: warning: function
declaration isn't a prototype
/usr/src/linux-2.4.27/include/linux/slab.h:58: parse error before '*' token
/usr/src/linux-2.4.27/include/linux/slab.h:58: warning: function
declaration isn't a prototype
/usr/src/linux-2.4.27/include/linux/slab.h:59: parse error before '*' token
/usr/src/linux-2.4.27/include/linux/slab.h:59: warning: function
declaration isn't a prototype
/usr/src/linux-2.4.27/include/linux/slab.h:60: parse error before '*' token
/usr/src/linux-2.4.27/include/linux/slab.h:60: warning: function
declaration isn't a prototype
/usr/src/linux-2.4.27/include/linux/slab.h:68: parse error before '*' token
/usr/src/linux-2.4.27/include/linux/slab.h:68: warning: type defaults to
`int' in declaration of `vm_area_cachep'
/usr/src/linux-2.4.27/include/linux/slab.h:68: warning: data definition
has no type or storage class
/usr/src/linux-2.4.27/include/linux/slab.h:69: parse error before '*' token
/usr/src/linux-2.4.27/include/linux/slab.h:69: warning: type defaults to
`int' in declaration of `mm_cachep'
/usr/src/linux-2.4.27/include/linux/slab.h:69: warning: data definition
has no type or storage class
/usr/src/linux-2.4.27/include/linux/slab.h:70: parse error before '*' token
/usr/src/linux-2.4.27/include/linux/slab.h:70: warning: type defaults to
`int' in declaration of `names_cachep'
/usr/src/linux-2.4.27/include/linux/slab.h:70: warning: data definition
has no type or storage class
/usr/src/linux-2.4.27/include/linux/slab.h:71: parse error before '*' token
/usr/src/linux-2.4.27/include/linux/slab.h:71: warning: type defaults to
`int' in declaration of `files_cachep'
/usr/src/linux-2.4.27/include/linux/slab.h:71: warning: data definition
has no type or storage class
/usr/src/linux-2.4.27/include/linux/slab.h:72: parse error before '*' token
/usr/src/linux-2.4.27/include/linux/slab.h:72: warning: type defaults to
`int' in declaration of `filp_cachep'
/usr/src/linux-2.4.27/include/linux/slab.h:72: warning: data definition
has no type or storage class
/usr/src/linux-2.4.27/include/linux/slab.h:73: parse error before '*' token
/usr/src/linux-2.4.27/include/linux/slab.h:73: warning: type defaults to
`int' in declaration of `dquot_cachep'
/usr/src/linux-2.4.27/include/linux/slab.h:73: warning: data definition
has no type or storage class
/usr/src/linux-2.4.27/include/linux/slab.h:74: parse error before '*' token
/usr/src/linux-2.4.27/include/linux/slab.h:74: warning: type defaults to
`int' in declaration of `bh_cachep'
/usr/src/linux-2.4.27/include/linux/slab.h:74: warning: data definition
has no type or storage class
/usr/src/linux-2.4.27/include/linux/slab.h:75: parse error before '*' token
/usr/src/linux-2.4.27/include/linux/slab.h:75: warning: type defaults to
`int' in declaration of `fs_cachep'
/usr/src/linux-2.4.27/include/linux/slab.h:75: warning: data definition
has no type or storage class
/usr/src/linux-2.4.27/include/linux/slab.h:76: parse error before '*' token
/usr/src/linux-2.4.27/include/linux/slab.h:76: warning: type defaults to
`int' in declaration of `sigact_cachep'
/usr/src/linux-2.4.27/include/linux/slab.h:76: warning: data definition
has no type or storage class
make: *** [init/main.o] Error 1
Thanks a lot in advance!
Kind regards,
Bart Verwilst
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Previous message: Greg KH: "Re: udev is too slow creating devices"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
- Re: Urgent C Questions
... int, not void. ... Then you need to turn up the warning level on QuickC.
... 3 missing prototype for 'main' ... stdio.h contains the declaration
for printf: ... (comp.lang.c) - Re: [SLE] compile problem -- WebCam
... > the archive and issue the make command. ... > declaration isn't
a prototype ... > definition has no type or storage class ... (SuSE) - Re: [SLE] PWC webcam-driver
... > declaration isn't a prototype ... > definition has no type or
storage class ... > compiler the kernel had been compiled with. ... (SuSE) - Re: General question
... declaration for, it assumed that it was a function returning an int ...
The first true C standard, ANSI/ISO of 1989 and 1990, changed things. ... Its prototype
is: ... (comp.lang.c) - 2.6.17.8-rt8: Compile Error in module realtime-lsm/realcap.c and misdn/avm_fritz.c - err
... I'm not a programmer at all, but I tried to compile a new kernel due to ...
4837 int cond_resched_hardirq ... to 'int' in declaration of 'MODULE_PARM' ...
no type or storage class ... (Linux-Kernel)