Kernel Compile Probs

Kernel Compile Probs

Post by Debi Re » Sat, 13 Nov 1993 03:11:39



        Hello,

        I am having serious trouble re-compiling the kernel. I have the
        latest SLS with 0.99p12 kernel, and am quite aware that the
        source include with this will not compile. However, I downloaded
        99p13 with patch, and installed it, along with snd-driv-2.0 from
        sunsite, and I still have serious problems compiling (loop.c
        , actually blk.h, gives me "unknown block device"). Is there
        (actually I have heard of) FAQ for kernel compiling,, but can't
        seem to locate them. Could someone either give me some pointer
        or point me to a FAQ. Thank!

 
 
 

Kernel Compile Probs

Post by Marc Bowd » Sat, 13 Nov 1993 14:56:08


Quote:>         I am having serious trouble re-compiling the kernel. I have the
>         latest SLS with 0.99p12 kernel, and am quite aware that the
>         source include with this will not compile. However, I downloaded
>         99p13 with patch, and installed it, along with snd-driv-2.0 from
>         sunsite, and I still have serious problems compiling (loop.c

I was in a similar poistion, so when I had the sls l12 source in place I
sat in \usr\src and did:       rm -fr linux
then I put the full level 13 kerenel source (what do you mean by '99p13
*with patch*'?) in \usr\src and unpacked it to re-create the tree
starting at .linux.  Compiled fine.

Only thing is my virtual console keys now echo A, B C D etc rather than
switching consoles :-).,

I don't have xepreinec of thge sound driver so can't help there.

--
A Bientot
Marc

 
 
 

Kernel Compile Probs

Post by Steve Macsis » Sun, 14 Nov 1993 04:17:13


I had the same problem. It appears (I read this) that the code that is
causing the errors in not supposed to be in 99.p13 and if you get the
complete sources and get rid of all code at kernel or lower it will compile.
I tried this and it works after getting the same error you did.
 
 
 

Kernel Compile Probs

Post by Devin Wayne De » Mon, 15 Nov 1993 12:45:05


:      

:         Hello,

:         I am having serious trouble re-compiling the kernel. I have the
:         latest SLS with 0.99p12 kernel, and am quite aware that the
:         source include with this will not compile. However, I downloaded
:         99p13 with patch, and installed it, along with snd-driv-2.0 from
:         sunsite, and I still have serious problems compiling (loop.c
:         , actually blk.h, gives me "unknown block device"). Is there
:         (actually I have heard of) FAQ for kernel compiling,, but can't
:         seem to locate them. Could someone either give me some pointer
:         or point me to a FAQ. Thank!

Instead of trying to use the patches, try installing the full sources:

the sources can be ftp'd from ftp.funet.fi or one it's mirror sites
the file name is: linux-0.99.13.tar.gz

once you've download this file unzip it with gzip -d and cleaned the directory
tree (make a backup copy of the dir tree if possible, just in case)..
you can unzip, untar and then compile the patch level 13 code.

to clean the tree:
        cd /usr/src/linux
        rm -r -f *

to unzip:
        cd ???? (where ever you downloaded the new source file too)
        gzip -d linux-0.99.13.tar

installing:
        cd /usr/src
        tar xvf /???/linux-0.99.13.tar
                ^^^^^------------------------where ever the file is

after this the new kernel should compile fine -- also reinstall any add ons
such as the sound drivers, etc.. that are located in the directory tree

Hope this helps


 
 
 

1. Kernel Compiling Probs

When running make zImage I keep running into an error that tells me
there is an 'undefined reference to'
    attacdlib_card
    probelib
    unloadlib
It also mentions sound.a

It then stops.

I have had problems with compiling my kernel from word go, can someone
please help.

Cheers,
Garry

2. [Re: cannot boot]

3. Kernel : Compile probs.

4. Question on Unix domain sockets...?

5. Kernel compile probs on AMD686

6. Things are Looking a Little Better

7. Kernel Compiling Probs

8. ppp-on and ppp-on-dialer scripts

9. kernel compile prob with cpp

10. test2 kernel compile probs

11. kernel compile probs.

12. Kernel compile probs

13. Strange Kernel compile/install probs, 1.2.1-1.2.11