Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Library conflict with Xcode
Hi,

When we read the following error message that Xcode 1.5 reports
when trying to build ARAnyM <http://aranym.sourceforge.net/>
under OSX.3.9 :

ld: /usr/lib/gcc/darwin/3.3/libstdc++.a(functexcept.o) illegal reference
to symbol:  std::logic_error::logic_error(std::basic
_string<char,
std::char_traits<char>, std::allocator<char> > const&) defined in
indirectly referenced dynamic library /usr/lib/libstdc++.6.dylib

We can see it tells that there's a conflict at linking stage
between the "libstdc++.a" and "libstdc++.6.dylib" libraries.

But these libraries are similar. It is the static and dynamic
versions of the same library.

Since a recent period (I met this error Feb 7th 2006) there was
no such errors. There's so now a modification of the libraries
handling with Xcode 1.5.

Why does Xcode complains now about simultaneous usage of static and
dynamic versions of the same libraries ? I don't know.

My building system is broken.

This example is given with ARAnyM. But I could give the same
example with K3DSurf <http://k3dsurf.sourceforge.net/> that
fails with the same linking errors. There's now a conflict
between static and dynamic versions of libraries with Xcode ...

Might it be also a recent update of "/usr/lib/libstdc++.6.dylib"
that generates incompatibilities with Xcode 1.5 under OSX.3.9 ?

Can someone help ?

Thanks,

-- Fran=E7ois LE COAT
Author of Eureka 2.12 (2D Graph Describer, 3D Modeller)
http://eureka.atari.org


Report this thread to moderator Post Follow-up to this message
Old Post
Francois LE COAT
02-15-06 11:58 PM


Re: Library conflict with Xcode
In article <43f3aea2$0$19693$8fcfb975@news.wanadoo.fr>,
Francois LE COAT <lecoat@atari.org> wrote:

> Hi,
>
> When we read the following error message that Xcode 1.5 reports
> when trying to build ARAnyM <http://aranym.sourceforge.net/>
> under OSX.3.9 :
>
> ld: /usr/lib/gcc/darwin/3.3/libstdc++.a(functexcept.o) illegal reference
> to symbol: std::logic error::logic error(std::basic string<char,
> std::char traits<char>, std::allocator<char> > const&) defined in
> indirectly referenced dynamic library /usr/lib/libstdc++.6.dylib
>
> We can see it tells that there's a conflict at linking stage
> between the "libstdc++.a" and "libstdc++.6.dylib" libraries.
>
> But these libraries are similar. It is the static and dynamic
> versions of the same library.
>
> Since a recent period (I met this error Feb 7th 2006) there was
> no such errors. There's so now a modification of the libraries
> handling with Xcode 1.5.
>
> Why does Xcode complains now about simultaneous usage of static and
> dynamic versions of the same libraries ? I don't know.
>
> My building system is broken.
>
> This example is given with ARAnyM. But I could give the same
> example with K3DSurf <http://k3dsurf.sourceforge.net/> that
> fails with the same linking errors. There's now a conflict
> between static and dynamic versions of libraries with Xcode ...
>
> Might it be also a recent update of "/usr/lib/libstdc++.6.dylib"
> that generates incompatibilities with Xcode 1.5 under OSX.3.9 ?

Try posting your question on Apple's developers forum. You can get to it
via http://www.apple.com

Report this thread to moderator Post Follow-up to this message
Old Post
Stan Horwitz
02-16-06 02:58 AM


Re: Library conflict with Xcode
Hi Stan,

Stan Horwitz wrote :
> Francois LE COAT wrote : 
ce 
>=20
> Try posting your question on Apple's developers forum. You can get to i=
t=20
> via http://www.apple.com

Before posting this question here, I first posted it to a mailing list
at <xcode-users@lists.apple.com> without any clear answer so far :(

Are you thinking about another appropriate place I should ask this ?

Best regards,

-- Fran=E7ois LE COAT
Author of Eureka 2.12 (2D Graph Describer, 3D Modeller)
http://eureka.atari.org

Report this thread to moderator Post Follow-up to this message
Old Post
Francois LE COAT
02-16-06 08:58 AM


Re: Library conflict with Xcode
On 15/02/2006 5:43 PM, Francois LE COAT wrote:

> When we read the following error message that Xcode 1.5 reports
> when trying to build ARAnyM <http://aranym.sourceforge.net/>
> under OSX.3.9 :
>
> ld: /usr/lib/gcc/darwin/3.3/libstdc++.a(functexcept.o) illegal reference
> to symbol:  std::logic_error::logic_error(std::basic
_string<char,
> std::char_traits<char>, std::allocator<char> > const&) defined in
> indirectly referenced dynamic library /usr/lib/libstdc++.6.dylib
>
Found this via Google:

<[url]http://sourceforge.net/mailarchive/forum.php?thread_id=9634150&forum_id=4714[/url
]>

Since Quicktime was updated recently, it may be the reason for your
recent lib problems.

Report this thread to moderator Post Follow-up to this message
Old Post
void * clvrmnky()
02-17-06 11:58 PM


Re: Library conflict with Xcode
Hi,

void * clvrmnky() wrote:
> Francois LE COAT wrote:
>=20 
ce 
> Found this via Google:
>=20
> <http://sourceforge.net/mailarchive/...D9634150&forum=
_id=3D4714>=20
>=20
> Since Quicktime was updated recently, it may be the reason for your=20
> recent lib problems.

The problem is now fixed for me.

We talked with Martin on an Apple ML about the problem, and we
found the solution. The solution is to downgrade from QT7.0.4 to
QT7.0.3, because Xcode 1.5 is incompatible with QuickTime 7.0.4.

This is important to diffuse the solution, because it's hard to guess.

Best regards,

-- Fran=E7ois LE COAT
Author of Eureka 2.12 (2D Graph Describer, 3D Modeller)
http://eureka.atari.org

Report this thread to moderator Post Follow-up to this message
Old Post
Francois LE COAT
02-17-06 11:58 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

MAC Programming Tools archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 04:46 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.