Article View: gnu.gcc.bug
Article #1203Please add to FAQ and gcc-2.2.2 readme! (Was Re: Compiling X11R5 - HELP.)
From: Dave Hayes
Date: Wed, 14 Oct 1992 16:29
Date: Wed, 14 Oct 1992 16:29
41 lines
2309 bytes
2309 bytes
hwn@cci.dk (Henrik W. Nielsen) writes:
>I have just compiled X11R5 on my Sun IPC (SunOS 4.1.1) using gcc-2.
>It's a standard 8-bit color IPC configuration.
>It compiles without any errors, but when trying to start X, I get the
>following error message:
>Getting interface configuration: Operation not supported on socket
>sunOpenFrameBuffer: Inappropriate ioctl for device
...
>Some suggested that I had not used fixincludes for gcc and X11 from the Gnu
>package, they were right. Now I have re-installed a new gcc compiler. I tested
>it with the following:
> #include <sys/ioctl.h>
> SIOCGIFCONF
>
>which I ran through cc -E and gcc -E and the output was the same.
(The following is courtesy of Jeffrey A Law <law@schirf.cs.utah.edu>)
The way to test for the proper includes with gcc-2.2.2 is as follows:
strings - `which gcc` | egrep gcc-lib
The output of this should be a pathname...look in that directory for
an "include" directory. If there isn't one, put a symlink in that
directory to where the "fixincludes" stuff is. In my case this looked
like:
include -> sparc-sun-sunos4.1.1/2.2.2/include
Apparently either the understanding of where gcc is to find the includes
is not there, or gcc is confused about where they are supposed to be.
If this is a problem with the way 2.2.2 was installed, I'd appreciate
a followup somewhere.
Thanks to all who responded to my similar request.
--
Dave Hayes - Network & Communications Engineering - JPL / NASA - Pasadena CA
dave@elxr.jpl.nasa.gov dave@jato.jpl.nasa.gov ...usc!elroy!dxh
History is not usually what has happened.
History is what some people have thought to be significant.
Technical Details
Message-ID:
<1992Oct14.162926.2521@jato.jpl.nasa.gov>Path:
arc1-ca.pugleaf.net!sparky!uunet!convex!darwin.sura.net!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!jato.jpl.nasa.gov!daveReferences:
<1992Oct13.075826.9072@cci.dk>Show Full Headers
Complete Article Headers
Newsgroups: gnu.gcc.bug Path: arc1-ca.pugleaf.net!sparky!uunet!convex!darwin.sura.net!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!jato.jpl.nasa.gov!dave From: dave@jato.jpl.nasa.gov (Dave Hayes) Subject: Please add to FAQ and gcc-2.2.2 readme! (Was Re: Compiling X11R5 - HELP.) Message-ID: <1992Oct14.162926.2521@jato.jpl.nasa.gov> Sender: gnulists@ai.mit.edu Reply-To: dave@jato.jpl.nasa.gov Organization: Jet Propulsion Lab - Pasadena, CA References: <1992Oct13.075826.9072@cci.dk> Distribution: gnu Date: Wed, 14 Oct 1992 16:29:26 GMT Approved: bug-gcc@prep.ai.mit.edu Lines: 42