Milí majitelé routerů Turris,
toto fórum bylo 9. 12. 2016 zmrazeno a nahrazeno naším novým Turris fórem. Ještě chvíli bude dostupné k prohlížení, ale již zde není možné přispívat. Více informací naleznete v oznámení o uzavření fóra.
Dear Turris routers users,
this forum has been frozen on Dec 9th, 2016 and replaced by our new Turris forum. It will be read-only accessible for some time after. For more information, read the announcement about closing the forum.
git clone https://gitlab.labs.nic.cz/turris/openwrt.git
make menuconfig
package
make
v kořenovém adresářibin/mpc85xx/packages
make
proběhne, výstup zde: make[1] world
make[2] package/compile
make[2] package/index
make
vůbec neřeší, co je v ./package za adresáře. Co musím udělat proto, aby se make
zabýval adresářy se zdrojovými kódy v ./package/?
git clone http://git.openwrt.org/packages.git
tar xjvf ~/openwrt/OpenWrt-SDK-mpc85xx-for-pc-x86_64-gcc-4.6-linaro_uClibc-0.9.33.2.tar.bz2
cd OpenWrt-SDK-mpc85xx-for-pc-x86_64-gcc-4.6-linaro_uClibc-0.9.33.2/
cp -rv ../packages/net/prosody package/
cd ..
git clone https://gitlab.labs.nic.cz/turris/openwrt.git
cd -
cp -rv ../openwrt/package/utils/lua package/
cp -rv ../packages/libs/libidn/ package/
vim package/prosody/Makefile #uprava zavislosti
make
martin@martin-VirtualBox:~/openwrt/OpenWrt-SDK-mpc85xx-for-pc-x86_64-gcc-4.6-linaro_uClibc-0.9.33.2$ make
/home/martin/openwrt/OpenWrt-SDK-mpc85xx-for-pc-x86_64-gcc-4.6-linaro_uClibc-0.9.33.2/staging_dir/host/bin/find: 1: /home/martin/openwrt/OpenWrt-SDK-mpc85xx-for-pc-x86_64-gcc-4.6-linaro_uClibc-0.9.33.2/staging_dir/host/bin/find: ELF: not found
/home/martin/openwrt/OpenWrt-SDK-mpc85xx-for-pc-x86_64-gcc-4.6-linaro_uClibc-0.9.33.2/staging_dir/host/bin/find: 2: /home/martin/openwrt/OpenWrt-SDK-mpc85xx-for-pc-x86_64-gcc-4.6-linaro_uClibc-0.9.33.2/staging_dir/host/bin/find: Syntax error: "(" unexpected
/home/martin/openwrt/OpenWrt-SDK-mpc85xx-for-pc-x86_64-gcc-4.6-linaro_uClibc-0.9.33.2/staging_dir/host/bin/find: 1: /home/martin/openwrt/OpenWrt-SDK-mpc85xx-for-pc-x86_64-gcc-4.6-linaro_uClibc-0.9.33.2/staging_dir/host/bin/find: ELF: not found
/home/martin/openwrt/OpenWrt-SDK-mpc85xx-for-pc-x86_64-gcc-4.6-linaro_uClibc-0.9.33.2/staging_dir/host/bin/find: 2: /home/martin/openwrt/OpenWrt-SDK-mpc85xx-for-pc-x86_64-gcc-4.6-linaro_uClibc-0.9.33.2/staging_dir/host/bin/find: Syntax error: "(" unexpected
Checking 'working-make'... ok.
Checking 'case-sensitive-fs'... ok.
Checking 'getopt'... ok.
Checking 'fileutils'... ok.
Checking 'working-gcc'... ok.
Checking 'working-g++'... ok.
Checking 'ncurses'... ok.
Checking 'zlib'... ok.
Checking 'gawk'... ok.
Checking 'unzip'... ok.
Checking 'bzip2'... ok.
Checking 'perl'... ok.
Checking '/usr/bin/python2.7'... ok.
Checking 'wget'... ok.
Checking 'git'... ok.
Checking 'gnutar'... ok.
Checking 'svn'... ok.
Checking 'openssl'... ok.
Checking 'gnu-find'... failed.
Checking 'getopt-extended'... ok.
Checking 'non-root'... ok.
Build dependency: Please install GNU find
Prerequisite check failed. Use FORCE=1 to override.
make[1]: *** [tmp/.prereq-build] Error 1
make: *** [world] Error 2
martin@martin-VirtualBox:~/openwrt/OpenWrt-SDK-mpc85xx-for-pc-x86_64-gcc-4.6-linaro_uClibc-0.9.33.2$
findutils
tam je...sudo make clean
> /home/martin/openwrt/OpenWrt-SDK-mpc85xx-for-pc-x86_64-gcc-4.6-linaro_uClibc-0.9.33.2/staging_dir/host/bin/find: 1: /home/martin/openwrt/OpenWrt-SDK-mpc85xx-for-pc-x86_64-gcc-4.6-linaro_uClibc-0.9.33.2/staging_dir/host/bin/find: ELF: not found
$ make
make[1] world
make[2] package/compile
make[3] -C package/libusb compile
make[3] -C package/rtl-sdr compile
make[3] -C package/dump1090 compile
make[2] -C package/dump1090 compile
make[2] package/index
# opkg info dump1090
Package: dump1090
Version: 2013-02-04
Depends: libc, libpthread, librtlsdr
Status: unknown ok not-installed
Section: utils
Architecture: mpc85xx
Maintainer: Nuno Goncalves <nunojpg@gmail.com>
MD5Sum: f195068b1b59cfe868fe1a72e6368f36
Size: 25247
Filename: dump1090_2013-02-04_mpc85xx.ipk
Source: package/packages/utils/dump1090
Description: Dump1090 is a Mode S decoder specifically designed for RTLSDR devices.
Embedded HTTP server that displays the currently detected aircrafts on
Google Maps. Network output in Basestation and AVR formats.
# opkg info dump1090
Package: dump1090
Version: 2014-11-09
Depends: libc, libpthread, librtlsdr
Status: install user installed
Architecture: mpc85xx
Installed-Time: 1428581629
> P.S.: dělám to na ubuntu 14.04, 32-bit ve virtualboxu...
cp configs/turris-turris-nand .config
make defconfig
nebo make menuconfig
a mělo by to fungovat. Jinak repozitář s OpenWrt má ještě pár submodulů, takže se ujistěte, že jste vyklonoval i ty. Zrada pak ještě občas číhá v tom, že je nutné mít balíček označený (M nebo * v menuconfigu), aby se vytvářel .ipk soubor.
Powered by mwForum 2.29.3 © 1999-2013 Markus Wichitill