🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.lib.bug
Article #499

linking problem ...

#499
From: Jordan Hayes
Date: Thu, 13 Apr 1989 14:28
14 lines
997 bytes
When trying to link, I got an unresolved reference to _hypot (defined
in -lm), that wouldn't go away.  I ld'd by hand using -y_hypot and
found that libg++ (loaded *after* all the -l* in my link, but before
libC) was referencing _hypot in convert.o ... I put -lg++ before the
-lm, but that seems unsatisfying.

Anyone ever seen this before?  Am I doing something wrong?

(the application has compiled just fine through lots of changes over
the past month or so, and only recently began barfing in this way) ...

Jordan Hayes
CitiBank, NA
[ guest of Columbia ]
Technical Details
Message-ID: <171@cs.columbia.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!rutgers!columbia!cs!jordan

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!rutgers!columbia!cs!jordan
From: jordan@cs.columbia.edu (Jordan Hayes)
Newsgroups: gnu.g++.lib.bug
Subject: linking problem ...
Message-ID: <171@cs.columbia.edu>
Date: 13 Apr 89 14:28:22 GMT
Reply-To: jordan@cs.columbia.edu (Jordan Hayes)
Followup-To: gnu.g++.lib.bug
Distribution: gnu
Organization: Columbia University Department of Computer Science
Lines: 14