🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.help
Article #664

Novice: ld/collect/stream problems

#664
From: Eric Ameres
Date: Wed, 06 Jan 1993 20:52
23 lines
1527 bytes
I'm relatively new to g++ and am having problems linking my
application.  Here's what happens when I try to make:

g++ -O -D SRV='"server"' -I. -I/home/a/ameres/blackboard -I/usr2/testbed/exp/unix/include -I/depot/X11R5/include -DOS_UNIX -D
REVROOTDIR='"/usr2/testbed/exp"' -D REVSYMNAME='"UNKNOWN"' -D
TARGETDIR='"/home/a/ameres/blackboard"' -L/home/a/rajive/CAT/unix/lib -L. -L/depot/X11R5/lib -L/usr2/testbed/exp/unix/lib/sun4 -o
server  server.o -lctos++ -lrec -lctos -lmsg -lbts -lg++ -lgcc -lc
ld: Undefined symbol
   ___ls__FR7ostreamPCc
collect: /usr/bin/ld returned 2 exit status
*** Error code 1
make: Fatal error: Command failed for target `server'

Compilation exited abnormally with code 1 at Wed Jan  6 15:42:17

Looks like some type of stream problem.  I thought the iostreams were
in libg++ and I'm including that.  Any quick pointers?

-- 
----------------------------------------------------------------------
Eric Ameres,  Software Engineer                 ameres@cat.rpi.edu
New York State Center for Advanced Technology in Automation & Robotics
Rensselaer Polytechnic Institute - CII 8313, Troy, NY 12180-3590
Technical Details
Message-ID: <#092tn+@rpi.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!elroy.jpl.nasa.gov!usc!rpi!ameres

Show Full Headers
Complete Article Headers
Newsgroups: gnu.g++.help
Path: arc1-ca.pugleaf.net!sparky!uunet!elroy.jpl.nasa.gov!usc!rpi!ameres
From: ameres@manhattan.cat.rpi.edu (Eric Ameres)
Subject: Novice: ld/collect/stream problems
Message-ID: <#092tn+@rpi.edu>
Nntp-Posting-Host: manhattan.cat.rpi.edu
Organization: Rensselaer Polytechnic Institute, Troy NY
Distribution: gnu
Date: Wed, 6 Jan 1993 20:52:39 GMT
Lines: 23