home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / gnu / g / help / 1638 < prev    next >
Encoding:
Text File  |  1993-01-06  |  1.5 KB  |  35 lines

  1. Newsgroups: gnu.g++.help
  2. Path: sparky!uunet!elroy.jpl.nasa.gov!usc!rpi!ameres
  3. From: ameres@manhattan.cat.rpi.edu (Eric Ameres)
  4. Subject: Novice: ld/collect/stream problems
  5. Message-ID: <#092tn+@rpi.edu>
  6. Nntp-Posting-Host: manhattan.cat.rpi.edu
  7. Organization: Rensselaer Polytechnic Institute, Troy NY
  8. Distribution: gnu
  9. Date: Wed, 6 Jan 1993 20:52:39 GMT
  10. Lines: 23
  11.  
  12. I'm relatively new to g++ and am having problems linking my
  13. application.  Here's what happens when I try to make:
  14.  
  15. g++ -O -D SRV='"server"' -I. -I/home/a/ameres/blackboard -I/usr2/testbed/exp/unix/include -I/depot/X11R5/include -DOS_UNIX -D
  16. REVROOTDIR='"/usr2/testbed/exp"' -D REVSYMNAME='"UNKNOWN"' -D
  17. 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
  18. server  server.o -lctos++ -lrec -lctos -lmsg -lbts -lg++ -lgcc -lc
  19. ld: Undefined symbol
  20.    ___ls__FR7ostreamPCc
  21. collect: /usr/bin/ld returned 2 exit status
  22. *** Error code 1
  23. make: Fatal error: Command failed for target `server'
  24.  
  25. Compilation exited abnormally with code 1 at Wed Jan  6 15:42:17
  26.  
  27. Looks like some type of stream problem.  I thought the iostreams were
  28. in libg++ and I'm including that.  Any quick pointers?
  29.  
  30. -- 
  31. ----------------------------------------------------------------------
  32. Eric Ameres,  Software Engineer                 ameres@cat.rpi.edu
  33. New York State Center for Advanced Technology in Automation & Robotics
  34. Rensselaer Polytechnic Institute - CII 8313, Troy, NY 12180-3590
  35.