Re: Problem compiling 2.6.12

From: Sid Boyce
Date: Sat Jun 25 2005 - 19:42:21 EST


George R. Kasica wrote:
Sid:

That seems to have got it!!

Any kernel tuning or optimizations you'd care to recommend?

I've tried a few from time to time, but nothing permanent. I can't off-hand remember them, but a google search turns up some options.

In the future what do I do here or will this continue to work?

As a permanent solution, as suggested in my other email, copying the stuff from /usr/include/{linux, asm, asm-generic} to /usr/local/include/ seems preferable to making symlinks for every new kernel.

Thank you SO much, now I remember why I like linux. Helpful people
like yourself.


George


As a friend often says, "One hand washes the other", a maxim never more true or apt than when applied to Linux and opensource in general.
Regards
Sid.


On Sat, 25 Jun 2005 01:06:09 +0100, you wrote:


George Kasica wrote:

Try "ln -s /usr/src/linux-2.6.12/include/linux /usr/local/include" and "ln -s /usr/src/linux-2.6.12/include/asm /usr/local/include", see if it resolves the problem, I expect it will find them. If you still have problems, try "rm /usr/local/include/asm" and "ln -s /usr/src/linux-2.6.12/include/asm-i386 /usr/local/include/asm".


Here are the links in /usr/local/include:

lrwxrwxrwx 1 root root 35 Jun 24 12:55 asm -> /usr/src/linux-2.6.12/include/linux
lrwxrwxrwx 1 root root 35 Jun 24 12:55 asm-i386 -> /usr/src/linux-2.6.12/include/linux
lrwxrwxrwx 1 root root 35 Jun 24 12:56 linux -> /usr/src/linux-2.6.12/include/linux


Well, it got further with the links as shown here:

# cd /usr/src/linux-2.6.12.1
# make oldconfig
HOSTCC scripts/basic/split-include
HOSTCC scripts/basic/docproc
SHIPPED scripts/kconfig/zconf.tab.h
HOSTCC scripts/kconfig/conf.o
HOSTCC scripts/kconfig/kxgettext.o
HOSTCC scripts/kconfig/mconf.o
scripts/kconfig/mconf.c: In function `exec_conf':
scripts/kconfig/mconf.c:486: `EINTR' undeclared (first use in this function)
scripts/kconfig/mconf.c:486: (Each undeclared identifier is reported only once
scripts/kconfig/mconf.c:486: for each function it appears in.)
scripts/kconfig/mconf.c:486: `EAGAIN' undeclared (first use in this function)
make[1]: *** [scripts/kconfig/mconf.o] Error 1
make: *** [oldconfig] Error 2

But still no joy.

What now?

George




OK, "ln -s /usr/src/linux-2.6.12.1/include/asm-generic /usr/include".
Regards
Sid.






--
Sid Boyce ... Hamradio License G3VBV, Keen licensed Private Pilot
Retired IBM Mainframes and Sun Servers Tech Support Specialist
Microsoft Windows Free Zone - Linux used for all Computing Tasks
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/