On Thursday 25 March 2010 19:44:29 CeDeROM wrote: > Hello again! > > Here goes the report on building PySide on the FreeBSD platrofm with > no patches required: > apiextractor-0.4.0: OK > generatorrunner-0.4.0: OK > shiboken-0.2.0: OK (I assume this is equal to the current GIT > repository from yesterday?) > > However I have problems building the pyside-qt4.6+0.3.0 (is this equal > to pyside-shiboken??) - below is the full build log: > > > cd# tar -xjf pyside-qt4.6+0.3.0.tar.bz2 > cd# cd pyside-qt4.6+0.3.0 > cd# cmake CMakeLists.txt > -- The C compiler identification is GNU > -- The CXX compiler identification is GNU > -- Check for working C compiler: /usr/bin/gcc > -- Check for working C compiler: /usr/bin/gcc -- works > -- Detecting C compiler ABI info > -- Detecting C compiler ABI info - done > -- Check for working CXX compiler: /usr/bin/c++ > -- Check for working CXX compiler: /usr/bin/c++ -- works > -- Detecting CXX compiler ABI info > -- Detecting CXX compiler ABI info - done > -- Found PythonLibs: /usr/local/lib/libpython2.6.so > -- Found PythonInterp: /usr/local/bin/python > -- Looking for Q_WS_X11 > -- Looking for Q_WS_X11 - found > -- Looking for Q_WS_WIN > -- Looking for Q_WS_WIN - not found. > -- Looking for Q_WS_QWS > -- Looking for Q_WS_QWS - not found. > -- Looking for Q_WS_MAC > -- Looking for Q_WS_MAC - not found. > -- Found Qt-Version 4.5.2 (using /usr/local/bin/qmake-qt4) > -- Looking for _POSIX_TIMERS > -- Looking for _POSIX_TIMERS - found > -- Testing support to GtkStyle -- enabled > -- Testing support to SystemTray -- enabled > -- Testing support to PrintDialog Support -- enabled > -- Testing support to PrintPreview Support -- enabled > -- Testing support to PrintPreviewDialog Support -- enabled > -- Testing support to Printer Support -- enabled > -- Testing support to SizeGrip Support -- enabled > -- Configuring done > -- Generating done > -- Build files have been written to: /temp/pyside/pyside-qt4.6+0.3.0 > cd# make > Scanning dependencies of target pyside > [ 0%] Building CXX object > libpyside/CMakeFiles/pyside.dir/dynamicqmetaobject.cpp.o > c++: -O1: linker input file unused because linking not done > c++: --hash-style=gnu: linker input file unused because linking not done > [ 0%] Building CXX object > libpyside/CMakeFiles/pyside.dir/signalmanager.cpp.o c++: -O1: linker input > file unused because linking not done
This problem seems to be related with the compiler flags we are using. Try to remove/comment the line #7 of CMakeLists.txt and try again. The line contents is: set(CMAKE_CXX_FLAGS_RELEASE "-Wall -DNDEBUG -Os -Wl,-O1 -Wl,--hash-style=gnu - Wno-strict-aliasing -fvisibility=hidden") > c++: --hash-style=gnu: linker input file unused because linking not done > [ 1%] Building CXX object > libpyside/CMakeFiles/pyside.dir/globalreceiver.cpp.o c++: -O1: linker > input file unused because linking not done > c++: --hash-style=gnu: linker input file unused because linking not done > Linking CXX shared library libpyside.so > /usr/bin/ld: unrecognized option '--hash-style=gnu' > /usr/bin/ld: use the --help option for usage information > *** Error code 1 > > Stop in /temp/pyside/pyside-qt4.6+0.3.0. > *** Error code 1 > > Stop in /temp/pyside/pyside-qt4.6+0.3.0. > *** Error code 1 > > Stop in /temp/pyside/pyside-qt4.6+0.3.0. > cd# ld -v > GNU ld version 2.15 [FreeBSD] 2004-05-23 > > > Please advise, > Tomek Cedro -- Hugo Parente Lima INdT - Instituto Nokia de Tecnologia
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ PySide mailing list [email protected] http://lists.openbossa.org/listinfo/pyside
