Can't compile wx on OS X 10.3.9

rossi at gmx.de rossi at gmx.de
Tue Sep 19 07:49:29 PDT 2006


Hi,
I try to compile wxpython:

../configure --with-mac --disable-debugreport --disable-backtrace \
 --enable-log --with-threads   --without-sockets \
 --without-odbc --disable-webkit --enable-monolithic

make $* \
	&& make -C contrib/src/animate $* \
 	&& make -C contrib/src/gizmos $* \
	&& make -C contrib/src/stc $*


OS X 10.3.9
Xcode 1.5 is installed
gccNovemberUpdater2004 is installed
Quicktime 7.1.2 SDK is installed

but I get this error:


ld: /usr/lib/gcc/darwin/3.3/libgcc.a(_fixunsdfdi.o) illegal reference
to symbol: ___cmpdi2 defined in indirectly referenced dynamic library
/usr/lib/libgcc_s.1.dylib
/usr/bin/libtool: internal link edit command failed
make: *** [lib/libwx_mac-2.6.0.3.1.dylib] Error 1

i found with Google  that this is the error caused by Quicktime 7.0.4.
Unfortunately now Quicktime 7.1.3 is installed now and i can't
reisntall to 7.0.1 as it was suggested.
I tried:

setting
MACOSX_DEPLOYMENT_TARGET=10.2
or
 MACOSX_DEPLOYMENT_TARGET=10.3
did not help


the only compile I managed was when using ()foudn somewhere:

LDFLAGS="-lc /usr/lib/libgcc_s.1.0.dylib"  make

but then I could not compile wxPython with python setup.py build_ext
--inplace because of these errors:

ld: /usr/lib/libstdc++.a(locale.o) illegal reference to symbol:
std::codecvt<wchar_t, char, __mbstate_t>::id defined in indirectly
referenced dynamic library /usr/lib/libstdc++.6.dylib
ld: multiple definitions of symbol std::__basic_file<char>::is_open()
const
... hunreds of this line alike...

Can anybody give me a hint how to fix this? My system is/was a fresh
setup...

Kind regards

Markus







More information about the wx-users mailing list