[4806] in RedHat Linux List

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

gcc #include path problems

daemon@ATHENA.MIT.EDU (Dean Schulze)
Sun Nov 17 16:09:37 1996

Date: Sun, 17 Nov 1996 14:07:18 -0700
From: Dean Schulze <schulze@cassini.LPL.Arizona.EDU>
To: redhat-list <redhat-list@redhat.com>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

I did the CD upgrade to RedHat Intel/4.0 and gcc can't find
the .h files for the command #include <linux/xxxx.h>.  I can
fix this by putting

    -I /usr/src/linux-2.0.18/include/linux

in all of the makefiles.  But even then I get errors like

cc -c -g -I /usr/src/linux-2.0.18/include/linux -I. -I./../include 
cplus-dem.c
In file included from cplus-dem.c:29:
/usr/src/linux-2.0.18/include/linux/string.h:4: linux/types.h: No such
file or directory
/usr/src/linux-2.0.18/include/linux/string.h:39: asm/string.h: No such
file or directory


    What do I have to do to get the gcc default include path
right?

    I'm trying to build the Texas persistent store and there are
too many Makefile.in files to have to manually insert additional
-I arguments.

    Thanks.


Dean Schulze

======================================================================
  "You plot the growth of the NEA [National Education Association] and
  the dropping of SAT scores, and they're inversely proportional.
  The problems are unions in the schools.  The problem is bureaucracy.
  I'm one of these people who believes the best thing we could ever do
  is go to the full voucher system."

    Steve Jobs
    Wired Magazine, Feb. 96
    http://www.hotwired.com/wired/4.02/features/jobs.html
=====================================================================


--
  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