Weiß jemand wie cross-compiling geht? Weil mein anderer Threat schon so lang ist, hab ich jetzt diesen hier aufgemacht. Es geht um dvb-c an einem openwrt-router. Weil es von tvheadend mittlerweile eine Version 3.9 gibt will ich die für openwrt kompilieren. Leider findet er die Bibliotheken aber nicht.
QuoteDisplay MoreChecking support/features
checking for cc execinfo.h ... ok
checking for cc -mmmx ... ok
checking for cc -msse2 ... ok
checking for cc getloadavg ... ok
checking for cc atomic64 ... ok
checking for cc lockowner ... ok
checking for py module gzip ... ok
checking for bzip2 ... ok
checking for pkg openssl ... --define-variable argument does not have a value for the variable
fail
checking for pkg libssl ... --define-variable argument does not have a value for the variable
fail
ERROR: SSL development support not found
Ganz bestimmt muss ich irgendeine Umgebungsvariable setzen. Hab schon ganz viele gesetzt:
export AR=/mnt/openwrt-container/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/bin/mips-openwrt-linux-uclibc-ar
export AS=/mnt/openwrt-container/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/bin/mips-openwrt-linux-uclibc-as
export LD=/mnt/openwrt-container/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/bin/mips-openwrt-linux-uclibc-ld
export NM=/mnt/openwrt-container/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/bin/mips-openwrt-linux-uclibc-nm
export CC=mips-openwrt-linux-uclibc-gcc
export CPP=mips-openwrt-linux-uclibc-cpp
export GCC=mips-openwrt-linux-uclibc-gcc
export CXX=mips-openwrt-linux-uclibc-g++
export RANLIB=mips-openwrt-linux-uclibc-ranlib
export LDFLAGS="-static"
export CFLAGS="-Os -s"
export PATH=/mnt/openwrt-container/openwrt/staging_dir/host/bin:/mnt/openwrt-container/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/bin:$PATH
export STAGING_DIR=/mnt/openwrt-container/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2
Display More
Weiß jemand welche ich vergessen haben könnte oder welche eventuell falsch ist? Hab noch nie cross-kompiliert. Natürlich hab ich im openwrt-Forum gefragt. Aber wie üblich antwortet da niemand. Einzig das dortige Wiki gibt hinweise wie das Buildroot benutzt wird. Hab auch alles so gemacht wie es da steht. Hab aber leider trotzdem Probleme. OpenSSL ist in diesem Buildroot vorhanden (und SSL bestimmt auch). Wenn ich die komplette Firmware mittels Menüführung kompilieren will, wird auch alles gefunden. Ich weiß halt nicht wie deren Automatik funktioniert. Ich will ja diesmal ein einziges Programm manuell kompilieren.