On Sat, Apr 10, 2010 at 4:54 PM, PNM <[email protected]> wrote: > I've been getting this error building liblastfm as an x86-64 binary fink > package for the last couple of weeks despite all the updates. I hope the > solution is simple. > > Thanks. > > Payam > > g++-4.2 -c -pipe -fno-operator-names -I/sw/opt/lastfm/mac/include > -I/sw/lib/system-openssl/include -I/sw/lib/freetype219/include > -I/sw/lib/fontconfig2/include -I/sw/lib/qt4-mac/include > -I/sw/opt/attica/mac/include -I/sw/include -fvisibility-inlines-hidden > -fvisibility=hidden -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5 > -Wall -W -fPIC -DQT_NO_DEBUG -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB > -DQT_SHARED -I/sw/lib/qt4-mac/mkspecs/macx-g++42 -I. > -I/sw/lib/qt4-mac/lib/QtCore.framework/Versions/4/Headers > -I/sw/lib/qt4-mac/include/QtCore > -I/sw/lib/qt4-mac/lib/QtNetwork.framework/Versions/4/Headers > -I/sw/lib/qt4-mac/include/QtNetwork > -I/sw/lib/qt4-mac/lib/QtXml.framework/Versions/4/Headers > -I/sw/lib/qt4-mac/include/QtXml -I/sw/lib/qt4-mac/include -I../_include > -I_build -F/sw/lib/qt4-mac/lib -o _build/RadioTuner.o radio/RadioTuner.cpp > g++-4.2 -c -pipe -fno-operator-names -I/sw/opt/lastfm/mac/include > -I/sw/lib/system-openssl/include -I/sw/lib/freetype219/include > -I/sw/lib/fontconfig2/include -I/sw/lib/qt4-mac/include > -I/sw/opt/attica/mac/include -I/sw/include -fvisibility-inlines-hidden > -fvisibility=hidden -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5 > -Wall -W -fPIC -DQT_NO_DEBUG -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB > -DQT_SHARED -I/sw/lib/qt4-mac/mkspecs/macx-g++42 -I. > -I/sw/lib/qt4-mac/lib/QtCore.framework/Versions/4/Headers > -I/sw/lib/qt4-mac/include/QtCore > -I/sw/lib/qt4-mac/lib/QtNetwork.framework/Versions/4/Headers > -I/sw/lib/qt4-mac/include/QtNetwork > -I/sw/lib/qt4-mac/lib/QtXml.framework/Versions/4/Headers > -I/sw/lib/qt4-mac/include/QtXml -I/sw/lib/qt4-mac/include -I../_include > -I_build -F/sw/lib/qt4-mac/lib -o _build/XmlQuery.o core/XmlQuery.cpp > g++-4.2 -c -pipe -fno-operator-names -I/sw/opt/lastfm/mac/include > -I/sw/lib/system-openssl/include -I/sw/lib/freetype219/include > -I/sw/lib/fontconfig2/include -I/sw/lib/qt4-mac/include > -I/sw/opt/attica/mac/include -I/sw/include -fvisibility-inlines-hidden > -fvisibility=hidden -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5 > -Wall -W -fPIC -DQT_NO_DEBUG -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB > -DQT_SHARED -I/sw/lib/qt4-mac/mkspecs/macx-g++42 -I. > -I/sw/lib/qt4-mac/lib/QtCore.framework/Versions/4/Headers > -I/sw/lib/qt4-mac/include/QtCore > -I/sw/lib/qt4-mac/lib/QtNetwork.framework/Versions/4/Headers > -I/sw/lib/qt4-mac/include/QtNetwork > -I/sw/lib/qt4-mac/lib/QtXml.framework/Versions/4/Headers > -I/sw/lib/qt4-mac/include/QtXml -I/sw/lib/qt4-mac/include -I../_include > -I_build -F/sw/lib/qt4-mac/lib -o _build/UrlBuilder.o core/UrlBuilder.cpp > g++-4.2 -c -pipe -fno-operator-names -I/sw/opt/lastfm/mac/include > -I/sw/lib/system-openssl/include -I/sw/lib/freetype219/include > -I/sw/lib/fontconfig2/include -I/sw/lib/qt4-mac/include > -I/sw/opt/attica/mac/include -I/sw/include -fvisibility-inlines-hidden > -fvisibility=hidden -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5 > -Wall -W -fPIC -DQT_NO_DEBUG -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB > -DQT_SHARED -I/sw/lib/qt4-mac/mkspecs/macx-g++42 -I. > -I/sw/lib/qt4-mac/lib/QtCore.framework/Versions/4/Headers > -I/sw/lib/qt4-mac/include/QtCore > -I/sw/lib/qt4-mac/lib/QtNetwork.framework/Versions/4/Headers > -I/sw/lib/qt4-mac/include/QtNetwork > -I/sw/lib/qt4-mac/lib/QtXml.framework/Versions/4/Headers > -I/sw/lib/qt4-mac/include/QtXml -I/sw/lib/qt4-mac/include -I../_include > -I_build -F/sw/lib/qt4-mac/lib -o _build/misc.o core/misc.cpp > core/misc.cpp: In function 'QDir dataDotDot()': > core/misc.cpp:69: error: cannot convert 'long int*' to 'SInt32*' for argument > '5' to 'OSErr FindFolder(FSVolumeRefNum, OSType, Boolean, FSVolumeRefNum*, > SInt32*)' > core/misc.cpp:78: error: '::FSMakeFSSpec' has not been declared > core/misc.cpp:82: error: '::FSpMakeFSRef' has not been declared > make[1]: *** [_build/misc.o] Error 1 > make: *** [__src] Error 2 > ### execution of /var/tmp/tmp.2.iHjW0L failed, exit code 2 > Removing runtime build-lock... > Removing build-lock package... > /sw/bin/dpkg-lockwait -r fink-buildlock-liblastfm-mac-dev-0.3.0-2 > (Reading database ... 160432 files and directories currently installed.) > Removing fink-buildlock-liblastfm-mac-dev-0.3.0-2 ... > Failed: phase compiling: liblastfm-mac-dev-0.3.0-2 failed > > --- > "Man has gone out to explore other worlds and other civilizations without > having explored his own labyrinth of dark passages and secret chambers, and > without finding what lies behind doorways that he himself has sealed." > --Stanislaw Lem, Solaris >
I can confirm this on 10.6.3/x86_64 (Xcode 3.2.2). It built for me on 10.6.3/i386. It also built for me on 10.5.8/PowerPC and i386 (Xcode 3.1.4). -- Alexander K. Hansen akh AT finkproject DOT org Fink User Liaison and Documenter ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Fink-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fink-users
