From: sxl5151@cs.rit.edu (Shen-Wei X Li) Subject: Problem in compiling Date: Sat, 3 Apr 1993 18:27:55 GMT
Hi, folks,
I just installed the version (middle March) from tsx-11.mit.edu and it runs
very well (using e2fs). But when I tried to compiler some sample programs,
I got the following message:
gcc -fwritable-strings -fomit-frame-pointer -O2 -m486 -DNO_ASM -I/usr/X386/include /usr/src/linux/include -D_POSIX_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -Dlinux -DFUNCPROTO=11 -DNARROWPROTO -c xbitmap1.c -o xbitmap1.o
In file included from /usr/X386/include/X11/Xlib.h:42, from /usr/X386/include/X11/Intrinsic.h:30, from xbitmap1.c:11:
/usr/X386/include/sys/types.h:1: linux/types.h: No such file or directory
make: *** [xbitmap1.o] Error 1
Then I checked the directory contains the "linux/types.h". It should be the
"/usr/src/linux/include/linux/types.h". Yes, there is a "linux" directory
links to "usr/src/linux".....but it seems not the exact one for compiler.
When I compiled the examples which come with OpenWindows, I got the same
problem. Can anyone kindly tell me what to do to this proble? Any suggestion
will be appreciated.
Thanks.