From: jonh@u.washington.edu (Jon Howell)
Subject: Multiply defined symbols in every object file from DEC C++
Date: 1 Sep 1994 16:20:17 GMT [thread overview]
Message-ID: <344v01$rff@news.u.washington.edu> (raw)
I'm porting an XView (blush :v) program I wrote on a Linux system with
gnu c++ to the Alpha. I have two significant problems left,
at link time: One, EVERY single object file that cxx generates
defines the external symbols "gpdirect", "current_pcb", and "readdirbuf".
I have one cc'd file (a lex output), and it doesn't have the same problem.
When I link, I get a huge pile of these "multiply defined" messages. What's
going on?
Secondly, my program is built on XView. (Because Motif cost $,
and XView was free and available on Linux, when I developed
my app.) I installed the XView Alpha distribution (binaries), including
putting libxview.so (and all the other libraries) into /usr/lib, and making
sure the perms match the other libraries (644). Then I include the appropriate
-lxview on the cxx command line, and I get a message:
"Can't locate file for: -lxview"
Any clues as to what's going on? Should I go get gnu c++ for the AXP
and stay away from the DEC compiler?
--Jon
reply other threads:[~1994-09-01 16:20 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox