Re: missing something

John Gruenenfelder (
Sun, 19 Mar 2000 20:11:47 -0700 (MST)

On Sun, 19 Mar 2000 wrote:

>/usr/include/bits/local_lim.h:27: linux/limits.h: No such file or
>make[1]: *** [CheckBox.o] Error 1
>make[1]: Leaving directory
>make[1]: Entering directory `/home/jeff/AfterStep-1.8.0/src/Script'
>gcc -O2  -Wall  -I/usr/X11R6/include    -I. -c lex.yy.c
>In file included from /usr/include/signal.h:294,
>                 from types.h:2,
>                 from Compiler/lexin:3:
>/usr/include/bits/sigcontext.h:28: asm/sigcontext.h: No such file or
>In file included from /usr/include/bits/posix1_lim.h:126,
>                 from /usr/include/limits.h:30,
>                 from
>                 from
>                 from
>                 from ../../configure.h:6,
>                 from types.h:35,
>                 from Compiler/lexin:3:
>/usr/include/bits/local_lim.h:27: linux/limits.h: No such file or
>make[1]: *** [lex.yy.o] Error 1
>make[1]: Leaving directory `/home/jeff/AfterStep-1.8.0/src/Script'
>make: *** [all] Error 1
>lot's of similar error's , i'm probably missing , or didn't put some
>thing on this box , ..?
>[root@kid AfterStep-1.8.0]# find / -name limits.h
>Any suggestions would appreciated

You need to  make two symlinks for the kernel includes.  Go into /usr/include.
If you have either 'linux' or 'asm' move them to different names.  Now:
ln -s /usr/src/linux/include/linux
ln -s /usr/src/linux/include/asm

Should compile fine now.  Be aware that some distros will overwrite these
symlinks when you upgrade certain packages.  Debian will replace them whenever
you upgrade libc6-dev.

--John Gruenenfelder    Research Assistant, Steward Observatory, U of Arizona
Elrond, Duke of URL
"This is the most fun I've had without being drenched in the blood
of my enemies!"
        --Sam of Sam & Max

To unsubscribe from this mailing list, simply type the following at #
echo "unsubscribe as-users <your_email>" | mail