Compiling Linux-2.0.0

Compiling Linux-2.0.0

Post by Reti » Sun, 16 Jun 1996 04:00:00



I've been trying to compile the 2.0.0 kernel that just came out.  So far, all
the code compiles fine, but when it links all of the different .o files into the
final kernel, I get a plethora of unknown function calls (or similar errors) and
it stops.  I am using gcc 2.7.2, g++ 2.7.1.4, libc 5.4.2, binutils 2.6.0.15, and
kernel 1.99.14.  There are too many error messages to really catch for including
in this posting, but I can get them if need be.  Has anyone else had problems
compiling the 2.0 kernel.  I used the same configuration options as in the
previous compile (yes, I did remake the config files with the 2.0 menuconfig
scripts) and everything seems to work with that kernel.

Also another minor problem - I can't seem to get any messages posted to the
linux.dev.kernel newsgroups.  Am I doing something wrong, or is my server fubar?

Joe Miller

 
 
 

Compiling Linux-2.0.0

Post by Kevin Cabr » Sun, 16 Jun 1996 04:00:00


: I've been trying to compile the 2.0.0 kernel that just came out.  So far, all
: the code compiles fine, but when it links all of the different .o files into the
: final kernel, I get a plethora of unknown function calls (or similar errors) and
: it stops.  I am using gcc 2.7.2, g++ 2.7.1.4, libc 5.4.2, binutils 2.6.0.15, and
: kernel 1.99.14.  There are too many error messages to really catch for including
: in this posting, but I can get them if need be.  Has anyone else had problems
: compiling the 2.0 kernel.  I used the same configuration options as in the
: previous compile (yes, I did remake the config files with the 2.0 menuconfig
: scripts) and everything seems to work with that kernel.

        I had that same problem the first time I tried to compile 2.0.
Here is what you should do:

* Delete all your old source code in the /usr/src/ directory. Especially
make sure you delete any symbolic link you have (ex. /usr/src/linux) that
might take you to "/usr/src/linux-1.2.13/". After I deleted all my old
source code the installation worked fine.

* Have the tar file in the /usr/src/ directory, then untar it with the -xf
extensions (-v if you like to see all the files it writes). It will
deposite all of the code in the /usr/src/linux/ directory.

* Then just follow everything they say to do in the README file, including
the "mrproper" command, and the "make deps ; make clean" command.

Kevin
Cols, Oh

 
 
 

1. Compiling Linux-2.0.0 kernel

I am currently running a.out kernel 1.2.8.  I am trying to upgrade to
kernel 2.0.0 but am having problems compiling.  When I do a 'make
zlilo' I get this error:

gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes
-O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486
-DUTS_MACHINE='"i386"' -c -o init/version.o init/version.c
init/version.c:24: `UTS_RELEASE' undeclared here (not in a function)
init/version.c:24: initializer element for `system_utsname.release' is
not constant
init/version.c:29: parse error before `UTS_RELEASE'
make: *** [init/version.o] Error 1

Does anyone know what is wrong?

My system is the following:

gcc-2.7.2
binutils-2.6.0.14
libc-5.0.9

running on a 486DX2
Any help is appreciated.

                                     / o o \
             +---------------------ooO-(_)-Ooo--------------------+
             |   "One difference between a man and a machine is   |
             |      that a machine is quiet when well oiled."     |
             |                                                    |
             |        "No man is an island, but some of us        |
             |                are long peninsulas"                |
             +----------------------------------------------------+


             |Rutgers University    ooO     Beeper: (908) 633-7722|
             +------------------ --(   )-Ooo----------------------+
                                    \ ( (   )
                                     \_) ) /
                                        (_/

2. Can someone recommend me a 56K6 PCMCIA modem?

3. Hurd 0.0 and GNU 0.0 released

4. pkgadd:Unknown pathname

5. affix-2.0.0-pre2 and affix-kernel-2.0.0-pre2 releases

6. Best source of Man Pages?

7. Compile module-2.0.0 w/ kernel-2.0.2

8. getty_ps hangs cany anyone hlp??

9. Help! module-2.0.0 compile problem

10. Problem compiling kernel V2.0.0

11. Kernel 2..0.0 compile Problem

12. Picking nits with linux-2.0.0

13. Adaptec 1542CF under Linux-2.0.0 not recognizing devices?