[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

2.4.0 kernel compile fails



I am trying to compile the newly released kernel 2.4.0 on my laptop.
(I also have ReiserFS support patched in).  When I try compiling it
using make-kpkg, I consistently get it dying the same place, with the
messages:

init/main.c:588: conflicting types for `inode_init'
/usr/local/store/kernel-source-2.4.0/include/linux/fs.h:198: previous declaratio
n of `inode_init'
init/main.c:588: warning: data definition has no type or storage class
init/main.c:590: warning: function declaration isn't a prototype
init/main.c:590: conflicting types for `ipc_init'
init/main.c:108: previous declaration of `ipc_init'
init/main.c:590: warning: data definition has no type or storage class
init/main.c:595: warning: function declaration isn't a prototype
init/main.c:595: conflicting types for `check_bugs'
/usr/local/store/kernel-source-2.4.0/include/asm/bugs.h:217: previous declaratio
n of `check_bugs'
init/main.c:595: warning: data definition has no type or storage class
init/main.c:596: parse error before string constant
init/main.c:596: warning: function declaration isn't a prototype
init/main.c:596: warning: data definition has no type or storage class
init/main.c:603: warning: function declaration isn't a prototype
init/main.c:603: conflicting types for `smp_init'
init/main.c:496: previous declaration of `smp_init'
init/main.c:603: warning: data definition has no type or storage class
init/main.c:604: parse error before `('
init/main.c:606: parse error before `->'
init/main.c:607: warning: function declaration isn't a prototype
init/main.c:607: conflicting types for `cpu_idle'
init/main.c:490: previous declaration of `cpu_idle'
init/main.c:607: warning: data definition has no type or storage class
init/main.c:608: parse error before `}'
init/main.c:595: warning: `check_bugs' defined but not used
init/main.c:762: warning: `init' defined but not used
init/main.c:533: warning: `parse_options' defined but not used
init/main.c:603: warning: `smp_init' defined but not used
make[1]: *** [init/main.o] Error 1
make[1]: Leaving directory `/usr/local/store/kernel-source-2.4.0'
make: *** [build] Error 2

Does anyone know what could be wrong?

It is a Debian 2.1 system.  I would upgrade it to 2.2 but that is
rather difficult just at the moment.  gcc is version 1:2.95.2-13.

Thanks,

Mark.


-- 
_/~~~~~~~~\___/~~~~~~\____________________________________________________
____/~~\_____/~~\__/~~\__________________________Mark_Phillips____________
____/~~\_____/~~\________________________________mark@ist.flinders.edu.au_
____/~~\HE___/~~\__/~~\APTAIN_____________________________________________
____/~~\______/~~~~~~\____________________________________________________
__________________________________________________________________________
        "They told me I was gullible ... and I believed them!" 



Reply to: