[PySide] Shiboken build failed

Srini Kommoori vasure at gmail.com
Sun Feb 17 16:03:58 CET 2013


Error is from QtCore/qatomic_armv5.h - implies coming off of main Qt
package. Were you able to build standalone Qt?


On Fri, Feb 15, 2013 at 10:12 PM, david <david at wireplant.com> wrote:

> 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
>
>
> _______________________________________________
> PySide mailing list
> PySide at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/pyside
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/pyside/attachments/20130217/5072fa8c/attachment.html>


More information about the PySide mailing list