🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.os.os2.programmer
3 messages
3 total messages Started by Charles Kincy Tue, 26 Jan 1993 09:58
Linker bombout on Nov C++ beta.
#3650
Author: Charles Kincy
Date: Tue, 26 Jan 1993 09:58
23 lines
1160 bytes
OK, this has probably been asked zillions of times before, 
but I can't find the answer anywhere, so I will have to ask it
again.

When linking a program that uses the iostream library,
I get the following error:

C:\IBMC\LIB\dd34sbs.lib(H:\OS2\OLDFORM.C):  
Error L2025:  WS__FR7istream : symbol defined more than once.

Here are my options:
Compiler:  -c -Oi -Fd+ -I.
Linker:    /NOE

Help!  It's frustrating to be able to compile beautifully without 
being able to link!  :)

cpk
-- 
"The WHITE ZONE is for loading and unloading only.  If you gotta load or un-
load, go to the WHITE ZONE.  You'll love it.  It's a way of life!" --Zappa

Technology always seems to keep one step ahead of human wisdom.
Re: Linker bombout on Nov C++ beta.
#3655
Author: Martin Lansche
Date: Tue, 26 Jan 1993 13:53
39 lines
2243 bytes
In <1993Jan26.095812.25676@umr.edu> Charles Kincy writes:
>OK, this has probably been asked zillions of times before,
>but I can't find the answer anywhere, so I will have to ask it
>again.
>
>When linking a program that uses the iostream library,
>I get the following error:
>
>C:\IBMC\LIB\dd34sbs.lib(H:\OS2\OLDFORM.C):
>Error L2025:  WS__FR7istream : symbol defined more than once.
>
>Here are my options:
>Compiler:  -c -Oi -Fd+ -I.
>Linker:    /NOE
>
>Help!  It's frustrating to be able to compile beautifully without
>being able to link!  :)

Charles,
  It probably has been asked/answered a zillion times, but lets take a shot
at it.  The Iostream libraries are not shipped on the PDK CD ROM for licensing
reasons (i.e. not everyone who orders the PDK needs it). If you need to use
the USL Libraries (Iostream, Complex Numbers, Task Library - I think that is
the list), you must call IBM and order them.  You should have received a
cardboard diskette image with the CD with information on who to call so that
you will be sent the USL libraries.  If you no longer have the cardboard image
send me email and I will dig up the needed information for you.


Cheers,
Martin Lansche, IBM PRGS Toronto Lab, Canada
  ________________________________________________________________________
   Ilu Iluvatar en kare eldain a firimoin ar antarota mannar valion :
   numessier.  Toi aina, mana, meldielto -- enga morion : talantie.
   ----------------------------------------------------------------------
   The father made the world for elves and mortals and he gave it into
   the hands of the Lords in the West.  They are blessed, holy and loved,
   except the black one.  He has fallen.  (J.R.R. Tolkien).
  ________________________________________________________________________
Re: Linker bombout on Nov C++ beta.
#3698
Author: Martin Lansche
Date: Tue, 26 Jan 1993 18:28
36 lines
1966 bytes
In <19930126.060029.42@almaden.ibm.com> Martin Lansche writes:
>In <1993Jan26.095812.25676@umr.edu> Charles Kincy writes:
>>OK, this has probably been asked zillions of times before,
>>but I can't find the answer anywhere, so I will have to ask it
>>again.
>>
>>When linking a program that uses the iostream library,
>>I get the following error:
>>
>>C:\IBMC\LIB\dd34sbs.lib(H:\OS2\OLDFORM.C):
>>Error L2025:  WS__FR7istream : symbol defined more than once.
>>
>>Here are my options:
>>Compiler:  -c -Oi -Fd+ -I.
>>Linker:    /NOE
>>

To everyone, my extreme, apologies.  I should have looked closer at the
message listed.  I thought the message was WS_FR7istream not found.
You obviously have the Iostream diskette.

The correct answer is to use the NOI option for linking.

Again, my apologies for misreading your original posting.

Cheers,
Martin Lansche, IBM PRGS Toronto Lab, Canada

  ________________________________________________________________________
   Ilu Iluvatar en kare eldain a firimoin ar antarota mannar valion :
   numessier.  Toi aina, mana, meldielto -- enga morion : talantie.
   ----------------------------------------------------------------------
   The father made the world for elves and mortals and he gave it into
   the hands of the Lords in the West.  They are blessed, holy and loved,
   except the black one.  He has fallen.  (J.R.R. Tolkien).
  ________________________________________________________________________
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads