Hirdetés

Új hozzászólás Aktív témák

  • The DJ

    addikt

    Nagy fába vágtam a fejszémet... crosscompile.

    Egy Debian 6-os virtuális gépen szeretném a PtokaX-et és a függőségét, a TinyXML-t lefordítani a TP-LINK WR1043ND routeremre.

    Van egy ilyen frankó kis leírásom hozzá: [link]

    Minden jól is ment, az Openwrt buildroot és a függőségei fenn vannak, a PATH, a CC és LD változók beállítva a megfelelő könyvtárra. Kicsomagolva a TinyXML a PtokaX könyvtárába, kiadom a make CC=mips-openwrt-linux-uclibc-gcc LD=mips-openwrt-linux-uclibc-ld parancsot, elindul, aminek el kell, azonban ezzel találom szembe magam pár másodperccel később:

    helomi@debian:~/openwrt/trunk/PtokaX/tinyxml$ make CC=mips-openwrt-linux-uclibc-gcc LD=mips-openwrt-linux-uclibc-ld
    g++ -c -Wall -Wno-unknown-pragmas -Wno-format -O3 tinyxml.cpp -o tinyxml.o
    g++ -c -Wall -Wno-unknown-pragmas -Wno-format -O3 xmltest.cpp -o xmltest.o
    g++ -c -Wall -Wno-unknown-pragmas -Wno-format -O3 tinystr.cpp -o tinystr.o
    mips-openwrt-linux-uclibc-ld -o xmltest tinyxml.o tinyxmlparser.o xmltest.o tinyxmlerror.o tinystr.o
    mips-openwrt-linux-uclibc-ld: tinyxml.o: Relocations in generic ELF (EM: 62)
    mips-openwrt-linux-uclibc-ld: tinyxml.o: Relocations in generic ELF (EM: 62)
    mips-openwrt-linux-uclibc-ld: tinyxml.o: Relocations in generic ELF (EM: 62)
    mips-openwrt-linux-uclibc-ld: tinyxml.o: Relocations in generic ELF (EM: 62)
    mips-openwrt-linux-uclibc-ld: tinyxml.o: Relocations in generic ELF (EM: 62)
    mips-openwrt-linux-uclibc-ld: tinyxml.o: Relocations in generic ELF (EM: 62)
    mips-openwrt-linux-uclibc-ld: tinyxml.o: Relocations in generic ELF (EM: 62)
    mips-openwrt-linux-uclibc-ld: tinyxml.o: Relocations in generic ELF (EM: 62)
    mips-openwrt-linux-uclibc-ld: tinyxml.o: Relocations in generic ELF (EM: 62)
    mips-openwrt-linux-uclibc-ld: tinyxml.o: Relocations in generic ELF (EM: 62)
    mips-openwrt-linux-uclibc-ld: tinyxml.o: Relocations in generic ELF (EM: 62)
    mips-openwrt-linux-uclibc-ld: tinyxml.o: Relocations in generic ELF (EM: 62)
    mips-openwrt-linux-uclibc-ld: tinyxml.o: Relocations in generic ELF (EM: 62)
    mips-openwrt-linux-uclibc-ld: tinyxml.o: Relocations in generic ELF (EM: 62)
    mips-openwrt-linux-uclibc-ld: tinyxml.o: Relocations in generic ELF (EM: 62)
    mips-openwrt-linux-uclibc-ld: tinyxml.o: Relocations in generic ELF (EM: 62)
    mips-openwrt-linux-uclibc-ld: tinyxml.o: Relocations in generic ELF (EM: 62)
    mips-openwrt-linux-uclibc-ld: tinyxml.o: Relocations in generic ELF (EM: 62)
    mips-openwrt-linux-uclibc-ld: tinyxml.o: Relocations in generic ELF (EM: 62)
    mips-openwrt-linux-uclibc-ld: tinyxml.o: Relocations in generic ELF (EM: 62)
    mips-openwrt-linux-uclibc-ld: tinyxml.o: Relocations in generic ELF (EM: 62)
    mips-openwrt-linux-uclibc-ld: tinyxml.o: Relocations in generic ELF (EM: 62)
    mips-openwrt-linux-uclibc-ld: tinyxml.o: Relocations in generic ELF (EM: 62)
    mips-openwrt-linux-uclibc-ld: tinyxml.o: Relocations in generic ELF (EM: 62)
    mips-openwrt-linux-uclibc-ld: tinyxml.o: Relocations in generic ELF (EM: 62)
    mips-openwrt-linux-uclibc-ld: tinyxml.o: Relocations in generic ELF (EM: 62)
    mips-openwrt-linux-uclibc-ld: tinyxml.o: Relocations in generic ELF (EM: 62)
    mips-openwrt-linux-uclibc-ld: tinyxml.o: Relocations in generic ELF (EM: 62)
    mips-openwrt-linux-uclibc-ld: tinyxml.o: Relocations in generic ELF (EM: 62)
    mips-openwrt-linux-uclibc-ld: tinyxml.o: Relocations in generic ELF (EM: 62)
    mips-openwrt-linux-uclibc-ld: tinyxml.o: Relocations in generic ELF (EM: 62)
    mips-openwrt-linux-uclibc-ld: tinyxml.o: Relocations in generic ELF (EM: 62)
    mips-openwrt-linux-uclibc-ld: tinyxml.o: Relocations in generic ELF (EM: 62)
    mips-openwrt-linux-uclibc-ld: tinyxml.o: Relocations in generic ELF (EM: 62)
    mips-openwrt-linux-uclibc-ld: tinyxml.o: Relocations in generic ELF (EM: 62)
    tinyxml.o: could not read symbols: File in wrong format
    make: *** [xmltest] Error 1
    helomi@debian:~/openwrt/trunk/PtokaX/tinyxml$

    Próbáltam segítséget kérni a google-től, de nem igazán lettem okosabb. Biztos vannak itt olyan szakik, akik jártasabbak a dologban, szóval, ha bármi hasznos tanácsotok lenne, akkor ne tartsátok magatokban. :R

Új hozzászólás Aktív témák