Re: missing something
John Gruenenfelder (johng@bach.as.arizona.edu)
Sun, 19 Mar 2000 20:11:47 -0700 (MST)
On Sun, 19 Mar 2000 norton@polarnet.com wrote:
>/usr/include/bits/local_lim.h:27: linux/limits.h: No such file or
>directory
>make[1]: *** [CheckBox.o] Error 1
>make[1]: Leaving directory
>`/home/jeff/AfterStep-1.8.0/src/Script/Widgets'
>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
>directory
>In file included from /usr/include/bits/posix1_lim.h:126,
> from /usr/include/limits.h:30,
> from
>/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/limits.h:117,
> from
>/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/syslimits.h:7,
> from
>/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/limits.h:11,
> 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
>directory
>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
>/usr/include/limits.h
>/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/limits.h
>/usr/src/linux/include/linux/limits.h
>/usr/src/linux/include/asm-arm/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 http://www.azstarnet.com/~elrond
elrond@azstarnet.com johng@bach.as.arizona.edu
"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 majordomo@afterstep.org