zlib issue
zlib issue
- Subject: zlib issue
- From: Rob Barris <email@hidden>
- Date: Wed, 29 Oct 2003 17:02:16 -0800
Our app has zlib built into it. And, at one point, we had the app
building and running on Xcode a few weeks ago. Time went by and other
tasks crowded in on us, today I'm freshening up the Xcode project and
getting it to build again.
We are building against the 10.2.7 SDK now, which is a change from
before.
This error now occurs at link time:
ld: multiple definitions of symbol _deflate_copyright
/Developer/SDKs/MacOSX10.2.7.sdk/usr/lib/libz.1.1.3.dylib(deflate.o)
definition of _deflate_copyright
build/libZLib.a(deflate.o) definition of _deflate_copyright in section
(__TEXT,__cstring)
_deflate_copyright is just the version string in deflate.c from zlib:
const char deflate_copyright[] =
" deflate 1.1.4 Copyright 1995-2002 Jean-loup Gailly ";
a) I'm baffled as to how we were building before, although before we
were building for 10.3, I can try to go back to that style but the app
really needs to work on 10.2.
b) how can I resolve the conflict? Is there some game I should play
with the link order of all the libs in our main target (zlib being one
of them)?
Rob
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.