home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.programmer
- Path: sparky!uunet!gatech!concert!sas!mozart.unx.sas.com!jamie
- From: jamie@cdevil.unx.sas.com (James Cooper)
- Subject: Re: blink question
- Originator: jamie@cdevil.unx.sas.com
- Sender: news@unx.sas.com (Noter of Newsworthy Events)
- Message-ID: <C181Fv.GH6@unx.sas.com>
- Date: Thu, 21 Jan 1993 20:40:42 GMT
- References: <jn_gnomeL01@spark.inet-uk.co.uk>
- Nntp-Posting-Host: cdevil.unx.sas.com
- Organization: SAS Institute Inc.
- Lines: 40
-
-
- In article <jn_gnomeL01@spark.inet-uk.co.uk>, John@spark.inet-uk.co.uk (John Marchant) writes:
- >After re-structuring a 9-module program and compiling each module clean,
- >I get the following message from blink:-
- >
- >> Blink - Version 5.10a
- >> Copyright (c) 1990 SAS Institute, Inc. All Rights Reserved.
- >
- >> Error 510: _GfxBase symbol - Reference to unmerged data item,
- >> try -b0 option on LC
- >> First Reference in Unit scrollraster at offset 000006a8 in file 'LIB:lc.lib'
- >> To Unit GCatMain.c at offset 00000014 in file 'GCatMain.o'
- >
- >This error persists though I recompiled each module using the -b0 option
- >in LC. I'm using SAS C Vn.5.10 on an Amiga 500 with WB vn 37.67 (WB2).
- >
- >Just what is it telling me? I declared (near the beginning) .....
- >
- >> struct GfxBase *GfxBase = NULL;
- >
- >...and I opened the graphics library in the approved manner - in fact
- >the main module hasn't been altered a lot and it worked ok before the
- >restructuring of the modules.
-
- First, do you normally link with the -L switch, or by using Blink separately?
-
- If you use -L, I'd like to see your full command line.
-
- If you use Blink separately, did you remember to switch to using lcnb.lib when
- you used the -b0 switch to compile?
-
- (Also, of course, why haven't you upgraded to 6.0? :-) :-)
-
- --
- ---------------
- Jim Cooper
- (jamie@unx.sas.com) bix: jcooper
-
- Any opinions expressed herein are mine (Mine, all mine! Ha, ha, ha!),
- and not necessarily those of my employer.
-