Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. International
  3. Spanish
  4. Compilacion cruzada con Raspberry Pi

Compilacion cruzada con Raspberry Pi

Scheduled Pinned Locked Moved Spanish
1 Posts 1 Posters 1.9k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    haotenks
    wrote on last edited by
    #1

    Hola, buen dia,

    Resulta que tengo que hacer compilación cruzada con la Raspberry Pi y bueno ,he seguido este tutorial: http://www.ics.com/blog/building-qt-5-raspberry-pi#.Uw9UDN_Jlk_ el cual se ve muy bien explicado, hago todos los pasos al pie de la letra pero he llegado a un punto en el que ya no he podido pasar, se trata de el momento en que aplico el "./configure <<muchas opciones aqui>>" del gtbase, esto es lo que pasa:

    Aplico:
    /home/desarrollo/raspberry/qt-everywhere-opensource-src-5.0.2/qtbase$ ./configure
    -release
    -opengl es2
    -optimized-qmake
    -no-pch
    -make libs
    -make tools
    -reduce-relocations
    -reduce-exports
    -sysroot /mnt/raspberry-rootfs
    -device linux-rasp-pi-g++
    -device-option CROSS_COMPILE=/home/desarrollo/raspberry/gcc-4.7-linaro-rpi-gnueabihf/bin/arm-linux-gnueabihf-
    -prefix /usr/local/Qt-5.0.2-raspberry

    y el resultado que me sale es:

    Precompiled-headers support enabled.
    /home/desarrollo/opt/gcc-4.7-linaro-rpi-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -fvisibility=hidden fvisibility.c
    Symbol visibility control enabled.
    /home/desarrollo/opt/gcc-4.7-linaro-rpi-gnueabihf/bin/arm-linux-gnueabihf-g++ --sysroot=/mnt/rasp-pi-rootfs -o libtest.so -shared -Wl,-Bsymbolic-functions -fPIC bsymbolic_functions.c
    /home/desarrollo/opt/gcc-4.7-linaro-rpi-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/4.7.2/../../../../arm-linux-gnueabihf/bin/ld: cannot find crti.o: No such file or directory
    /home/desarrollo/opt/gcc-4.7-linaro-rpi-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/4.7.2/../../../../arm-linux-gnueabihf/bin/ld: cannot find -lm
    collect2: error: ld returned 1 exit status
    Symbolic function binding disabled.
    -reduce-relocations was requested but this compiler does not support it

    Alguien tiene alguna solucion a esto? :/ la verdad es que soy bastante nuevo en esto de Qt y el cross.. y me está costando un poco jajaja...

    Gracias por su tiempo :)

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved