Thread View: gnu.gcc.help
1 messages
1 total messages
Started by Bjoern Beskow
Tue, 05 Jan 1993 14:22
Re: gcc & X Windows?
Author: Bjoern Beskow
Date: Tue, 05 Jan 1993 14:22
Date: Tue, 05 Jan 1993 14:22
29 lines
1441 bytes
1441 bytes
Hi, Bradley Carl Beck writes: > > Are there some special commandline options I should use in order > to make gcc compile X11R4/Motif1.1.? source? > > I just compiled and install gcc 2.3.3 on my DECstation 5000 (Ultrix4.2) > and I can't seem to make it compile X source. > > I get the following when trying to compile a simple logout button: > > gcc -O -s -D_NO_PROTO xlogout.c -lXm -lXt -lX11 -lm -o xlogout > In file included from /usr/include/X11/Intrinsic.h:44, from /usr/include/Xm/Xm.h > :83, from xlogout.c:6: > /usr/include/X11/Xlib.h:3958: parse error before `XSizeHints' > /usr/include/X11/Xlib.h:3971: parse error before `XSizeHints' I had the same problem. The reason is that some of the typedefs in DEC's distribution of X.h and Xutil.h are in the wrong files (because Xlib includes only X.h, I suppose). Therefore the typedefs for XSizeHints,XWMHints, XTextProperty, XClassHint & XStandardColormap should be moved from Xutil.h to X.h If you like, I can send you my patched files. Just drop me a line! Good luck! /Bj|rn
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads