Linking Problems with SCO-ODT (Was: Compiling g++ under SCO)

Bill England wengland at stephsf.stephsf.com
Tue Aug 21 07:33:04 AEST 1990


In article <20423 at saleven.oz> mykel at saleven.saleven.oz.au (Michael Landers) writes:
>
>
>groff, actually) I get problems with multiply defined symbols.  These occurs
>when there are two static members of different classes with the same name.
>I seem to remember I had some other problems with this system, but they
>temporarily escape me.
>
>At this stage I have more or less given up, but I would really like to compile
>groff.
>
>Thanks in advance.
>
>Mykel.


   I've similar problems when compiling and linking software.  For instance
   I can not get ld to properly link items that contain ingres functions 
   without getting multiple defines.  It's really frustrating.  I believe
   that it is somehow related to the way that cc runs through the libraries
   and the ability to compile non coff libs into programs.

   Just to give you an idea of how wierd it gets I compiled the public
   domain spreadsheet yesterday ("sc").  
   
   1)  cc ( the microsoft compiler ) can not grok the ctl(?) command. 
   
   2)  So I used rcc, which could not grok the microsoft pragmas or 
       'error' commands ( these were embeded in the curses.h 
       files, why, why, ...). 
   
   3)  After everything compiled under rcc, rcc could not link the 
       final program together, unresolved externals. 

   4)  So I switched back to cc for the final link and was off and 
       running.

   I believe that you may be having a similar problem with gcc.  I don't 
   know how to fix it and hope that somebody out there can shed some
   light on this.

 +--------
 |  Bill England
 |  Stephen Software Systems, Inc.,   Tacoma Wa.
 |  wengland at stephsf.com              +1 206 564 2122
 |
  * *      H -> He +24Mev
 * * * ... Oooo, we're having so much fun making itty bitty suns *
  * *



More information about the Comp.unix.i386 mailing list