[100751] in RedHat Linux List

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

Re: gcc not working

daemon@ATHENA.MIT.EDU (cs96sjd@brunel.ac.uk)
Mon Nov 23 08:19:24 1998

From: cs96sjd@brunel.ac.uk
In-Reply-To: <Pine.LNX.3.96.981123210332.8816B-100000@network2.cs.usm.my> from Ronnie Thum at "Nov 23, 98 09:04:58 pm"
To: redhat-list@redhat.com
Date: Mon, 23 Nov 1998 13:18:41 +0000 (GMT)
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

Ronnie Thum said something like :
> 
> Of course.
> If not I wouldn't have the error saying unable to locte stdio.h
> program wise no problem...It's the gcc compiler config or something
> 

Assuming that stdio.h actually exists in /usr/include/stdio.h (glib-devel rpm is installed), then try setting the environment variable CFLAGS to :

-I/usr/include

(This method also works where compiled sources are installed in non standard places, and ./configure's for other sources can't find them)

Simon D
-- 
If you are what you eat, does that mean Euell Gibbons really was a nut?
________________________________________________________________________________
Simon Delicata          __   _
cs96sjd@brunel.ac.uk   / /  (_)__  __ ____  __    Brunel University Student
                      / /__/ / _ \/ // /\ \/ /    
                     /____/_/_//_/\_,_/ /_/\_\ .. The choice of a GNU Generation
________________________________________________________________________________


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
		http://www.redhat.com http://archive.redhat.com
         To unsubscribe: mail redhat-list-request@redhat.com with 
                       "unsubscribe" as the Subject.


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