[gnu.g++.lib.bug] linking problem ...

jordan@cs.columbia.edu (Jordan Hayes) (04/13/89)

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 ]