🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Steve Berger Thu, 20 Aug 1992 22:31
Strange g++ unresolved symbols
#205
Author: Steve Berger
Date: Thu, 20 Aug 1992 22:31
101 lines
3063 bytes

  Hi,

    I'm compiling a program using g++ 2.2.2 on a Sun Sparc running
  sunos 4.1.2 and I'm getting some very strange unresolved linker 
  references when I try to link statically.  This problem does not 
  occur when linking non statically.  Here are the errors I get when 
  I try to make the program :


c++ -static -pipe -I/usr/include/X11 -L/usr/lib/X11 -L/usr/lib  -o onr onr.o  pefuncs.o layerfuncs.o netfuncs.o inputpathfuncs.o  outputpathfuncs.o learnfuncs.o sumfuncs.o transferfuncs.o setupx.o setupactions.o setupmainwindow.o setupcolormap.o setuplayerdialog.o canvasbuttonpress.o layerokcallback.o grabfocus.o setuplayermenu.o setuppemenu.o setupnetworkmenu.o setupconnectmenu.o debug.o layeradd.o layerdelete.o checkposition.o connectionadd.o connectiondelete.o connectionfanin.o connectionfanout.o ptrmot




ionhandler.o  setupselect.o peadd.o pedelete.o beep.o editmode.o canvasbuttonrelease.o getxyminmax.o timeconst.o layeredit.o layercancelcallback.o layerhelpcallback.o setupconnectdialog.o connectionokcallback.o connectioncancelcallback.o setuppedialog.o peokcallback.o clip.o peedit.o pecancelcallback.o readfile.o readdoubles.o setconnectionpopupvals.o askuser.o setuporderdialog.o reorderupdate.o getfuncindexes.o savefile.o strtofuncptr.o setupfileselectdialog.o setupsaveasd!
ialog.o saveascallbacks.o errorpo
/usr/local/bin/gcc
ld: Undefined symbol
   LBE50
   LBB50
   LBE40
   LBB40
   LBE41
   LBB41
   LBE31
   LBB31
   LBE42
   LBB42
   LBE32
   LBB32
   LBE43
   LBB43
   LBE33
   LBB33
   LBE44
   LBB44
   LBE34
   LBB34
   LBE45
   LBB45
   LBE35
   LBB35
   LBE46
   LBB46
   LBE36
   LBB36
   LBE47
   LBB47
   LBE37
   LBB37
   LBE48
   LBB48
   LBE38
   LBB38
   LBE49
   LBB49
   LBE39
   LBB39
   LBE30
   LBB30
   LBE20
   LBB20
   LBE21
   LBB21
   LBE22
   LBB22
   LBE23
   LBB23
   LBE24
   LBB24
   LBE25
   LBB25
   LBE26
   LBB26
   LBE27
   LBB27
   LBE28
   LBB28
   LBE29
   LBB29
collect: /usr/bin/ld returned 2 exit status
*** Error code 1
make: Fatal error: Command failed for target `onr'



    None of these symbols are defined or used anywhere in my program and the
  linker actually does produce an executable which at least *SEEMS* to
  work.  Does anybody have any idea what the problem is here ?  This problem
  did not exist under g++ 2.1.


    Please address responses directly to me and I'll mail the result to
  anyone who is interested.




  Steve Berger (sb@onripx.neuro.emory.edu)
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