Article View: gnu.gcc.help
Article #49881undefined symbol __lib_version
From: Thomas Erskine
Date: Tue, 14 Dec 1993 18:53
Date: Tue, 14 Dec 1993 18:53
34 lines
1898 bytes
1898 bytes
I've been trying to compile Ghostscript (version 2.61) and it's getting close. Looks like it's almost done, but can't quite finish it. Usually gcc has been well behaved, but there have been a few programs (like Ghostscript) which won't link because they get this error. Since it's not just with Ghostscript I thought I'd ask here: What did I do wrong in my gcc install? I even went back, got a clean copy of the gcc sources and went through the whole install again, just to make sure I hadn't screwed up my stuff somehow. I don't know what __lib_version is for and grep can only find it in the (non-functional) gs which gets produced. The tail-end of the output from make looks like: ./echogs -n - gcc -Bstatic -lXmu -Bdynamic -I. -o gs gs.o gsmain.o [...] [ previous line truncated removing lots of object names.] ./echogs -x 205c >>_temp_ cat ld.tr >>_temp_ ./echogs - -lm >>_temp_ /bin/sh <_temp_ ld: Undefined symbol __lib_version collect: /usr/bin/ld returned 2 exit status gcc: file path prefix `dynamic' never used gcc: file path prefix `static' never used *** Error code 1 make: Fatal error: Command failed for target `gs' Which I hope means something to somebody. Will some-one please tell me what I've done wrong? Thanks. -- Thomas Erskine <tom@clark.dgim.doc.ca> (613) 998-2836
Technical Details
Message-ID:
<1993Dec14.185344.24024@clark.dgim.doc.ca>Path:
arc1-ca.pugleaf.net!gmd.de!Germany.EU.net!EU.net!howland.reston.ans.net!torn!nott!dgbt!clark.dgim.doc.ca!tomShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,b07884acad06f4be,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1993-12-19 01:48:06 PST Newsgroups: gnu.gcc.help Path: arc1-ca.pugleaf.net!gmd.de!Germany.EU.net!EU.net!howland.reston.ans.net!torn!nott!dgbt!clark.dgim.doc.ca!tom From: tom@clark.dgim.doc.ca (Thomas Erskine) Subject: undefined symbol __lib_version Message-ID: <1993Dec14.185344.24024@clark.dgim.doc.ca> Organization: /usr/lib/news/organi[sz]ation Date: Tue, 14 Dec 93 18:53:44 GMT Lines: 35