Article View: gnu.gcc.help
Article #42235Problems linking with gcc and Bristol's Xprinter library
From: Sheldon White
Date: Wed, 03 Jan 1996 00:00
Date: Wed, 03 Jan 1996 00:00
25 lines
1620 bytes
1620 bytes
I'm trying to use g++ to link an application using a 3rd party commercial library (Xprinter from Bristol Technology) , and am running into some errors I've never seen before using g++/gcc (I'm using version 2.6.3): xpprofile.o(.text+0x1c): undefined reference to `_GLOBAL_OFFSET_TABLE_' xpprofile.o(.text+0x20): undefined reference to `_GLOBAL_OFFSET_TABLE_' xpprofile.o(.text+0x5c): relocation truncated to fit: BASE10 .text xpprofile.o(.text+0x138): undefined reference to `_GLOBAL_OFFSET_TABLE_' xpprofile.o(.text+0x13c): undefined reference to `_GLOBAL_OFFSET_TABLE_' xpprofile.o(.text+0x14c): relocation truncated to fit: BASE10 .data xpmacros.o(.text+0x15c): undefined reference to `_GLOBAL_OFFSET_TABLE_' xpmacros.o(.text+0x160): more undefined references to `_GLOBAL_OFFSET_TABLE_' follow collect2: ld terminated with signal 6 [Abort], core dumped I can link sample applications using this library using other compilers, and obviously many developers are using this library with other compilers. Has anyone seen this error from gcc, and are there workarounds? I'd hate to have to drop g++ becaues of this! -sheldon white- :^/ sheldon@amc.com
Technical Details
Message-ID:
<9601031946.AA02715@feldspar.amc.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,c45583ffb22f18af,start X-Google-Attributes: gid11318c,public From: sheldon@amc.com (Sheldon White) Subject: Problems linking with gcc and Bristol's Xprinter library Date: 1996/01/03 Message-ID: <9601031946.AA02715@feldspar.amc.com> X-Deja-AN: 133862864 distribution: gnu sender: daemon@cis.ohio-state.edu organization: GNUs Not Usenet newsgroups: gnu.gcc.help