[PySide] Shiboken build failed

david david at wireplant.com
Sat Feb 16 07:12:14 CET 2013


I'm attempting to cross compile PySide for a mini6410 ARM11 SBC, but I'm
running into an error compiling Shiboken.

cmake output:

david at devbox:~/Downloads/shiboken-1.1.2$ cmake .
-- 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
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - not found.
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - found
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found.
-- Found Qt-Version 4.8.4 (using /usr/local/bin/qmake)
-- Found PythonLibs: /usr/lib/libpython2.6.so
-- Found LibXml2: /usr/lib/libxml2.so
-- checking for module 'libxslt'
--   found libxslt, version 1.1.26
-- Found LibXslt: /usr/lib/libxslt.so
-- sphinx-build - not found! doc target disabled
-- Tests will be generated using the protected hack!
-- Found PythonInterp: /usr/bin/python2.6
-- Configuring done
-- Generating done
-- Build files have been written to: /home/david/Downloads/shiboken-1.1.2

make output:
david at devbox:~/Downloads/shiboken-1.1.2$ make CROSS_COMPILE=/opt/FriendlyARM/toolschain/4.5.1/bin/arm-none-linux-gnueabi-
[  1%] Generating qrc_generator.cxx
[  1%] Building CXX object ApiExtractor/CMakeFiles/apiextractor.dir/apiextractor.cpp.o
In file included from /usr/local/include/QtCore/qatomic_arm.h:70,
                 from /usr/local/include/QtCore/qatomic_arch.h:56,
                 from /usr/local/include/QtCore/qbasicatomic.h:227,
                 from /usr/local/include/QtCore/qatomic.h:46,
                 from /usr/local/include/QtCore/qhash.h:45,
                 from /usr/local/include/QtCore/QHash:1,
                 from /home/david/Downloads/shiboken-1.1.2/ApiExtractor/typesystem.h:27,
                 from /home/david/Downloads/shiboken-1.1.2/ApiExtractor/abstractmetalang.h:27,
                 from /home/david/Downloads/shiboken-1.1.2/ApiExtractor/apiextractor.h:28,
                 from /home/david/Downloads/shiboken-1.1.2/ApiExtractor/apiextractor.cpp:24:
/usr/local/include/QtCore/qatomic_armv5.h: In member function .int QBasicAtomicInt::fetchAndStoreOrdered(int).:
/usr/local/include/QtCore/qatomic_armv5.h:236: error: .count. was not declared in this scope
/usr/local/include/QtCore/qatomic_armv5.h: In member function .T* QBasicAtomicPointer<T>::fetchAndStoreOrdered(T*).:
/usr/local/include/QtCore/qatomic_armv5.h:373: error: .count. was not declared in this scope
make[2]: *** [ApiExtractor/CMakeFiles/apiextractor.dir/apiextractor.cpp.o] Error 1
make[1]: *** [ApiExtractor/CMakeFiles/apiextractor.dir/all] Error 2
make: *** [all] Error 2





More information about the PySide mailing list