From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,72f89c8fc764bf0b,start X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-09-01 10:29:17 PST Path: bga.com!news.sprintlink.net!hookup!yeshua.marcam.com!MathWorks.Com!europa.eng.gtefsd.com!howland.reston.ans.net!spool.mu.edu!news.clark.edu!netnews.nwnet.net!news.u.washington.edu!jonh From: jonh@u.washington.edu (Jon Howell) Newsgroups: comp.unix.osf.osf1 Subject: Multiply defined symbols in every object file from DEC C++ Date: 1 Sep 1994 16:20:17 GMT Organization: University of Washington, Seattle Message-ID: <344v01$rff@news.u.washington.edu> NNTP-Posting-Host: stein2.u.washington.edu 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