🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.interviews
Article #995

Graphics library problems

#995
From: James Locascio
Date: Fri, 26 Apr 1991 20:50
27 lines
1391 bytes
Hi.  I'm trying to link in the graphics library to an application I am develop-
ing.  The code compiles correctly, but every time I try to link, I get and
error message stating:

ld: Undefined symbol
   Graphic::p
   Graphic::identity
   Graphic::painters
   Graphic::caching

When I look at the file "base.h", I notice that these variables are all 
declared "static" in the Graphic definition.  Could this be causing the
problems?

I tried changing these variables so that they were not static and re-compiling
the library.  My code then compiled and linked, but gave me a bus error when
I tried to run, so I am assuming that this "fix" is inadequate.

Does anyone have any suggestions?  I am using a SUN 4 workstation.  I suspect
that my compilation/linking options aren't working as I expect, but I don't
know where to start to find a fix.

					Thanks,

					Jim Locascio
					(locascio@cs.wisc.edu)
Technical Details
Message-ID: <9104262050.AA13330@sleepy.cs.wisc.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!uunet!stanford.edu!CS.WISC.EDU!locascio

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!uunet!stanford.edu!CS.WISC.EDU!locascio
From: locascio@CS.WISC.EDU (James Locascio)
Newsgroups: comp.windows.interviews
Subject: Graphics library problems
Message-ID: <9104262050.AA13330@sleepy.cs.wisc.edu>
Date: 26 Apr 91 20:50:01 GMT
Sender: news@shelby.stanford.edu (USENET News System)
Organization: Internet-USENET Gateway at Stanford University
Lines: 27