upgrading kernel

ph.b.fr_at_free.fr
Date: 01/20/04


Date: Tue, 20 Jan 2004 17:24:41 +0100

Hi!

I would like to upgrade my kernel 2.2.8 to 2.4.24 (then later 2.6...), my
kernel is 2.2.8 but my Slackware was installed from a 2.0.33 distribution.

1) Above all, should i do (before "make mrproper" and "make config") :

         cd /usr/include
         rm -f linux
         rm -f asm
         ln -s /usr/src/linux/include/linux linux
         ln -s /usr/src/linux/include/asm-i386 asm

2) Do I "make mrproper" ?

3) When i "make dep", errors occur complaining about missing .h files in
   /usr/src/linux-2.4.24/include/linux directory...

4) Finally, when i "make bzImage", errors occur :

 In file included from
 /usr/src/linux-2.4.24/include/linux/wait.h:13,
 /usr/src/linux-2.4.24/include/linux/fs.h:12,
 /usr/src/linux-2.4.24/include/linux/capability.h:17,
 /usr/src/linux-2.4.24/include/linux/binfmts.h:5,
 /usr/src/linux-2.4.24/include/linux/sched.h:9,
 /usr/src/linux-2.4.24/include/linux/mm.h:4,
       sched.c:23
 /usr/src/linux-2.4.24/include/kernel.h:74:
 error : syntax error before "av_list"
 function declaration isn't a prototype
 ...
 make[2]: *** [sched.o] error 1
 make[1]: *** [first_rule] error 2
 make: *** [_dir_kernel] error 2

============================= My config is : =============================

Linux alpha-1 2.2.8 #5 SMP Mon Jan 5 12:22:57 MET 2004 i586 unknown

Kernel modules 2.4.16
Gnu C gcc (GCC) 3.3.2 Copyright (C) 2003 Free Software
Foundation, Inc.
                                 Ce logiciel est libre; voir les sources
pour les conditions de
                                 copie. Il n'y a PAS GARANTIE; ni implicite
pour le MARCHANDAGE
                                 ou pour un BUT PARTICULIER.
Binutils linux-2.8.1.0.1
Linux C Library 5.4.33
Dynamic linker ldd (GNU libc) 2.2.5
Linux C++ Library 27.2.1
Linux C++ Library 27.2.1
Procps 1.01
Mount 2.11z
Net-tools Utilities
Kbd 0.94
Sh-utils 1.16
Modules Loaded
==========================================================================

Thanks in advance for your attention,

ph.b.fr@free.fr



Relevant Pages

  • Re: Named arguments and inheritance
    ... officially a syntax error and will be treated as a syntax error in at ... public member of any Property instance created for the prototype. ... created during the first instantiation, ...
    (comp.lang.javascript)
  • Newbie needs help with perl compilation errors
    ... trying learn linux by putting it on a spare machine and playing with it. ... Bareword found where operator expected at ...
    (comp.lang.perl)
  • endian typedef problems...
    ... I'm trying to compile unshield-0.4, which seems to only be tested on Linux, on ... OBSD. ... /usr/include/stdlib.h:212: syntax error before `arc4random' ...
    (comp.unix.bsd.openbsd.misc)
  • Why Does IntelliSense Sometimes Go Away?
    ... paren after a function name to get the prototype. ... I know that with a syntax error in a line above, ... But somtimes in one part of my class it works fine and in others it ... Tom Salicos ...
    (microsoft.public.vc.mfc)
  • Re: [Python-mode] compile problem in emacs
    ... i am new to Linux and Python. ... I get a syntax error for this line of code. ... James Henderson, Logical Progression Ltd. ...
    (comp.lang.python)