Can't compile wx on OS X 10.3.9 (illegal reference to ___cmpdi2)

lothar.behrens at lollisoft.de lothar.behrens at lollisoft.de
Wed Oct 25 15:01:27 PDT 2006


Hi,

after reading some other tips, I tried to link agains that library
directly.

Therefore I modified the EXTRALIBS flags in the main makefile and in
wxrc makefile.

Added: -lc /usr/lib/libgcc_s.1.dylib

After that I got only some warnings of earlier used symbols from
different library.

Is there a test available, if this missing library must be linked
against.

Lothar

lothar.behrens at lollisoft.de wrote:
> Hi,
>
> it seems, that I have a similar problem others reporting too.
>
> I tried wxMac 2.6.2 and 2.6.3 with my actual 10.3.9 and all important
> patches.
>
> The build end up with:
>
> 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
>
> I know, that I have done an update of Quicktime in the last time and
> got the same problems.
> But for now, there must be another solution as to downgrade quicktime
> :-(
>
> I have installed fink and XCode, but use commandline configure and
> make.
> 
> Any help ?
> 
> Thanks, Lothar







More information about the wx-users mailing list