[Flac-dev] Re: non-PIC code in shared libs again
Christian Weisgerber
naddy at mips.inka.de
Tue Feb 11 09:32:02 PST 2003
Ben Hines <bhines at alumni.ucsd.edu> wrote:
> The patch fixed the problem with your libs. However, when linking the
> xmms plugin i still get:
>
> *** Warning: This library needs some functionality provided by -lstdc++.
This is because of id3lib, which is written in C++. Mixing C and
C++ is problematic. As far as I understand, the final linking
should always be done with the C++ compiler in this case.
> If i remember right this is some sort of libtool bug. I'll ask someone..
I don't think so.
Using something like "cc -o foo c.o c++.o -lstdc++" is highly
questionable.
--
Christian "naddy" Weisgerber naddy at mips.inka.de
More information about the Flac-dev
mailing list