Re: [opensuse] Kernel Compiling
- From: John Andersen <jsamyth@xxxxxxxxx>
- Date: Wed, 09 Sep 2009 11:53:29 -0700
Richard wrote:
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 directoryThis 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
Ok, so you are in total thrash mode here, putting links all over the place
where they don't belong.
Its seriously time to consider a do-over. Un-install the sources clean up
the directories and start again.
Have you checked your "sys" environmental thingie?
the message: /usr/include/bits/socket.h:334:24: error: asm/socket.h:
seems to suggest its looking for a asm subdirectory in /usr/include/bits/
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
- Follow-Ups:
- Re: [opensuse] Kernel Compiling
- From: Richard
- Re: [opensuse] Kernel Compiling
- References:
- [opensuse] Kernel Compiling
- From: Richard
- Re: [opensuse] Kernel Compiling
- From: Richard
- Re: [opensuse] Kernel Compiling
- From: ne...
- Re: [opensuse] Kernel Compiling
- From: Richard
- [opensuse] Kernel Compiling
- Prev by Date: Re: [opensuse] Re: [DISCUSS] Wireless-G USB Compact USB Network Adapter,,WUSB54GC V3.0
- Next by Date: Re: [opensuse] Where to find openSuSE/Spamassassin how-to (SOLVED)
- Previous by thread: Re: [opensuse] Kernel Compiling
- Next by thread: Re: [opensuse] Kernel Compiling
- Index(es):
Relevant Pages
|