[6228] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: No compiler ????

daemon@ATHENA.MIT.EDU (Otto Hammersmith)
Tue Nov 26 12:57:34 1996

From: Otto Hammersmith <ohammers@cu-online.com>
To: redhat-list@redhat.com
Date: Tue, 26 Nov 1996 11:32:23 -0600 (CST)
In-Reply-To: <199611260812.XAA03433@deesign.com> from "W.D.McKinney" at Nov 25, 96 11:12:49 pm
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

W.D.McKinney wrote:
> 
> What am I missing here ? Can't compile any more ???????
> Using RHCL 4.0 ?
> 
> 
> # make
> gcc -O2 -m486 -ansi    -I/usr/X11R6/include  -Dlinux -D__i386__ -D_POSIX_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DX_LOCALE -DXWCHAR -DNO_MESSAGE_CATALOG  -DFUNCPROTO=15 -DNARROWPROTO     -c abort.c -o abort.o
> In file included from /usr/X11R6/include/X11/Xlib.h:52,
>                  from /usr/X11R6/include/X11/Intrinsic.h:57,
>                  from /usr/X11R6/include/Xm/Xm.h:741,
>                  from abort.c:54:
> /usr/include/sys/types.h:4: linux/types.h: No such file or directory
> make: *** [abort.o] Error 1
> 
> This after #xmkmf .
> 
> Please if you know whats happening, reply.

Whatever happened to that FAQ we were supposed to have?

This is caused by not having the proper symlinks in /usr/include to
the kernel source code.

You need to make sure that the following links exists...

/usr/src/linux -> /usr/src/linux-version -- the source for the kernel
					    you're running.
/usr/include/linux -> /usr/src/linux/include/linux
/usr/include/asm -> /usr/src/linux/include/asm
/usr/src/linux/asm -> /usr/src/linux/asm-arch (arch is i386 most
likely)

Good luck...

(hopefully this can be put into a FAQ shortly... this is certianly in
the archives, since I answered the question a week ago, tops)

-- 
					-Otto


--
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
  ________________________________________________________________________
  http://www.redhat.com/RedHat-FAQ   http://www.redhat.com/RedHat-Errata
  http://www.redhat.com/RedHat-Tips  http://www.redhat.com/mailing-lists
  ------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post