[Qt-interest] QT 4.5 OS X Compile errors
Richard
richardmg at trolltech.com
Wed Sep 23 16:01:02 CEST 2009
Check that there is no qmake in your path from before, and that 'qmake
-v' points to the correct version.
-Richard
On Sep 23, 2009, at 1:33 PM, Jason Kolbenheyer wrote:
> I've been trying to compile QT 4.5 for the past few days. My
> settings are:
>
> ./configure -debug-and-release -static -no-fast -stl -qt-sql-sqlite
> -qt-zlib -qt-libpng -qt-libmng -qt-libtiff -qt-libjpeg -webkit -
> universal -sdk /Developer/SDKs/MacOSX10.4u.sdk -nomake examples -
> nomake demos
>
> I get the error:
>
> QListData::remove(int) referenced from libQtCLucene expected to be
> defined in /usr/local/Trolltech/Qt-4.5.2/lib/QtCore.framework/
> Versions/4/QtCore
> QListData::insert(int) referenced from libQtCLucene expected to be
> defined in /usr/local/Trolltech/Qt-4.5.2/lib/QtCore.framework/
> Versions/4/QtCore
> QString::toAscii() constreferenced from libQtCLucene expected to be
> defined in /usr/local/Trolltech/Qt-4.5.2/lib/QtCore.framework/
> Versions/4/QtCore
> collect2: ld returned 1 exit status
> lipo: can't open input file: /var/tmp//ccLACO3z.out (No such file or
> directory)
> make[4]: *** [../../../../bin/Assistant.app/Contents/MacOS/
> Assistant] Error 1
> make[3]: *** [sub-assistant-make_default-ordered] Error 2
> make[2]: *** [sub-tools-make_default-ordered] Error 2
> make[1]: *** [sub-assistant-make_default-ordered] Error 2
> make: *** [sub-tools-make_default-ordered] Error 2
>
> I know this is due to the -universal setting, I'm not sure how to
> fix, I've tried:
>
> env CFLAGS="-O -g -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch
> i386 -arch ppc" \
> LDFLAGS="-arch i386 -arch ppc" ./configure -debug-and-release -
> static -no-fast -stl -qt-sql-sqlite -qt-zlib -qt-libpng -qt-libmng -
> qt-libtiff -qt-libjpeg -webkit -universal -nomake examples -nomake
> demos
>
> as per: http://developer.apple.com/mac/library/technotes/tn2005/tn2137.html#TNTAG2
>
> But no luck. I appreciate any assistance anyone can offer. Thanks
> and have a great day.
>
> -jason
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090923/5f733353/attachment.html
More information about the Qt-interest-old
mailing list