Temat: 12.09.01

mam własnej kompilacji openwrt, chciałem wgrać transmission z > http://eko.one.pl/?p=openwrt-transmission

Lecz po próbie :

root@OpenWrt:~# opkg install transmission-daemon transmission-web
Unknown package 'transmission-daemon'.
Unknown package 'transmission-web'.
Collected errors:
 * opkg_install_cmd: Cannot install package transmission-daemon.
 * opkg_install_cmd: Cannot install package transmission-web.
root@OpenWrt:~#

Czyżbym nie mógł wgrać z wersji 12.09 ? muszę skompilować właśne razem z zaznaczeniem transmission ?

2

Odp: 12.09.01

W repo x86 nie ma transmission. Sam sobie skompiluj.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

3

Odp: 12.09.01

dobra, ale najpierw to mam problem z zamontowanie hdd :0

http://i57.tinypic.com/m8e6p4.jpg

Gdize mam hdd 20GB, dysk jest pusty chce na niego coś wrzucić a tam 20 pare mb.. !? yikes

4

Odp: 12.09.01

Wykonaj polecenie mount i zobaczysz czy jest czy nie.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

5

Odp: 12.09.01

montowałem tym poleceniem również, ale żeby pokazać że dysk ma 20 GB dałem screena z www. Przez mount jest to samo, 20 pare mb i koniec wolnego miejsca

6

Odp: 12.09.01

Pokaż wynik mount, jeszcze raz napiszę.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

7

Odp: 12.09.01

a! srry żle zrozumiałem ,już daje

root@OpenWrt:~# mount
rootfs on / type rootfs (rw)
/dev/root on / type ext4 (rw,noatime,user_xattr,barrier=1)
none on /proc type proc (rw,noatime)
sysfs on /sys type sysfs (rw,noatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
tmpfs on /dev type tmpfs (rw,noatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,noatime,mode=600)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
none on /proc/bus/usb type usbfs (rw,relatime)

8

Odp: 12.09.01

Ty nie masz przecież żadnego dysku dodatkowego zamontowanego. To co w sambie widzisz to zwykły katalog na tym systemie, nic więcej.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

9

Odp: 12.09.01

nie mam obecnie żadnej samby wgranej, bo wrzuciłem sobie świeży obraz openwrt.
To jak!? nie rozumiem.. gdzie on się podział!? yikes

10

Odp: 12.09.01

Mnie nie pytaj. Nie masz dysku zamontowanego i  tyle. Zrób prawidłowy konfig fstaba (na pewno tam ext3 miałeś?), zamontuj z palca zobacz czy się robi itd.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

11

Odp: 12.09.01

Dobra mam winowajcę, dysk chyba się kończy, bo na pc raz jest raz nie ma. Wiec sprawdzę na innym .Dzięki smile
A żebym miał fdisk -l , bo widzę że też muszę sobie wkompilować to ? fdisk ?

A jak można wkompilować ekg , razem z konfigiem *czyli numerkiem gg,hasłem itp? + to żeby po reboot mi się odrazu włączało ? Na czystym obrazie ? screena bym sobie odrazu tak zrobił + madplaya + config od alsamixer (żebym miał odpowiednią głośność) - jest taka możliwosć?

12

Odp: 12.09.01

Sobie zainstaluj fdisk. Jak chcesz coś swojego wkompilować w obraz to zrób sobie w katalog o nazwie files w źródłach (tam gdzie jest .config) i w nim umieszczaj w katalogach co chcesz. Zostanie to przeniesione później do obrazu jak będziesz to kompilował.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

13

Odp: 12.09.01

znalazłem wreście ekg, screen , mc, transmission. make zostawie na noc akurat smile

Lecz już pytam na zaś, żeby było automatyczne ustawione ekg (z hasłem,numerkiem) muszę dodać do któregoś folderu w opt/packages i gdzieś tam szukać ekg? wtedy tam gotowego configa z działającego openwt(gdzie mam to ustawione) skopiować tam?

14 (edytowany przez build000 2014-04-17 01:12:34)

Odp: 12.09.01

Najprościej to dokompilować potem w tych źródłach pakiet ekg + zależności (jak wymagane) + zainstalować dla obczajenia jak tworzy i gdzie pliki konfiguracyjne i wtedy zagłębić się w make i dodać swoje komendy kopiujące gotową konfigurację w odpowiednie miejsce, a ów wymagany plik konfiguracji wrzucić w katalog źródeł programu. Jaki konfig i gdzie poznasz po zainstalowaniu i ręcznym skonfigurowaniu. Potem jak pisałem odtworzysz sobie ten plik na gotowo przez małą modyfikację make.
Można też bardziej zamulić ten make by zmodyfikował komendami sed defaultowy plik konfiguracyjny, lub jakikolwiek inny, który przechowuje ową konfigurację/lub powstaje na etapie konfiguracji i/lub instalacji.

Celowo tak to napisałem aby uzmysłowić Ci tylko ideę - praktycznie dotyczy każdego innego programu jak grzebiesz w jego źródłach.
Ja bym tak do tego podchodził - zakładam też, że np. w ogóle nie znam danego programu i jestem na etapie poznawania jak się buduje/działa/produkuje odpowiednie pliki konfiguracyjne/i.t.d.

15

Odp: 12.09.01

Maniek19pl napisał/a:

znalazłem wreście ekg, screen , mc, transmission. make zostawie na noc akurat smile

Lecz już pytam na zaś, żeby było automatyczne ustawione ekg (z hasłem,numerkiem) muszę dodać do któregoś folderu w opt/packages i gdzieś tam szukać ekg? wtedy tam gotowego configa z działającego openwt(gdzie mam to ustawione) skopiować tam?

Zainstaluj sobie ekg, skonfiguruj to zobaczysz gdzie umieszcza katalogi. I takie same później masz zrobić u siebie.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

16

Odp: 12.09.01

ahaaa.. przekombinowałem bo dodałem coś z pulseadio deamon itp..

make[3]: *** [/opt/attitude_adjustment/build_dir/target-i386_uClibc-0.9.33.2/pulseaudio-noavahi/pulseaudio-2.1/.configured_] Error 1
make[3]: Leaving directory `/opt/attitude_adjustment/feeds/packages/sound/pulseaudio'
make[2]: *** [package/feeds/packages/pulseaudio/compile] Error 2
make[2]: Leaving directory `/opt/attitude_adjustment'
make[1]: *** [/opt/attitude_adjustment/staging_dir/target-i386_uClibc-0.9.33.2/stamp/.package_compile] Error 2
make[1]: Leaving directory `/opt/attitude_adjustment'
make: *** [world] Błąd 2

A jak wywali z make menuconfig pulseaudio.. chyba nawet 3 są do wyboru, deamon.. i chyba jeszcze 2 inne końcówki)
to mam inny błąd coś że zródeł svn czy jakoś tak : widzę takie coś tutaj : (gdzie korzystałem abym miał stery do głosu)

svn co svn://svn.openwrt.org/openwrt/branches/attitude_adjustment

:0

17

Odp: 12.09.01

Nie kompiluje Ci po prostu pulseaudio. Kilka linii wyżej powinieneś mieć powód takiego zachowania.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

18 (edytowany przez Maniek19pl 2014-04-22 00:11:28)

Odp: 12.09.01

wracam do tematu, bo nie mogę sobie z tym poradzić hmm , kilka linijek wyżej ?
Skopiowałem ile się dało..

../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
configure.ac:221: the top level
configure.ac:248: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2591: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2607: AC_COMPILE_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
configure.ac:248: the top level
configure.ac:288: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2591: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2607: AC_COMPILE_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
configure.ac:288: the top level
configure.ac:426: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2591: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2607: AC_COMPILE_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
configure.ac:426: the top level
configure.ac:444: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
m4/ax_pthread.m4:88: AX_PTHREAD is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
configure.ac:444: the top level
configure.ac:886: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
m4/acx_libwrap.m4:1: ACX_LIBWRAP is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
configure.ac:886: the top level
autoreconf: running: /opt/attitude_adjustment/staging_dir/host/bin/automake --add-missing --force-missing
configure.ac:221: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
configure.ac:221: the top level
configure.ac:248: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2591: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2607: AC_COMPILE_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
configure.ac:248: the top level
configure.ac:288: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2591: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2607: AC_COMPILE_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
configure.ac:288: the top level
configure.ac:426: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2591: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2607: AC_COMPILE_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
configure.ac:426: the top level
configure.ac:444: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
m4/ax_pthread.m4:88: AX_PTHREAD is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
configure.ac:444: the top level
configure.ac:886: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
m4/acx_libwrap.m4:1: ACX_LIBWRAP is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
configure.ac:886: the top level
autoreconf: Leaving directory `.'
(cd /opt/attitude_adjustment/build_dir/target-i386_uClibc-0.9.33.2/pulseaudio-noavahi/pulseaudio-2.1/./; if [ -x ./configure ]; then /usr/bin/find /opt/attitude_adjustment/build_dir/target-i386_uClibc-0.9.33.2/pulseaudio-noavahi/pulseaudio-2.1/ -name config.guess | xargs -r chmod u+w; /usr/bin/find /opt/attitude_adjustment/build_dir/target-i386_uClibc-0.9.33.2/pulseaudio-noavahi/pulseaudio-2.1/ -name config.guess | xargs -r -n1 cp /opt/attitude_adjustment/scripts/config.guess; /usr/bin/find /opt/attitude_adjustment/build_dir/target-i386_uClibc-0.9.33.2/pulseaudio-noavahi/pulseaudio-2.1/ -name config.sub | xargs -r chmod u+w; /usr/bin/find /opt/attitude_adjustment/build_dir/target-i386_uClibc-0.9.33.2/pulseaudio-noavahi/pulseaudio-2.1/ -name config.sub | xargs -r -n1 cp /opt/attitude_adjustment/scripts/config.sub; AR=i486-openwrt-linux-uclibc-ar AS="i486-openwrt-linux-uclibc-gcc -c -O2 -pipe -march=i486 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -I/opt/attitude_adjustment/staging_dir/target-i386_uClibc-0.9.33.2/usr/lib/libiconv-stub/include -I/opt/attitude_adjustment/staging_dir/target-i386_uClibc-0.9.33.2/usr/lib/libintl-stub/include -std=gnu99" LD=i486-openwrt-linux-uclibc-ld NM=i486-openwrt-linux-uclibc-nm CC="i486-openwrt-linux-uclibc-gcc" GCC="i486-openwrt-linux-uclibc-gcc" CXX="i486-openwrt-linux-uclibc-g++" RANLIB=i486-openwrt-linux-uclibc-ranlib STRIP=i486-openwrt-linux-uclibc-strip OBJCOPY=i486-openwrt-linux-uclibc-objcopy OBJDUMP=i486-openwrt-linux-uclibc-objdump SIZE=i486-openwrt-linux-uclibc-size CFLAGS="-O2 -pipe -march=i486 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -I/opt/attitude_adjustment/staging_dir/target-i386_uClibc-0.9.33.2/usr/lib/libiconv-stub/include -I/opt/attitude_adjustment/staging_dir/target-i386_uClibc-0.9.33.2/usr/lib/libintl-stub/include -std=gnu99 " CXXFLAGS="-O2 -pipe -march=i486 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -I/opt/attitude_adjustment/staging_dir/target-i386_uClibc-0.9.33.2/usr/lib/libiconv-stub/include -I/opt/attitude_adjustment/staging_dir/target-i386_uClibc-0.9.33.2/usr/lib/libintl-stub/include -std=gnu99 " CPPFLAGS="-I/opt/attitude_adjustment/staging_dir/target-i386_uClibc-0.9.33.2/usr/include -I/opt/attitude_adjustment/staging_dir/target-i386_uClibc-0.9.33.2/include -I/opt/attitude_adjustment/staging_dir/toolchain-i386_gcc-4.6-linaro_uClibc-0.9.33.2/usr/include -I/opt/attitude_adjustment/staging_dir/toolchain-i386_gcc-4.6-linaro_uClibc-0.9.33.2/include -I/opt/attitude_adjustment/staging_dir/target-i386_uClibc-0.9.33.2/usr/lib/libiconv-stub/include -I/opt/attitude_adjustment/staging_dir/target-i386_uClibc-0.9.33.2/usr/lib/libintl-stub/include " LDFLAGS="-L/opt/attitude_adjustment/staging_dir/target-i386_uClibc-0.9.33.2/usr/lib -L/opt/attitude_adjustment/staging_dir/target-i386_uClibc-0.9.33.2/lib -L/opt/attitude_adjustment/staging_dir/toolchain-i386_gcc-4.6-linaro_uClibc-0.9.33.2/usr/lib -L/opt/attitude_adjustment/staging_dir/toolchain-i386_gcc-4.6-linaro_uClibc-0.9.33.2/lib -L/opt/attitude_adjustment/staging_dir/target-i386_uClibc-0.9.33.2/usr/lib/libiconv-stub/lib -L/opt/attitude_adjustment/staging_dir/target-i386_uClibc-0.9.33.2/usr/lib/libintl-stub/lib "  PKG_CONFIG_LIBDIR="/opt/attitude_adjustment/staging_dir/target-i386_uClibc-0.9.33.2/usr/lib/pkgconfig"  ./configure --target=i486-openwrt-linux --host=i486-openwrt-linux --build=i486-linux-gnu --program-prefix="" --program-suffix="" --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/lib --sysconfdir=/etc --datadir=/usr/share --localstatedir=/var --mandir=/usr/man --infodir=/usr/info --disable-nls   --with-system-user=pulse --with-system-group=pulse --with-access-group=audio --with-database=simple --enable-alsa --disable-hal --disable-gconf --disable-tcpwrap --disable-nls --disable-manpages --enable-oss-output --disable-oss-wrapper --disable-samplerate --disable-per-user-esound-socket --disable-solaris --disable-gtk2 --disable-glib2 --disable-jack --disable-asyncns --disable-lirc --disable-bluez --without-caps --without-fftw --disable-avahi --disable-dbus ; fi; )
configure: loading site script /opt/attitude_adjustment/include/site/i486-openwrt-linux-uclibc
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for i486-openwrt-linux-strip... i486-openwrt-linux-uclibc-strip
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking how to create a ustar tar archive... gnutar
checking build system type... i486-pc-linux-gnu
checking host system type... i486-openwrt-linux-gnu
checking for stow... no
checking whether make supports nested variables... (cached) yes
checking for i486-openwrt-linux-gcc... i486-openwrt-linux-uclibc-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i486-openwrt-linux-uclibc-gcc accepts -g... yes
checking for i486-openwrt-linux-uclibc-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of i486-openwrt-linux-uclibc-gcc... gcc3
checking for i486-openwrt-linux-uclibc-gcc option to accept ISO C99... none needed
checking whether i486-openwrt-linux-uclibc-gcc and cc understand -c and -o together... yes
checking whether we are using the GNU C++ compiler... yes
checking whether i486-openwrt-linux-uclibc-g++ accepts -g... yes
checking dependency style of i486-openwrt-linux-uclibc-g++... gcc3
checking how to run the C preprocessor... i486-openwrt-linux-uclibc-gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking whether i486-openwrt-linux-uclibc-gcc needs -traditional... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for gm4... no
checking for m4... m4
checking pkg-config is at least version 0.9.0... yes
checking host operating system... linux
checking whether C compiler accepts -Wall... yes
checking whether C compiler accepts -W... yes
checking whether C compiler accepts -Wextra... yes
checking whether C compiler accepts -pipe... yes
checking whether C compiler accepts -Wno-long-long... yes
checking whether C compiler accepts -Wvla... yes
checking whether C compiler accepts -Wno-overlength-strings... yes
checking whether C compiler accepts -Wunsafe-loop-optimizations... yes
checking whether C compiler accepts -Wundef... yes
checking whether C compiler accepts -Wformat=2... yes
checking whether C compiler accepts -Wlogical-op... yes
checking whether C compiler accepts -Wsign-compare... yes
checking whether C compiler accepts -Wformat-security... yes
checking whether C compiler accepts -Wmissing-include-dirs... yes
checking whether C compiler accepts -Wformat-nonliteral... yes
checking whether C compiler accepts -Wold-style-definition... no
checking whether C compiler accepts -Wpointer-arith... yes
checking whether C compiler accepts -Winit-self... yes
checking whether C compiler accepts -Wdeclaration-after-statement... yes
checking whether C compiler accepts -Wfloat-equal... yes
checking whether C compiler accepts -Wmissing-prototypes... yes
checking whether C compiler accepts -Wstrict-prototypes... no
checking whether C compiler accepts -Wredundant-decls... yes
checking whether C compiler accepts -Wmissing-declarations... yes
checking whether C compiler accepts -Wmissing-noreturn... yes
checking whether C compiler accepts -Wshadow... yes
checking whether C compiler accepts -Wendif-labels... yes
checking whether C compiler accepts -Wcast-align... yes
checking whether C compiler accepts -Wstrict-aliasing... yes
checking whether C compiler accepts -Wwrite-strings... yes
checking whether C compiler accepts -Wno-unused-parameter... yes
checking whether C compiler accepts -ffast-math... yes
checking whether C compiler accepts -Wp,-D_FORTIFY_SOURCE=2... yes
checking whether C compiler accepts -fno-common... yes
checking whether C compiler accepts -fdiagnostics-show-option... yes
checking whether the linker accepts "-Wl,-version-script=./src/map-file"... yes
checking whether the linker accepts -Wl,-z,now... yes
checking whether the linker accepts -Wl,-z,nodelete... yes
checking whether the linker accepts -Wl,--no-undefined... yes
checking whether i486-openwrt-linux-uclibc-gcc knows __sync_bool_compare_and_swap()... yes
checking how to print strings... printf
checking for a sed that does not truncate output... /opt/attitude_adjustment/staging_dir/host/bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by i486-openwrt-linux-uclibc-gcc... i486-openwrt-linux-uclibc-ld
checking if the linker (i486-openwrt-linux-uclibc-ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... i486-openwrt-linux-uclibc-nm
checking the name lister (i486-openwrt-linux-uclibc-nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 805306365
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert i486-pc-linux-gnu file names to i486-openwrt-linux-gnu format... func_convert_file_noop
checking how to convert i486-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for i486-openwrt-linux-uclibc-ld option to reload object files... -r
checking for i486-openwrt-linux-objdump... i486-openwrt-linux-uclibc-objdump
checking how to recognize dependent libraries... pass_all
checking for i486-openwrt-linux-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for i486-openwrt-linux-ar... i486-openwrt-linux-uclibc-ar
checking for archiver @FILE support... @
checking for i486-openwrt-linux-strip... (cached) i486-openwrt-linux-uclibc-strip
checking for i486-openwrt-linux-ranlib... i486-openwrt-linux-uclibc-ranlib
checking command to parse i486-openwrt-linux-uclibc-nm output from i486-openwrt-linux-uclibc-gcc object... ok
checking for sysroot... no
checking for i486-openwrt-linux-mt... no
checking for mt... mt
configure: WARNING: using cross tools not prefixed with host triplet
checking if mt is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if i486-openwrt-linux-uclibc-gcc supports -fno-rtti -fno-exceptions... no
checking for i486-openwrt-linux-uclibc-gcc option to produce PIC... -fPIC -DPIC
checking if i486-openwrt-linux-uclibc-gcc PIC flag -fPIC -DPIC works... yes
checking if i486-openwrt-linux-uclibc-gcc static flag -static works... yes
checking if i486-openwrt-linux-uclibc-gcc supports -c -o file.o... yes
checking if i486-openwrt-linux-uclibc-gcc supports -c -o file.o... (cached) yes
checking whether the i486-openwrt-linux-uclibc-gcc linker (i486-openwrt-linux-uclibc-ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... cross
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking how to run the C++ preprocessor... i486-openwrt-linux-uclibc-g++ -E
checking for ld used by i486-openwrt-linux-uclibc-g++... i486-openwrt-linux-uclibc-ld
checking if the linker (i486-openwrt-linux-uclibc-ld) is GNU ld... yes
checking whether the i486-openwrt-linux-uclibc-g++ linker (i486-openwrt-linux-uclibc-ld) supports shared libraries... yes
checking for i486-openwrt-linux-uclibc-g++ option to produce PIC... -fPIC -DPIC
checking if i486-openwrt-linux-uclibc-g++ PIC flag -fPIC -DPIC works... yes
checking if i486-openwrt-linux-uclibc-g++ static flag -static works... yes
checking if i486-openwrt-linux-uclibc-g++ supports -c -o file.o... yes
checking if i486-openwrt-linux-uclibc-g++ supports -c -o file.o... (cached) yes
checking whether the i486-openwrt-linux-uclibc-g++ linker (i486-openwrt-linux-uclibc-ld) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking ltdl.h usability... yes
checking ltdl.h presence... yes
checking for ltdl.h... yes
checking for lt_dladvise_init in -lltdl... yes
checking for ANSI C header files... (cached) yes
checking for arpa/inet.h... yes
checking for glob.h... yes
checking for grp.h... yes
checking for netdb.h... yes
checking for netinet/in.h... yes
checking for netinet/in_systm.h... yes
checking for netinet/tcp.h... yes
checking for poll.h... yes
checking for pwd.h... yes
checking for sched.h... yes
checking for sys/mman.h... yes
checking for sys/select.h... yes
checking for sys/socket.h... yes
checking for sys/wait.h... yes
checking for sys/uio.h... yes
checking for syslog.h... yes
checking for sys/dl.h... no
checking for dlfcn.h... (cached) yes
checking for linux/sockios.h... yes
checking for sys/prctl.h... yes
checking for sys/filio.h... no
checking for windows.h... no
checking for winsock2.h... no
checking for ws2tcpip.h... no
checking for sys/atomic.h... no
checking for sys/ioctl.h... yes
checking for byteswap.h... yes
checking for sys/syscall.h... yes
checking for sys/eventfd.h... yes
checking for execinfo.h... no
checking for langinfo.h... yes
checking for regex.h... yes
checking for pcreposix.h... no
checking for valgrind/memcheck.h... no
checking for netinet/ip.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/un.h usability... yes
checking sys/un.h presence... yes
checking for sys/un.h... yes
checking linux/input.h usability... yes
checking linux/input.h presence... yes
checking for linux/input.h... yes
checking for an ANSI C-conforming const... yes
checking whether byte ordering is bigendian... (cached) no
checking for pid_t... yes
checking for size_t... yes
checking for ssize_t... yes
checking for off_t... yes
checking for uid_t in sys/types.h... yes
checking whether environ is declared... yes
checking for SIGXCPU defined in signal.h... yes
checking for INADDR_NONE defined in netinet/in.h... yes
checking whether i486-openwrt-linux-uclibc-gcc knows _Bool... yes
checking for thread local storage (TLS) class... __thread
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for PTHREAD_PRIO_INHERIT... yes
checking for library containing pow... -lm
checking for library containing sched_setscheduler... none required
checking for library containing dlopen... -ldl
checking for library containing shm_open... -lrt
checking for library containing inet_ntop... none required
checking for library containing timer_create... none required
checking for library containing pthread_setaffinity_np... -lpthread
checking for library containing pthread_getname_np... no
checking for library containing pthread_setname_np... no
checking for library containing connect... none required
checking for library containing backtrace... no
checking for library containing regexec... none required
checking for getopt_long... yes
checking for lrintf... yes
checking for strtof... yes
checking for chmod... yes
checking for chown... yes
checking for fstat... yes
checking for fchown... yes
checking for fchmod... (cached) yes
checking for clock_gettime... yes
checking for getaddrinfo... (cached) yes
checking for getgrgid_r... yes
checking for getgrnam_r... yes
checking for getpwnam_r... yes
checking for getpwuid_r... (cached) yes
checking for gettimeofday... (cached) yes
checking for getuid... yes
checking for mlock... yes
checking for nanosleep... yes
checking for pipe... yes
checking for posix_fadvise... yes
checking for posix_madvise... no
checking for posix_memalign... yes
checking for setpgid... yes
checking for setsid... yes
checking for shm_open... yes
checking for sigaction... yes
checking for sleep... yes
checking for symlink... yes
checking for sysconf... yes
checking for uname... yes
checking for pthread_setaffinity_np... yes
checking for pthread_getname_np... no
checking for pthread_setname_np... no
checking for readlink... yes
checking for ctime_r... yes
checking for usleep... yes
checking for strerror_r... yes
checking for lstat... (cached) yes
checking for setresuid... (cached) no
checking for setresgid... yes
checking for setreuid... yes
checking for setregid... yes
checking for seteuid... yes
checking for setegid... yes
checking for ppoll... yes
checking for strsignal... yes
checking for sig2str... no
checking for strtof_l... no
checking for pipe2... yes
checking for accept4... yes
checking for open64... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... cross
configure: WARNING: result yes guessed because of cross compilation
checking for working vfork... (cached) yes
checking type of array argument to getgroups... gid_t
checking for getgroups... yes
checking for working getgroups... no
checking for mkfifo... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for regexec... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for ld used by GCC... i486-openwrt-linux-uclibc-ld
checking if the linker (i486-openwrt-linux-uclibc-ld) is GNU ld... yes
checking for shared library run path origin... done
checking for iconv... yes
checking for working iconv... guessing yes
checking how to link with libiconv... -liconv
checking for iconv declaration... 
         extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for X11... no
checking for LIBJSON... no
configure: error: Package requirements ( json >= 0.9 ) were not met:

No package 'json' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables LIBJSON_CFLAGS
and LIBJSON_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
make[3]: *** [/opt/attitude_adjustment/build_dir/target-i386_uClibc-0.9.33.2/pulseaudio-noavahi/pulseaudio-2.1/.configured_] Error 1
make[3]: Leaving directory `/opt/attitude_adjustment/feeds/packages/sound/pulseaudio'
make[2]: *** [package/feeds/packages/pulseaudio/compile] Error 2
make[2]: Leaving directory `/opt/attitude_adjustment'
make[1]: *** [/opt/attitude_adjustment/staging_dir/target-i386_uClibc-0.9.33.2/stamp/.package_compile] Error 2
make[1]: Leaving directory `/opt/attitude_adjustment'
make: *** [world] Błąd 2
root@debian:/opt/attitude_adjustment# 

19 (edytowany przez build000 2014-04-22 07:55:53)

Odp: 12.09.01

...
configure: error: Package requirements ( json >= 0.9 ) were not met:

No package 'json' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables LIBJSON_CFLAGS
and LIBJSON_LIBS to avoid the need to call pkg-config.
...

Chyba o to chodzi - brak json lub headers'y od json są gdzie indziej (lub zwyczajnie - nawet jak dodane w zależnościach przez automat jeszcze się nie zbudował ów json)/niezgodnie z pkg-config. Może pomóc dodanie ręcznie json w menuconfig (pewno nie trzeba - bo powinien się sam dodać). Przed wszystkim daj make clean (lub nawet distclean) jak w tym samym .config robisz to już któryś raz i od nowa zacznij, jak nie pomaga wyczyszczenie tego co trzeba przez komendę make clean.
W ogóle json to chyba będzie konkretnie libjson.
Co do ilości linii to warto w terminalu włączyć pokazywanie wierszy w nieograniczonej ilości w ustawieniach terminala (taki parametr można ustawić np. w gnome-terminal). Bardzo długie listingi warto też wkleić na jakimś zewnętrznym serwerze do takich właśnie zadań, np. wklej.org czy pastebin.com i tu podesłać/wkleić tylko linki.

20 (edytowany przez Maniek19pl 2014-04-23 08:47:50)

Odp: 12.09.01

dałem make clean
zaznacze jeszcze raz co tam chciałem i sprawdzę co z tego wyjdzie

*
znalazłem gdzieś w make menuconfig libjson-scripts - zaznaczyłem <*>
sprawdzam make V=s

** haha, zaraz będzie to robić 3h a ciągle sie nie skończyło yikes
Zazwyczaj tyle to mi robiło same make..
*
Identyczna sytuacja co ostatnio, wiec muszę to skompilować bez tego co stwarza problemy

21 (edytowany przez build000 2014-04-23 09:22:07)

Odp: 12.09.01

Nie zapominaj też o generalnej zasadzie - nie na wszystkich platformach występują te same zestawy dostępnych pakietów/programów - trzeba się wtedy bawić w portowanie na daną architekturę odpowiednich bibliotek/programów i tworzenia im odpowiednich sieci zależności - lub modyfikowanie już istniejących na potrzeby zbudowania czegoś/czegoś inaczej (i tak właśnie powstają mody - nikt nie twierdzi, że sposób proponowany przez devów openwrt jest jedynym możliwym do zastosowania). Ponadto niektóre zależności/programy są zwyczajnie skopane i nie znalazły jeszcze zadowalających poprawek/modyfikacji/rozszerzeń/i.t.d. przez devów projektu openwrt. Budowanie czegoś w niestandardowej złożoności/zależnościach i.t.d. często owocuje potrzebą twórczego podejścia do problemu. Może też istnieć bardziej banalny powód - w systemie podstawowym/maszynie budującej może najzwyczajniej w świecie brakować jakichś istotnych bibliotek/programów lub tych mniej ważnych, których nie wyłapią skrypty weryfikacyjne w środowisku budowania (piaskownicy/źródłach budowania/czy jak tam to zwał) - to też trzeba mieć na względzie.
Generalnie openwrt to wieczna rzeźba i trzeba nauczyć się po nim poruszać i dynamicznie reagować na przeróżne kwestie - nic nie jest stałe i niezmienne.

Tak w ogóle by szybciej i dogłębniej wyłapać problem + prześledzić go od początku w logach budowania, warto oprócz pokazywania w terminalu nieograniczonej ilości linii włączyć jeszcze w make V=99. Niektóre problemy mogą się już zacząć pojawiać znacznie wcześniej i nie mieć wpływu od razu na resztę (to znaczy np. przy kolejnym pakiecie, występującym bezpośrednio po tym skopanym w budowie). Także istnieją przełączniki dla make, które mogą ułatwić zadanie http://wiki.openwrt.org/doc/howto/build .
Podsumowując ten mój być może zbyt długi wywód - kłaniają się podstawy pracy z openwrt.

22 (edytowany przez Maniek19pl 2014-04-23 16:55:16)

Odp: 12.09.01

programistą czy na linuksie się nie znam , powoli bawie się openwrt , Dobra przywróciłem ustawienia fabryczne configu.
Teraz wybieram co chce jeszcze raz .

A pytanko, czemu i jak to możliwe czym się różni jak włącze samo polecenie ekg ( tam wszystko zapisze ,numerek,hasło, autoaway itp), wtedy go wyłączam wpisuje screen ekg (żeby zostawić go w tle a tam config trzeba od nowa robić yikes

Rozumiem że screen - jedynie daje możliwość odpalenia czegoś w tle (ale przecież ekg zostaje to samo !? )

Dla pewności wklejam co zaznaczam , oczywiscie wiadomo x86 + to co domyślne

kmod-usb-core 
kmod-usb2 
kmod-usb-storage
block-mount
mountd

pptpd
kmod-mppe

ath9k-htc
kmod-rt2800-usb
wpad

transmission-daemon
transmission-web

wget
ekg
nano
fdisk
mc
screen

daje Make V=s

23

Odp: 12.09.01

Nie rozumiem pytania smile ekg zapisuje ustawienia pliku ini czy jakoś tak.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

24

Odp: 12.09.01

Oki poszło bez problemu, więc na noc zostawie polecenie make

25 (edytowany przez Maniek19pl 2014-04-24 01:03:15)

Odp: 12.09.01

znowu mam problem z zamontowaniem hdd :0

root@OpenWrt:~# fdisk -l

Disk /dev/sda: 128 MB, 128188416 bytes
16 heads, 63 sectors/track, 248 cylinders, total 250368 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *          63        9071        4504+  83  Linux
/dev/sda2            9135      107855       49360+  83  Linux

Disk /dev/sdb: 200.0 GB, 200048565760 bytes
255 heads, 63 sectors/track, 24321 cylinders, total 390719855 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x73b6f8b7

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1              63   390700799   195350368+   7  HPFS/NTFS/exFAT
/dev/sdb2       390700800   390732929       16065    0  Empty
root@OpenWrt:~# mount /dev/sdb /mnt/hdd0/
mount: mounting /dev/sdb on /mnt/hdd0/ failed: Invalid argument
root@OpenWrt:~#
root@OpenWrt:~# mount /dev/sdb1 /mnt/hdd0/
mount: mounting /dev/sdb1 on /mnt/hdd0/ failed: Invalid argument
root@OpenWrt:~#

montowanie przez www > /dev/sdb1 (190771 MB)      /mnt/hdd0
nic nie daje .. bo montuje mi tam pamięć wewnętrzną (gdzie ilość jest pokazana przez www >system > software)
Gdzie hdd podłączony pod pc normalnie działa, mam tam jakieś filmy) wiec napewno nie jest pusty