Re: [opensuse] Kernel Compiling



On Wed September 9 2009 4:34:38 am ne... wrote:
On Wed, Sep 9, 2009 at 09:20, Richard<ricreig@xxxxxxxxx> wrote:
On Wed September 9 2009 4:13:58 am Heinz Diehl wrote:
At Wed, 9 Sep 2009 03:17:08 -0400,
Richard wrote:

/usr/include/bits/socket.h:334:24: error: asm/socket.h: No such file or directory

This means your installed kernel sources are broken (incomplete).

<snip>

In the include directory, you will find various 'asm-xxx' directories.
Try making a
sym link to the one you are compiling for e.g. ln -s ../asm-alpha ../asm

This might or might not work. I haven't needed to compile a kernel in the
last 3 years so I'm not to scratch with this stuff.

Thanks for the hint, but no combination of links would work. I put 'ln -s ../asm-generic ../asm in ...

/bin
/usr/bin
/usr/src/<kernel I was trying to build>/
/usr/src/<kernel I was trying to build>/include
/usr/src/<kernel I was trying to build>/include/asm-generic
...and a few others

...replaced '../asm-generic' with the name of the assembler ...
'ln -s /usr/bin/as86 ./asm' and variations of that theme

Unfortunately, the error message was the same with all tries. No difference.

I tried with 4 other kernel source directories, one of which was created by
extracting from a *.tgz tarball. Nada, still the *exact* same error message
when using 'make <anything>'

I'm stumped, but I thank you for your responses.

---
TIA
Richard
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx



Relevant Pages

  • Re: panic: sched_add: kse already in run queue
    ... > Julian Elischer wrote: ... >>what date is the kernel sources? ... >>I remember hearing about this error message before the sched patch was added a ... Was there a large threaded component to the system load? ...
    (freebsd-current)
  • Re: [opensuse] Kernel Compiling
    ... Richard wrote: ... This means your installed kernel sources are broken. ... the error message was the same with all tries. ... I tried with 4 other kernel source directories, one of which was created by ...
    (SuSE)
  • Re: [SLE] wireless Intel 2200gb (HEEEELP)
    ... Chadley Wilson wrote: ... > Hence my driver will not compile whether related or not I don't know! ... > I have no idea what this means but the kernel sources for my current kernel ... > are installed and I have I followed INSTALL instructions to the T. ...
    (SuSE)
  • Re: Preprocessor symbol for FreeBSD version?
    ... predefined pre-processor symbol be used for this? ... the pre-processor know a-priori what version of kernel sources ... try to compile stuff there, all sorts of symbols will be ...
    (comp.unix.bsd.freebsd.misc)
  • Re: looking for ltmodem-8.26a-0 RPM for SuSE 8.2 (i386|i586)
    ... Athanasios Migdalas adjusted his tin foil beanie and asbestos underwear ... > kernel sources in order to compile. ... google is your friend here:- ...
    (alt.os.linux.suse)