Your linux /usr/include directory isn't set up properly. You need /usr/include/linux and /usr/include/asm symlinks into the kernel source code. This is probably documented in a HOWTO somewhere, and is definately documented in the kernel README. You can probably get away with this:
% su # cd /usr/include # ln -s /usr/src/linux/include/linux # ln -s /usr/src/linux/include/asm Dean On Fri, 27 Mar 1998, root wrote: > make > (cd regex; make lib CC='gcc' AUX_CFLAGS='-O2 -DLINUX=2 ' RANLIB='ranlib') > make[1]: Entering directory `/usr/local/src/apache_1.2.6/src/regex' > rm -f *.o > sh ./mkh -i _REGEX_H_ regex2.h regcomp.c regerror.c regexec.c regfree.c > >regex.tmp > cmp -s regex.tmp regex.h 2>/dev/null || cp regex.tmp regex.h > rm -f regex.tmp > gcc -I. -DPOSIX_MISTAKE -O2 -DLINUX=2 -c regcomp.c -o regcomp.o > In file included from regcomp.c:1: > /usr/include/sys/types.h:4: linux/types.h: No such file or directory > In file included from /usr/include/limits.h:30, > from > /usr/lib/gcc-lib/sparc-linux/2.7.2.1/include/limits.h:116, > from > /usr/lib/gcc-lib/sparc-linux/2.7.2.1/include/syslimits.h:7, > from > /usr/lib/gcc-lib/sparc-linux/2.7.2.1/include/limits.h:11, > from regcomp.c:5: > /usr/include/posix1_lim.h:72: linux/limits.h: No such file or directory > In file included from /usr/include/stdlib.h:42, > from regcomp.c:6: > /usr/include/errno.h:27: linux/errno.h: No such file or directory > make[1]: *** [regcomp.o] Error 1 > make[1]: Leaving directory `/usr/local/src/apache_1.2.6/src/regex' > make: *** [regex/libregex.a] Error 2 > > I'm running S/linux 2.0.33. I don't know where to go from here. > Josh > > please reply to mailto:[EMAIL PROTECTED] >