• [^] # Re: qemu-armel ?

    Posté par . En réponse au message Apt-cross et dépendances. Évalué à 1.

    Voici ce que donne la compilation :


    root@debian:~/qemu/squeeze# arm-linux-gnueabi-g++ hello.cpp -Imount/usr/include/qt4 -Imount/usr/include/qt4/QtCore/ -Imount/usr/include/linux -Imount/usr/include -Imount/usr/include
    In file included from mount/usr/include/sys/types.h:220,
    from mount/usr/include/stdlib.h:320,
    from mount/usr/include/qt4/QtCore/qvector.h:54,
    from mount/usr/include/qt4/QtCore/qxmlstream.h:50,
    from mount/usr/include/qt4/QtCore/QtCore:3,
    from hello.cpp:2:
    mount/usr/include/sys/select.h:93:1: warning: "FD_SET" redefined
    In file included from mount/usr/include/pthread.h:26,
    from /usr/arm-linux-gnueabi/include/c++/4.3.2/arm-linux-gnueabi/bits/gthr-default.h:43,
    from /usr/arm-linux-gnueabi/include/c++/4.3.2/arm-linux-gnueabi/bits/gthr.h:132,
    from /usr/arm-linux-gnueabi/include/c++/4.3.2/ext/atomicity.h:39,
    from /usr/arm-linux-gnueabi/include/c++/4.3.2/bits/ios_base.h:46,
    from /usr/arm-linux-gnueabi/include/c++/4.3.2/ios:48,
    from /usr/arm-linux-gnueabi/include/c++/4.3.2/ostream:45,
    from /usr/arm-linux-gnueabi/include/c++/4.3.2/iostream:45,
    from hello.cpp:1:
    mount/usr/include/linux/time.h:29:1: warning: this is the location of the previous definition
    In file included from mount/usr/include/sys/types.h:220,
    from mount/usr/include/stdlib.h:320,
    from mount/usr/include/qt4/QtCore/qvector.h:54,
    from mount/usr/include/qt4/QtCore/qxmlstream.h:50,
    from mount/usr/include/qt4/QtCore/QtCore:3,
    from hello.cpp:2:
    mount/usr/include/sys/select.h:94:1: warning: "FD_CLR" redefined
    In file included from mount/usr/include/pthread.h:26,
    from /usr/arm-linux-gnueabi/include/c++/4.3.2/arm-linux-gnueabi/bits/gthr-default.h:43,
    from /usr/arm-linux-gnueabi/include/c++/4.3.2/arm-linux-gnueabi/bits/gthr.h:132,
    from /usr/arm-linux-gnueabi/include/c++/4.3.2/ext/atomicity.h:39,
    from /usr/arm-linux-gnueabi/include/c++/4.3.2/bits/ios_base.h:46,
    from /usr/arm-linux-gnueabi/include/c++/4.3.2/ios:48,
    from /usr/arm-linux-gnueabi/include/c++/4.3.2/ostream:45,
    from /usr/arm-linux-gnueabi/include/c++/4.3.2/iostream:45,
    from hello.cpp:1:
    mount/usr/include/linux/time.h:30:1: warning: this is the location of the previous definition
    In file included from mount/usr/include/sys/types.h:220,
    from mount/usr/include/stdlib.h:320,
    from mount/usr/include/qt4/QtCore/qvector.h:54,
    from mount/usr/include/qt4/QtCore/qxmlstream.h:50,
    from mount/usr/include/qt4/QtCore/QtCore:3,
    from hello.cpp:2:
    mount/usr/include/sys/select.h:95:1: warning: "FD_ISSET" redefined
    In file included from mount/usr/include/pthread.h:26,
    from /usr/arm-linux-gnueabi/include/c++/4.3.2/arm-linux-gnueabi/bits/gthr-default.h:43,
    from /usr/arm-linux-gnueabi/include/c++/4.3.2/arm-linux-gnueabi/bits/gthr.h:132,
    from /usr/arm-linux-gnueabi/include/c++/4.3.2/ext/atomicity.h:39,
    from /usr/arm-linux-gnueabi/include/c++/4.3.2/bits/ios_base.h:46,
    from /usr/arm-linux-gnueabi/include/c++/4.3.2/ios:48,
    from /usr/arm-linux-gnueabi/include/c++/4.3.2/ostream:45,
    from /usr/arm-linux-gnueabi/include/c++/4.3.2/iostream:45,
    from hello.cpp:1:
    mount/usr/include/linux/time.h:31:1: warning: this is the location of the previous definition
    In file included from mount/usr/include/sys/types.h:220,
    from mount/usr/include/stdlib.h:320,
    from mount/usr/include/qt4/QtCore/qvector.h:54,
    from mount/usr/include/qt4/QtCore/qxmlstream.h:50,
    from mount/usr/include/qt4/QtCore/QtCore:3,
    from hello.cpp:2:
    mount/usr/include/sys/select.h:96:1: warning: "FD_ZERO" redefined
    In file included from mount/usr/include/pthread.h:26,
    from /usr/arm-linux-gnueabi/include/c++/4.3.2/arm-linux-gnueabi/bits/gthr-default.h:43,
    from /usr/arm-linux-gnueabi/include/c++/4.3.2/arm-linux-gnueabi/bits/gthr.h:132,
    from /usr/arm-linux-gnueabi/include/c++/4.3.2/ext/atomicity.h:39,
    from /usr/arm-linux-gnueabi/include/c++/4.3.2/bits/ios_base.h:46,
    from /usr/arm-linux-gnueabi/include/c++/4.3.2/ios:48,
    from /usr/arm-linux-gnueabi/include/c++/4.3.2/ostream:45,
    from /usr/arm-linux-gnueabi/include/c++/4.3.2/iostream:45,
    from hello.cpp:1:
    mount/usr/include/linux/time.h:32:1: warning: this is the location of the previous definition
    In file included from /usr/arm-linux-gnueabi/include/c++/4.3.2/arm-linux-gnueabi/bits/gthr-default.h:43,
    from /usr/arm-linux-gnueabi/include/c++/4.3.2/arm-linux-gnueabi/bits/gthr.h:132,
    from /usr/arm-linux-gnueabi/include/c++/4.3.2/ext/atomicity.h:39,
    from /usr/arm-linux-gnueabi/include/c++/4.3.2/bits/ios_base.h:46,
    from /usr/arm-linux-gnueabi/include/c++/4.3.2/ios:48,
    from /usr/arm-linux-gnueabi/include/c++/4.3.2/ostream:45,
    from /usr/arm-linux-gnueabi/include/c++/4.3.2/iostream:45,
    from hello.cpp:1:
    mount/usr/include/pthread.h:392: error: expected â,â or â...â before â*â token
    mount/usr/include/pthread.h:393: error: nonnull argument references non-pointer operand (argument 1, operand 3)
    mount/usr/include/pthread.h:399: error: âcpu_set_tâ has not been declared
    mount/usr/include/pthread.h:449: error: expected â,â or â...â before â*â token
    mount/usr/include/pthread.h:450: error: nonnull argument references non-pointer operand (argument 1, operand 3)
    mount/usr/include/pthread.h:454: error: âcpu_set_tâ has not been declared
    In file included from mount/usr/include/qt4/QtCore/qstring.h:46,
    from mount/usr/include/qt4/QtCore/qobject.h:48,
    from mount/usr/include/qt4/QtCore/qiodevice.h:46,
    from mount/usr/include/qt4/QtCore/qxmlstream.h:45,
    from mount/usr/include/qt4/QtCore/QtCore:3,
    from hello.cpp:2:
    mount/usr/include/qt4/QtCore/qbytearray.h: In function âuint qstrlen(const char*)â:
    mount/usr/include/qt4/QtCore/qbytearray.h:68: error: âstrlenâ was not declared in this scope
    mount/usr/include/qt4/QtCore/qbytearray.h: In function âint qstrncmp(const char*, const char*, uint)â:
    mount/usr/include/qt4/QtCore/qbytearray.h:91: error: âstrncmpâ was not declared in this scope
    mount/usr/include/qt4/QtCore/qbytearray.h: In function âbool operator==(const QByteArray&, const QByteArray&)â:
    mount/usr/include/qt4/QtCore/qbytearray.h:509: error: âmemcmpâ was not declared in this scope
    In file included from mount/usr/include/sys/types.h:220,
    from mount/usr/include/stdlib.h:320,
    from mount/usr/include/qt4/QtCore/qvector.h:54,
    from mount/usr/include/qt4/QtCore/qxmlstream.h:50,
    from mount/usr/include/qt4/QtCore/QtCore:3,
    from hello.cpp:2:
    mount/usr/include/sys/select.h: At global scope:
    mount/usr/include/sys/select.h:38: error: conflicting declaration âtypedef struct __sigset_t sigset_tâ
    mount/usr/include/asm/signal.h:12: error: âsigset_tâ has a previous declaration as âtypedef long unsigned int sigset_tâ
    In file included from mount/usr/include/sys/select.h:46,
    from mount/usr/include/sys/types.h:220,
    from mount/usr/include/stdlib.h:320,
    from mount/usr/include/qt4/QtCore/qvector.h:54,
    from mount/usr/include/qt4/QtCore/qxmlstream.h:50,
    from mount/usr/include/qt4/QtCore/QtCore:3,
    from hello.cpp:2:
    mount/usr/include/bits/time.h:69: error: redefinition of âstruct timevalâ
    mount/usr/include/linux/time.h:15: error: previous definition of âstruct timevalâ
    In file included from mount/usr/include/qt4/QtCore/qxmlstream.h:50,
    from mount/usr/include/qt4/QtCore/QtCore:3,
    from hello.cpp:2:
    mount/usr/include/qt4/QtCore/qvector.h: In member function âvoid QVector::realloc(int, int)â:
    mount/usr/include/qt4/QtCore/qvector.h:473: error: â::memcpyâ has not been declared
    In file included from mount/usr/include/qt4/QtCore/qdebug.h:54,
    from mount/usr/include/qt4/QtCore/QtCore:14,
    from hello.cpp:2:
    mount/usr/include/qt4/QtCore/qcontiguouscache.h: In member function âbool QContiguousCache::areIndexesValid() constâ:
    mount/usr/include/qt4/QtCore/qcontiguouscache.h:150: error: âINT_MAXâ was not declared in this scope
    mount/usr/include/qt4/QtCore/qcontiguouscache.h: In member function âvoid QContiguousCache::insert(int, const T&)â:
    mount/usr/include/qt4/QtCore/qcontiguouscache.h:380: error: âINT_MAXâ was not declared in this scope
    In file included from mount/usr/include/qt4/QtCore/QtCore:65,
    from hello.cpp:2:
    mount/usr/include/qt4/QtCore/qstringbuilder.h: In static member function âstatic void QConcatenable::appendTo(const QString&, QChar*&)â:
    mount/usr/include/qt4/QtCore/qstringbuilder.h:190: error: âmemcpyâ was not declared in this scope
    mount/usr/include/qt4/QtCore/qstringbuilder.h: In static member function âstatic void QConcatenable::appendTo(QStringRef, QChar*&)â:
    mount/usr/include/qt4/QtCore/qstringbuilder.h:202: error: âmemcpyâ was not declared in this scope
    In file included from mount/usr/include/qt4/QtCore/QtCore:77,
    from hello.cpp:2:
    mount/usr/include/qt4/QtCore/qthread.h: At global scope:
    mount/usr/include/qt4/QtCore/qthread.h:102: error: âULONG_MAXâ was not declared in this scope
    In file included from mount/usr/include/qt4/QtCore/QtCore:79,
    from hello.cpp:2:
    mount/usr/include/qt4/QtCore/qwaitcondition.h:67: error: âULONG_MAXâ was not declared in this scope
    mount/usr/include/qt4/QtCore/qwaitcondition.h:68: error: âULONG_MAXâ was not declared in this scope
    mount/usr/include/qt4/QtCore/qlist.h: In member function âvoid QList::node_copy(QList::Node*, QList::Node*, QList::Node*) [with T = QString]â:
    mount/usr/include/qt4/QtCore/qlist.h:706: instantiated from âQList& QList::operator+=(const QList&) [with T = QString]â
    mount/usr/include/qt4/QtCore/qstringlist.h:85: instantiated from here
    mount/usr/include/qt4/QtCore/qlist.h:394: error: âmemcpyâ was not declared in this scope
    mount/usr/include/qt4/QtCore/qlist.h: In member function âvoid QList::node_copy(QList::Node*, QList::Node*, QList::Node*) [with T = QVariant]â:
    mount/usr/include/qt4/QtCore/qlist.h:606: instantiated from âvoid QList::detach_helper() [with T = QVariant]â
    mount/usr/include/qt4/QtCore/qlist.h:114: instantiated from âQList::QList(const QList&) [with T = QVariant]â
    mount/usr/include/qt4/QtCore/qstatemachine.h:82: instantiated from here
    mount/usr/include/qt4/QtCore/qlist.h:394: error: âmemcpyâ was not declared in this scope