home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / amiga / programm / 19037 < prev    next >
Encoding:
Text File  |  1993-01-21  |  1.9 KB  |  54 lines

  1. Newsgroups: comp.sys.amiga.programmer
  2. Path: sparky!uunet!gatech!concert!sas!mozart.unx.sas.com!jamie
  3. From: jamie@cdevil.unx.sas.com (James Cooper)
  4. Subject: Re: blink question
  5. Originator: jamie@cdevil.unx.sas.com
  6. Sender: news@unx.sas.com (Noter of Newsworthy Events)
  7. Message-ID: <C181Fv.GH6@unx.sas.com>
  8. Date: Thu, 21 Jan 1993 20:40:42 GMT
  9. References:  <jn_gnomeL01@spark.inet-uk.co.uk>
  10. Nntp-Posting-Host: cdevil.unx.sas.com
  11. Organization: SAS Institute Inc.
  12. Lines: 40
  13.  
  14.  
  15. In article <jn_gnomeL01@spark.inet-uk.co.uk>, John@spark.inet-uk.co.uk (John Marchant) writes:
  16. >After re-structuring a 9-module program and compiling each module clean,
  17. >I get the following message from blink:-
  18. >
  19. >> Blink - Version 5.10a
  20. >> Copyright (c) 1990 SAS Institute, Inc.  All Rights Reserved.
  21. >
  22. >> Error 510: _GfxBase symbol - Reference to unmerged data item,
  23. >>        try -b0 option on LC
  24. >>  First Reference in Unit scrollraster at offset 000006a8 in file 'LIB:lc.lib'
  25. >>  To Unit GCatMain.c at offset 00000014 in file 'GCatMain.o'
  26. >
  27. >This error persists though I recompiled each module using the -b0 option
  28. >in LC. I'm using SAS C Vn.5.10 on an Amiga 500 with WB vn 37.67 (WB2).
  29. >
  30. >Just what is it telling me? I declared (near the beginning) .....
  31. >
  32. >> struct GfxBase *GfxBase = NULL;
  33. >
  34. >...and I opened the graphics library in the approved manner - in fact
  35. >the main module hasn't been altered a lot and it worked ok before the
  36. >restructuring of the modules.
  37.  
  38. First, do you normally link with the -L switch, or by using Blink separately?
  39.  
  40. If you use -L, I'd like to see your full command line.
  41.  
  42. If you use Blink separately, did you remember to switch to using lcnb.lib when
  43. you used the -b0 switch to compile?
  44.  
  45. (Also, of course, why haven't you upgraded to 6.0?  :-) :-)
  46.  
  47. -- 
  48. ---------------
  49. Jim Cooper
  50. (jamie@unx.sas.com)                             bix: jcooper
  51.  
  52. Any opinions expressed herein are mine (Mine, all mine!  Ha, ha, ha!),
  53. and not necessarily those of my employer.
  54.