home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 4712 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.5 KB  |  47 lines

  1. Path: god.bel.alcatel.be!nlev00!barnhoorn
  2. From: barnhoorn@nlev00 ()
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: SasC linker Error:
  5. Date: 29 Feb 1996 10:03:56 GMT
  6. Organization: Alcatel Bell
  7. Distribution: world
  8. Message-ID: <4h3tmc$87i@btmpjg.god.bel.alcatel.be>
  9. References: <dkauppDnEzzs.FsD@netcom.com>
  10. Reply-To: barnhoorn@nlev00 ()
  11. NNTP-Posting-Host: 138.203.178.61
  12. X-Newsreader: mxrn 6.18-10
  13.  
  14.  
  15. In article <dkauppDnEzzs.FsD@netcom.com>, dkaupp@netcom.com (Blitter) writes:
  16.  
  17. >ERROR: Multiply defined symbol '_MOBtrigger'.
  18. >       First defined in file 'comm.o'.
  19. >        Type = RELOCATABLE   Value = 1010
  20. >       Redefined in file 'special.o'.
  21. >        Type = RELOCATABLE   Value = 9
  22.  (lots of other similar errors deleted...)
  23. >ERROR: Multiply defined symbol '_MOBtrigger'.
  24. >       First defined in file 'comm.o'.
  25. >        Type = RELOCATABLE   Value = 1010
  26. >       Redefined in file 'update.o'.
  27. >        Type = RELOCATABLE   Value = 16
  28. >Warning 617: MERGED data > 64K.
  29. >
  30.  
  31. Looks like one of your include-files actually define MOBtrigger.
  32. In the include file, specify
  33.  
  34.     extern int MOBtrigger;
  35.  
  36. and in one and only one of your source-files, specify
  37.  
  38.     int MOBtrigger=FALSE;
  39.  
  40. Then the linker will define the symbol only once.
  41. ---------------------------------------------------------------------------
  42. Jaco Barnhoorn               barnie@xs4all.nl
  43. Software Test Engineer       barnhoorn%nlev00@btmv56.se.bel.alcatel.be
  44. Alcatel Telecom Systems
  45. Rijswijk, The Netherlands
  46. ---------------------------------------------------------------------------
  47.