Article View: gnu.gcc.help
Article #50035Re: *** GCC and LINUX porting PROBLEM ***
From: ANDROUTSOS DIMITRIOS
Date: Thu, 18 Nov 1993 04:27
Date: Thu, 18 Nov 1993 04:27
24 lines
1870 bytes
1870 bytes
In article <2cdnutINNq4h@iraun1.ira.uka.de>, Volker Borchert <borchert@ira.uka.de> wrote: >In article <CGMC7u.93E@ecf.toronto.edu>, androut@ecf.toronto.edu (ANDROUTSOS DIMITRIOS) writes: >|> I have a slight problem with gcc in Linux...I was told this was the place to find the 'experts' so here goes: >|> >|> I have Linux (SLS) version installed, with GCC etc, and also XFree 2.0. >|> My problem is that when I try to compile a program written at school on >|> X-Windows I get the message: >|> >|> /usr/tmp/cca002481.o: Undefined symbol _XcreateGC referenced from text >|> segment >|> >|> ...and I get this message for EVERY Xlib function used in the program. >|> >|> I made sure to link the specific libraries, and made sure the include files >|> were accessible, but I keep getting these messages. Needless to say the >|> code compiles at school. Can anyone help? > >It seems that your X include files at school are broken. In our >(plain MIT) X11/Xlib.h, and in the O'Reilly Xlib Manual, this >function is called `XCreateGC'. Yeah, it was a slight typo on my part....I mentioned that it does that for EVERY Xlib function. Any ideas?
Technical Details
Message-ID:
<CGo711.EFp@ecf.toronto.edu>Path:
arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!europa.eng.gtefsd.com!uunet!utcsri!cannon.ecf!androutReferences:
<CGMC7u.93E@ecf.toronto.edu> <2cdnutINNq4h@iraun1.ira.uka.de>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,cda7e36dc9296a85 X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1993-11-18 01:52:22 PST Newsgroups: gnu.gcc.help Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!europa.eng.gtefsd.com!uunet!utcsri!cannon.ecf!androut From: androut@ecf.toronto.edu (ANDROUTSOS DIMITRIOS) Subject: Re: *** GCC and LINUX porting PROBLEM *** Message-ID: <CGo711.EFp@ecf.toronto.edu> Sender: news@ecf.toronto.edu (News Administrator) Organization: University of Toronto, Engineering Computing Facility References: <CGMC7u.93E@ecf.toronto.edu> <2cdnutINNq4h@iraun1.ira.uka.de> Date: Thu, 18 Nov 1993 04:27:00 GMT Lines: 25