[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Darwin, convenience libraries, and common symbols
From: |
Peter O'Gorman |
Subject: |
Re: Darwin, convenience libraries, and common symbols |
Date: |
Fri, 25 Jul 2003 10:06:41 +0900 |
On Friday, July 25, 2003, at 12:41 AM, Tyler Berry wrote:
The problem seems to be with the linking of the convenience library; it
compiles each file into .libs/*.o and ./*.o with -fno-common set and
unset
respectively, but then links only one copy of the convenience library,
using
the files compiled without -fno-common in ./*.o. When this convenience
library
tries to link into my later shared library, Apple's ld complains about
the
common symbols in the convenience library.
Any advice?
What is the package? I'd like to try and isolate this bug.
In the meantime, you can probably get away with
CPPFLAGS="-fno-common" ./configure && make
Thanks,
Peter