Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!ucbvax!hoptoad!slc From: slc@hoptoad.uucp (Steve Costa) Newsgroups: comp.sys.amiga.tech Subject: Re: Blink error msg: undefined symbol Message-ID: <7762@hoptoad.uucp> Date: 25 Jun 89 15:28:02 GMT References: <7760@hoptoad.uucp> Reply-To: slc@hoptoad.UUCP (Steve Costa) Distribution: usa Organization: Presidio Software Lines: 32 In article <7760@hoptoad.uucp> slc@hoptoad.UUCP (Steve Costa) writes: > >I'm getting a message from BLink that I don't understand. >my code includes the following: >... >#include >... >extern struct LayersBase *LayersBase; >... >But linking returns the following message: >... >Undefined symbols First Referenced >_LayersBase File 'Wrk:DJFonts.o' >Enter a DEFINE value for _LayersBase (default _stub): >... >I'm having no problems with other libraries. What gives with layers? >And what is it talking about with "(default _stub)"? > > > Costa's corollary to Murphy's Law: Obvious answers to simply problems come only when you embarrass yourself by asking dumb questions. (and get a good night's sleep). I shouldn't have declared "LayersBase" as extern! So when BLink said it wasn't defined, it meant exactly that. Although it would have been nice if all of the library bases had been treated the same way. My humble apologies for wasting your time.