🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #50032

Re: *** GCC and LINUX porting PROBLEM ***

#50032
From: Volker Borchert
Date: Wed, 17 Nov 1993 17:45
24 lines
1778 bytes
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'.

-- 

* "I'm a doctor, not a mechanic." Dr Leonard McCoy <mccoy@ncc1701.starfleet.fed> *
* "I'm a mechanic, not a doctor." Volker Borchert <borchert@ira.uka.de>          *
Technical Details
Message-ID: <2cdnutINNq4h@iraun1.ira.uka.de>
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!ira.uka.de!i50s19.ira.uka.de!borchert
References: <CGMC7u.93E@ecf.toronto.edu>

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-17 11:16:01 PST
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!ira.uka.de!i50s19.ira.uka.de!borchert
From: borchert@i50s19.ira.uka.de (Volker Borchert)
Newsgroups: gnu.gcc.help
Subject: Re: *** GCC and LINUX porting PROBLEM ***
Date: 17 Nov 1993 17:45:01 GMT
Organization: University of Karlsruhe, Comp. Sc. Dept., FRG
Lines: 24
Distribution: world
Message-ID: <2cdnutINNq4h@iraun1.ira.uka.de>
References: <CGMC7u.93E@ecf.toronto.edu>
Reply-To: borchert@ira.uka.de
NNTP-Posting-Host: i50s19.ira.uka.de