[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-cgicc] Link Problem on SPARC Linux 7.3 (Aurora)
From: |
Doug Haigh |
Subject: |
[bug-cgicc] Link Problem on SPARC Linux 7.3 (Aurora) |
Date: |
Tue, 16 Mar 2004 13:52:33 -0500 |
I tried installing cgicc-3.2.2 on a Sun Ultra 60 running Red Hat Linux 7.3
(Aurora - www.auroralinux.org). When I ran make (after the ./configure), it
resulted in the following errors:
redhat-linux/2.96/../../../crti.o(.init+0x0): multiple definition of `_init'
/usr/lib/gcc-lib/sparc64-redhat-linux/2.96/../../../crti.o(.init+0x0): first
defined here
/usr/bin/ld: Disabling relaxation: it will not work with multiple definitions
/usr/lib/gcc-lib/sparc64-redhat-linux/2.96/../../../crti.o: In function `_fini':
/usr/lib/gcc-lib/sparc64-redhat-linux/2.96/../../../crti.o(.fini+0x0): multiple
definition of `_fini'
/usr/lib/gcc-lib/sparc64-redhat-linux/2.96/../../../crti.o(.fini+0x0): first
defined here
/usr/lib/gcc-lib/sparc64-redhat-linux/2.96/crtbeginS.o(.data+0x0): multiple
definition of `__dso_handle'
/usr/lib/gcc-lib/sparc64-redhat-linux/2.96/crtbeginS.o(.data+0x0): first
defined here
collect2: ld returned 1 exit status
As it turns out, the ./configure did not think the /usr/bin/ld was the GNU
linker, but it was. I am not sure if this caused the link problem, but the
resulting link command left off the '-nostdlib' option on the g++ link command
for libcgicc.so. Once I editted the libtool file and placed the '-nostdlib'
option in the shared library link command on line 6791, it all worked.
--
___________________________________________________________
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug-cgicc] Link Problem on SPARC Linux 7.3 (Aurora),
Doug Haigh <=