Odp: Kompilacja wlasnej paczki
Pisałem - wejdź do tego katalogu gdzie masz Makefile tam zrób svn up. Uaktualni się tylko bieżący katalog, nie całość.
Nie jesteś zalogowany. Proszę się zalogować lub zarejestrować.
eko.one.pl → Oprogramowanie / Software → Kompilacja wlasnej paczki
Strony Poprzednia 1 2 3 4 5 Następna
Zaloguj się lub zarejestruj by napisać odpowiedź
Pisałem - wejdź do tego katalogu gdzie masz Makefile tam zrób svn up. Uaktualni się tylko bieżący katalog, nie całość.
Ja właśnie próbuję skompilować miniDLNA dla openwrt. Na ubuntu udało mi się odpalić - lekko zmieniona wersja, która pozwala na tv samsunga oglądać filmu po DLNA z polskimi napisami (srt).
Było by fajnie odpalić ten serwerek na openwrt... no ale zobaczymy co z tego wyjdzie ![]()
o czym w ogóle tu jest pisane bo ja nie czaje? Chodzi o kompilację ze żródeł programów nie będących przeznaczonych na wrt ? Czy to znaczy ze np. ekg lub fincha mogę zainstalować sobie na open wrt ? Prosze o jakiś instruktarz bo tu jest tak jakoś chaotycznie to pokazane...
No tak.
PS. EKG leży u mnie na http://eko.one.pl/openwrt/index.php?pat … %2F8.09.1/
fajne to jest dzieki za te ekg ale czy mógłbyś mi po krótce wytłumaczyć co musze wiedzieć żeby taka paczke własna ipk budować? Kompilowałem już coś ze żródeł pod ubuntu debianem. rozpakowujemy ./configure make make install w ten sposób. Jednak zupełnie niemam pojęcia jak to robić pod wrt. Z góry dzieki
Ściągnij sobie całe źródła systemu, skompiluj całość.
Teraz: jeżeli program kompiluje się standardowo to wystarczy zrobić prostego makefile (zobacz sobie w katalogu package - masz tam masę przykładów) i kompiluje się jak każdy inny pakiet.
Cały problem jest w makefile - nie wszystko może chcieć się skompilować, niekiedy musisz samodzielnie pisać odpowiednie patche (bo np. na stałe jest powiedziane że używany jest kompilator gcc, a przecież trzeba to skompilować kroskompilatorem na inny procesor i inną architekturę) czasami nie masz bibliotek, czasami robisz jakieś obejścia zeby chciało w ogóle pod sdk się skompilować.
Uniwersalnego przykładu nie masz. Praktycznie każda paczka wymaga samodzielnego podejścia i spowodowania żeby chciało się skompilować. Później zostaje tylko problem z uruchomieniem - może się wykrzaczać lub działać w dziwny sposób, bo np. na mipsa trzeba niektóre sprawy zrobić inaczej lub dać inne opcje kompilacji.
to mam jeszcze pytanie co mam rozumiec przez sciagniecie sobie calego systemu i skompilowanie go ? chodzi o sciagniecie paczke jakiegos programu czy calego systemu wrt bo tego nie rozumiem. I gdzie jest ten folder package bo niemoge go znalesc u siebie w systemie. zeby podejrzec te inne makefile
Całego źródło openwrt.
https://dev.openwrt.org/wiki/GetSource
hmmm sciagne kamikaze to co wlasnie uzywam i jak mam to skompilowac bo naprawde nie rozumiem ;/
A to już na openwrt.pl jest opisane nawet.
masz moze gadu czy coś bysmy pogadali bys mi to wytlumaczyl w miare szybko bo chyba jestem bardziej zielony niz trawa gg2530847
Nieee, gg to ja nie posiadam. Jabber tylko.
No tak.
PS. EKG leży u mnie na http://eko.one.pl/openwrt/index.php?pat … %2F8.09.1/
wlasnie mam ostatnio problemy z gadu w robocie i chcialem sobie zainstalować klienta gadulca na moim trunku.
niestety ten twoj sie wysypuje u mnie
root@OpenWrt:/mnt/sda1/packages# opkg -dest usb install ekg_1.7-1_mipsel.ipk
Collected errors:
* Packages were found, but none compatible with the architectures configuredwiec najprawdopodobniej musze skompilować własnego. Czy posiadasz moze Make do tego ekg ktorego użyłeś ?
Chce najpierw spróbować kompilacji paczki niezależnej a potem będe dalej walczył z moim dc++ ![]()
z gory dzieki
Jakiego Ty używasz kamikaze?
Jakiego Ty używasz kamikaze?
oto info z logowania
BusyBox v1.13.4 (2009-08-25 11:11:29 PDT) built-in shell (ash)
Enter 'help' for a list of built-in commands.
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (bleeding edge, r17398) -------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------no i jeszcze
root@OpenWrt:/mnt/sda1/packages# uname -a
Linux OpenWrt 2.6.28.10 #1 Thu Aug 27 04:08:23 PDT 2009 mips unknownNo ale Ty masz trunka z 2.6, a paczka jest na Broadcoma 2.4 i na dodatek 8.09. Więc kompletnie nie ten system ![]()
Makefile masz oficjalnie jest w trunku w źródłach.
No ale Ty masz trunka z 2.6, a paczka jest na Broadcoma 2.4 i na dodatek 8.09. Więc kompletnie nie ten system
Makefile masz oficjalnie jest w trunku w źródłach.
tzn jest dostepny w menu config ?
przeszukałem i nie widzie nigdzie ![]()
W network jest. Jak sobie źrodła zaktualizowałeś.
W network jest. Jak sobie źrodła zaktualizowałeś.
a jak to zrobić zęby mi się cały flash i nowy trunk nie zbudował ?
w mojej wersji bezpośrednio w folderze network nie ma ...
jak nie aktualizowałeś to nie masz. Pobierz sobie go ze zródeł normalnie https://dev.openwrt.org/browser/packages/net/ekg
jak nie aktualizowałeś to nie masz. Pobierz sobie go ze zródeł normalnie https://dev.openwrt.org/browser/packages/net/ekg
oki doki no to mam makefila zgralem do folderu ale coś nie teges , nie zaznaczylem pakietu - o co chodzi ?
x@ubuntu:/openwrt/trunk$ make package/ekg-{clean,compile} V=99
Collecting package info: done
make[1]: Entering directory `/openwrt/trunk'
make[2]: Entering directory `/openwrt/trunk/package/ekg'
rm -f /openwrt/trunk/staging_dir/target-mipsel_uClibc-0.9.30.1/stamp/.ekg_installed
rm -f /openwrt/trunk/bin/packages/brcm47xx_uClibc-0.9.30.1/ekg_*
rm -f /openwrt/trunk/staging_dir/target-mipsel_uClibc-0.9.30.1/packages/ekg.list /openwrt/trunk/staging_dir/host/packages/ekg.list
rm -rf /openwrt/trunk/build_dir/target-mipsel_uClibc-0.9.30.1/ekg-1.7
make[2]: Leaving directory `/openwrt/trunk/package/ekg'
make[1]: Leaving directory `/openwrt/trunk'
make[1]: Entering directory `/openwrt/trunk'
make[2]: Entering directory `/openwrt/trunk/package/zlib'
make[2]: Leaving directory `/openwrt/trunk/package/zlib'
make[2]: Entering directory `/openwrt/trunk/package/ncurses'
make[2]: Leaving directory `/openwrt/trunk/package/ncurses'
make[2]: Entering directory `/openwrt/trunk/package/ekg'
WARNING: skipping ekg -- package not selected
make[2]: Leaving directory `/openwrt/trunk/package/ekg'
make[1]: Leaving directory `/openwrt/trunk'Zrób make menuconfig i zaznacz go najpierw...
Zrób make menuconfig i zaznacz go najpierw...
tyle ze jak pisalem nie mam go w menu config ![]()
Bo wcześniej niezaznajomiłeś się zapewne z poleceniem ./scripts/feed install ... itd. Chyba że dodasz to do katalogu package (nie feed/...) to sam to znajdzie przy make menuconfig.
Bo wcześniej niezaznajomiłeś się zapewne z poleceniem ./scripts/feed install ... itd. Chyba że dodasz to do katalogu package (nie feed/...) to sam to znajdzie przy make menuconfig.
hokej poprawiłem ale widze ze to nie koniec
lech@ubuntu:/openwrt/trunk$ make package/ekg-{clean,compile} V=99
++ mkdir -p /openwrt/trunk/staging_dir/toolchain-mipsel_gcc-4.1.2_uClibc-0.9.30.1
++ cd /openwrt/trunk/staging_dir/toolchain-mipsel_gcc-4.1.2_uClibc-0.9.30.1
++ mkdir -p stamp lib usr/include usr/lib
Checking 'intltool-update'... ok.
Checking 'rsync'... ok.
Checking 'xgettext'... ok.
Checking 'fastjar'... ok.
Checking 'jikes'... ok.
make[1]: Entering directory `/openwrt/trunk'
make[2]: Entering directory `/openwrt/trunk/package/ekg'
rm -f /openwrt/trunk/staging_dir/target-mipsel_uClibc-0.9.30.1/stamp/.ekg_installed
rm -f /openwrt/trunk/bin/packages/brcm47xx_uClibc-0.9.30.1/ekg_*
rm -f /openwrt/trunk/staging_dir/target-mipsel_uClibc-0.9.30.1/packages/ekg.list /openwrt/trunk/staging_dir/host/packages/ekg.list
rm -rf /openwrt/trunk/build_dir/target-mipsel_uClibc-0.9.30.1/ekg-1.7
make[2]: Leaving directory `/openwrt/trunk/package/ekg'
make[1]: Leaving directory `/openwrt/trunk'
make[1]: Entering directory `/openwrt/trunk'
make[2]: Entering directory `/openwrt/trunk/package/zlib'
make[2]: Leaving directory `/openwrt/trunk/package/zlib'
make[2]: Entering directory `/openwrt/trunk/package/ncurses'
make[2]: Leaving directory `/openwrt/trunk/package/ncurses'
make[2]: Entering directory `/openwrt/trunk/package/ekg'
mkdir -p /openwrt/trunk/dl
/openwrt/trunk/scripts/download.pl "/openwrt/trunk/dl" "ekg-1.7.tar.gz" "2aa92b56517fdf09d75519a105772b74" http://ekg.chmurka.net/
--2009-10-06 12:29:29-- http://ekg.chmurka.net/ekg-1.7.tar.gz
Resolving ekg.chmurka.net... 89.191.158.4
Connecting to ekg.chmurka.net|89.191.158.4|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 530314 (518K) [application/x-gzip]
Saving to: `STDOUT'
100%[======================================>] 530,314 44.4K/s in 22s
2009-10-06 12:29:52 (23.4 KB/s) - `-' saved [530314/530314]
gzip -dc /openwrt/trunk/dl/ekg-1.7.tar.gz | /bin/tar -C /openwrt/trunk/build_dir/target-mipsel_uClibc-0.9.30.1/ekg-1.7/.. -xf -
ls: cannot access ./patches: No such file or directory
touch /openwrt/trunk/build_dir/target-mipsel_uClibc-0.9.30.1/ekg-1.7/.prepared_96e14197036a175c3df372d2daa7ff6e
(cd /openwrt/trunk/build_dir/target-mipsel_uClibc-0.9.30.1/ekg-1.7/./; if [ -x ./configure ]; then /usr/bin/find /openwrt/trunk/build_dir/target-mipsel_uClibc-0.9.30.1/ekg-1.7/ -name config.guess | xargs -r chmod u+w; /usr/bin/find /openwrt/trunk/build_dir/target-mipsel_uClibc-0.9.30.1/ekg-1.7/ -name config.guess | xargs -r -n1 cp /openwrt/trunk/scripts/config.guess; /usr/bin/find /openwrt/trunk/build_dir/target-mipsel_uClibc-0.9.30.1/ekg-1.7/ -name config.sub | xargs -r chmod u+w; /usr/bin/find /openwrt/trunk/build_dir/target-mipsel_uClibc-0.9.30.1/ekg-1.7/ -name config.sub | xargs -r -n1 cp /openwrt/trunk/scripts/config.sub; AR=mipsel-openwrt-linux-uclibc-ar AS="mipsel-openwrt-linux-uclibc-gcc -c -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float" LD=mipsel-openwrt-linux-uclibc-ld NM=mipsel-openwrt-linux-uclibc-nm CC="mipsel-openwrt-linux-uclibc-gcc" GCC="mipsel-openwrt-linux-uclibc-gcc" CXX="mipsel-openwrt-linux-uclibc-g++" RANLIB=mipsel-openwrt-linux-uclibc-ranlib STRIP=mipsel-openwrt-linux-uclibc-strip OBJCOPY=mipsel-openwrt-linux-uclibc-objcopy OBJDUMP=mipsel-openwrt-linux-uclibc-objdump SIZE=mipsel-openwrt-linux-uclibc-size CFLAGS="-Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float " CXXFLAGS="-Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float " CPPFLAGS="-I/openwrt/trunk/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/include -I/openwrt/trunk/staging_dir/target-mipsel_uClibc-0.9.30.1/include " LDFLAGS="-L/openwrt/trunk/staging_dir/toolchain-mipsel_gcc-4.1.2_uClibc-0.9.30.1/usr/lib -L/openwrt/trunk/staging_dir/toolchain-mipsel_gcc-4.1.2_uClibc-0.9.30.1/lib -L/openwrt/trunk/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/lib -L/openwrt/trunk/staging_dir/target-mipsel_uClibc-0.9.30.1/lib " ./configure --target=mipsel-openwrt-linux --host=mipsel-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 --disable-ipv6 --without-c99-vsnprintf --without-libungif --without-libjpeg --without-openssl --disable-libgadu-openssl --enable-ui-ncurses --disable-ui-readline CFLAGS="-Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -I/openwrt/trunk/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/include" CFLAGS_LIBGADU="-Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -I/openwrt/trunk/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/include" ; fi; )
configure: loading site script /openwrt/trunk/include/site/mipsel-openwrt-linux-uclibc
checking for mipsel-openwrt-linux-gcc... mipsel-openwrt-linux-uclibc-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... yes
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether mipsel-openwrt-linux-uclibc-gcc accepts -g... yes
checking for mipsel-openwrt-linux-uclibc-gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... mipsel-openwrt-linux-uclibc-gcc -E
checking for a BSD-compatible install... /usr/bin/install -c
checking for mipsel-openwrt-linux-ranlib... mipsel-openwrt-linux-uclibc-ranlib
checking whether ln -s works... yes
checking for an ANSI C-conforming const... yes
checking for gmake... no
checking for make... /usr/bin/make
checking for mipsel-openwrt-linux-ar... mipsel-openwrt-linux-uclibc-ar
checking for mipsel-openwrt-linux-strip... mipsel-openwrt-linux-uclibc-strip
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
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 whether byte ordering is bigendian... (cached) no
checking for uintXX_t types... found in <stdint.h>
checking for t_accept in -lnsl... no
checking for socket in -lsocket... no
checking for __inet_addr in -lbind... no
checking for gethostbyname_r... yes
checking for inet_pton... yes
checking for va_copy... yes
checking for __va_copy... yes
checking for long long... yes
checking libgen.h usability... yes
checking libgen.h presence... yes
checking for libgen.h... yes
checking for dirname... yes
checking for getopt_long... yes
checking for scandir... yes
checking for setenv... yes
checking for strlcat... yes
checking for strlcpy... yes
checking for utimes... (cached) yes
checking for mkstemp... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for setlocale... (cached) yes
checking for strcoll... yes
checking regex.h usability... yes
checking regex.h presence... yes
checking for regex.h... yes
checking execinfo.h usability... no
checking execinfo.h presence... no
checking for execinfo.h... no
checking for inet_pton... (cached) yes
checking ncurses.h usability... yes
checking ncurses.h presence... yes
checking for ncurses.h... yes
checking for initscr in -lncurses... yes
CURSES_INCLUDES=
checking for gsm_decode in -lgsm... yes
checking gsm.h usability... no
checking gsm.h presence... no
checking for gsm.h... no
checking gsm/gsm.h usability... yes
checking gsm/gsm.h presence... yes
checking for gsm/gsm.h... yes
checking linux/soundcard.h usability... yes
checking linux/soundcard.h presence... yes
checking for linux/soundcard.h... yes
checking for gzopen in -lz... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
configure: creating ./config.status
config.status: creating src/Makefile
config.status: creating Makefile
config.status: creating lib/Makefile
config.status: creating examples/Makefile
config.status: creating lib/libgadu.pc
config.status: creating config.h
configured options:
- static libgadu: enabled (default)
- shared libgadu: disabled
- libgadu_openssl: disabled
- openssl: disabled
- ioctld: disabled
- python: disabled
- zlib: enabled
- pthread: disabled
- libungif: disabled
- libjpeg: disabled
- ui-readline: disabled
- ui-ncurses: enabled (default)
- aspell: disabled
touch /openwrt/trunk/build_dir/target-mipsel_uClibc-0.9.30.1/ekg-1.7/.configured_
CFLAGS="-Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -I/openwrt/trunk/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/include -I/openwrt/trunk/staging_dir/target-mipsel_uClibc-0.9.30.1/include " CXXFLAGS="-Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -I/openwrt/trunk/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/include -I/openwrt/trunk/staging_dir/target-mipsel_uClibc-0.9.30.1/include " LDFLAGS="-L/openwrt/trunk/staging_dir/toolchain-mipsel_gcc-4.1.2_uClibc-0.9.30.1/usr/lib -L/openwrt/trunk/staging_dir/toolchain-mipsel_gcc-4.1.2_uClibc-0.9.30.1/lib -L/openwrt/trunk/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/lib -L/openwrt/trunk/staging_dir/target-mipsel_uClibc-0.9.30.1/lib " make -C /openwrt/trunk/build_dir/target-mipsel_uClibc-0.9.30.1/ekg-1.7/. AR=mipsel-openwrt-linux-uclibc-ar AS="mipsel-openwrt-linux-uclibc-gcc -c -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float" LD=mipsel-openwrt-linux-uclibc-ld NM=mipsel-openwrt-linux-uclibc-nm CC="mipsel-openwrt-linux-uclibc-gcc" GCC="mipsel-openwrt-linux-uclibc-gcc" CXX="mipsel-openwrt-linux-uclibc-g++" RANLIB=mipsel-openwrt-linux-uclibc-ranlib STRIP=mipsel-openwrt-linux-uclibc-strip OBJCOPY=mipsel-openwrt-linux-uclibc-objcopy OBJDUMP=mipsel-openwrt-linux-uclibc-objdump SIZE=mipsel-openwrt-linux-uclibc-size CROSS="mipsel-openwrt-linux-uclibc-" ARCH="mipsel" ;
make[3]: Entering directory `/openwrt/trunk/build_dir/target-mipsel_uClibc-0.9.30.1/ekg-1.7'
cd lib && /usr/bin/make all
make[4]: Entering directory `/openwrt/trunk/build_dir/target-mipsel_uClibc-0.9.30.1/ekg-1.7/lib'
mipsel-openwrt-linux-uclibc-gcc -MM -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -I/openwrt/trunk/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/include -Wall -I. -I.. common.c libgadu.c pubdir.c http.c dcc.c events.c pubdir50.c obsolete.c 1> .depend
mipsel-openwrt-linux-uclibc-gcc -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -I/openwrt/trunk/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/include -Wall -I. -I.. -c -o common.o common.c
mipsel-openwrt-linux-uclibc-gcc -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -I/openwrt/trunk/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/include -Wall -I. -I.. -c -o libgadu.o libgadu.c
libgadu.c: In function 'gg_image_reply':
libgadu.c:1279: warning: pointer targets in passing argument 2 of 'gg_crc32' differ in signedness
libgadu.c: In function 'gg_send_message_richtext':
libgadu.c:1410: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
libgadu.c: In function 'gg_send_message_confer_richtext':
libgadu.c:1503: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
mipsel-openwrt-linux-uclibc-gcc -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -I/openwrt/trunk/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/include -Wall -I. -I.. -c -o pubdir.o pubdir.c
mipsel-openwrt-linux-uclibc-gcc -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -I/openwrt/trunk/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/include -Wall -I. -I.. -c -o http.o http.c
mipsel-openwrt-linux-uclibc-gcc -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -I/openwrt/trunk/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/include -Wall -I. -I.. -c -o dcc.o dcc.c
dcc.c: In function 'gg_dcc_request':
dcc.c:85: warning: pointer targets in passing argument 4 of 'gg_send_message_ctcp' differ in signedness
dcc.c: In function 'gg_dcc_fill_file_info2':
dcc.c:229: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness
dcc.c: In function 'gg_dcc_watch_fd':
dcc.c:572: warning: pointer targets in passing argument 3 of 'accept' differ in signedness
dcc.c:909: warning: pointer targets in assignment differ in signedness
dcc.c:927: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness
mipsel-openwrt-linux-uclibc-gcc -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -I/openwrt/trunk/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/include -Wall -I. -I.. -c -o events.o events.c
events.c: In function 'gg_handle_recv_msg':
events.c:422: warning: pointer targets in assignment differ in signedness
events.c: In function 'gg_watch_fd':
events.c:894: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness
events.c:1071: warning: pointer targets in assignment differ in signedness
events.c:1149: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness
events.c:1338: warning: pointer targets in initialization differ in signedness
events.c:1420: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness
mipsel-openwrt-linux-uclibc-gcc -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -I/openwrt/trunk/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/include -Wall -I. -I.. -c -o pubdir50.o pubdir50.c
mipsel-openwrt-linux-uclibc-gcc -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -I/openwrt/trunk/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/include -Wall -I. -I.. -c -o obsolete.o obsolete.c
mipsel-openwrt-linux-uclibc-ar r libgadu.a common.o libgadu.o pubdir.o http.o dcc.o events.o pubdir50.o obsolete.o
mipsel-openwrt-linux-uclibc-ar: creating libgadu.a
mipsel-openwrt-linux-uclibc-ranlib libgadu.a
make[4]: Leaving directory `/openwrt/trunk/build_dir/target-mipsel_uClibc-0.9.30.1/ekg-1.7/lib'
cd src && /usr/bin/make all
make[4]: Entering directory `/openwrt/trunk/build_dir/target-mipsel_uClibc-0.9.30.1/ekg-1.7/src'
mipsel-openwrt-linux-uclibc-gcc -MM -I.. -I../lib -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -I/openwrt/trunk/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/include -Wall -I/usr/include/gsm -DDATADIR=\"/usr/share/ekg\" -DSYSCONFDIR=\"/etc\" stuff.c commands.c events.c themes.c vars.c dynstuff.c userlist.c ekg.c xmalloc.c mail.c msgqueue.c emoticons.c configfile.c ui-ncurses.c voice.c ui-batch.c ui-none.c log.c comptime.c 1> .depend
mipsel-openwrt-linux-uclibc-gcc -I.. -I../lib -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -I/openwrt/trunk/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/include -Wall -I/usr/include/gsm -DDATADIR=\"/usr/share/ekg\" -DSYSCONFDIR=\"/etc\" -c -o stuff.o stuff.c
stuff.c: In function 'ekg_connect':
stuff.c:1429: warning: pointer targets in passing argument 1 of 'iso_to_cp' differ in signedness
stuff.c:1431: warning: pointer targets in passing argument 1 of 'iso_to_cp' differ in signedness
stuff.c:1440: warning: pointer targets in passing argument 1 of 'cp_to_iso' differ in signedness
stuff.c:1442: warning: pointer targets in passing argument 1 of 'cp_to_iso' differ in signedness
stuff.c: In function 'ekg_logoff':
stuff.c:1475: warning: pointer targets in passing argument 1 of 'iso_to_cp' differ in signedness
stuff.c: In function 'update_status_myip':
stuff.c:2961: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness
stuff.c: In function 'change_status':
stuff.c:3140: warning: pointer targets in passing argument 1 of 'iso_to_cp' differ in signedness
stuff.c:3142: warning: pointer targets in passing argument 1 of 'cp_to_iso' differ in signedness
mipsel-openwrt-linux-uclibc-gcc -I.. -I../lib -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -I/openwrt/trunk/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/include -Wall -I/usr/include/gsm -DDATADIR=\"/usr/share/ekg\" -DSYSCONFDIR=\"/etc\" -c -o commands.o commands.c
commands.c: In function 'cmd_away':
commands.c:497: warning: pointer targets in passing argument 1 of 'iso_to_cp' differ in signedness
commands.c:499: warning: pointer targets in passing argument 1 of 'cp_to_iso' differ in signedness
commands.c: In function 'cmd_find':
commands.c:933: warning: pointer targets in passing argument 1 of 'iso_to_cp' differ in signedness
commands.c: In function 'cmd_change':
commands.c:1188: warning: pointer targets in passing argument 1 of 'iso_to_cp' differ in signedness
commands.c: In function 'cmd_list':
commands.c:2173: warning: pointer targets in passing argument 1 of 'iso_to_cp' differ in signedness
commands.c: In function 'cmd_msg':
commands.c:2401: warning: pointer targets in assignment differ in signedness
commands.c:2504: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
commands.c:2513: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness
commands.c:2603: warning: pointer targets in passing argument 1 of 'xstrdup' differ in signedness
commands.c:2603: warning: pointer targets in assignment differ in signedness
commands.c:2622: warning: pointer targets in passing argument 5 of 'last_add' differ in signedness
commands.c:2627: warning: pointer targets in passing argument 1 of 'xstrdup' differ in signedness
commands.c:2627: warning: pointer targets in initialization differ in signedness
commands.c:2681: warning: pointer targets in passing argument 1 of 'xstrdup' differ in signedness
commands.c:2681: warning: pointer targets in assignment differ in signedness
commands.c: In function 'cmd_dcc':
commands.c:3138: warning: pointer targets in passing argument 1 of 'iso_to_cp' differ in signedness
commands.c: In function 'cmd_test_hexmsg':
commands.c:3690: warning: pointer targets in passing argument 4 of 'gg_send_message_ctcp' differ in signedness
commands.c: In function 'cmd_test_imagemsg':
commands.c:3787: warning: pointer targets in passing argument 2 of 'gg_crc32' differ in signedness
commands.c:3796: warning: pointer targets in passing argument 4 of 'gg_send_message_richtext' differ in signedness
commands.c:3796: warning: pointer targets in passing argument 5 of 'gg_send_message_richtext' differ in signedness
commands.c: In function 'cmd_test_send':
commands.c:3817: warning: pointer targets in assignment differ in signedness
commands.c: In function 'cmd_register':
commands.c:4130: warning: pointer targets in passing argument 1 of 'iso_to_cp' differ in signedness
commands.c: In function 'cmd_passwd':
commands.c:4220: warning: pointer targets in passing argument 1 of 'iso_to_cp' differ in signedness
commands.c:4222: warning: pointer targets in passing argument 1 of 'iso_to_cp' differ in signedness
mipsel-openwrt-linux-uclibc-gcc -I.. -I../lib -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -I/openwrt/trunk/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/include -Wall -I/usr/include/gsm -DDATADIR=\"/usr/share/ekg\" -DSYSCONFDIR=\"/etc\" -c -o events.o events.c
events.c: In function 'print_message':
events.c:146: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
events.c:151: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
events.c:173: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
events.c:288: warning: pointer targets in passing argument 5 of 'last_add' differ in signedness
events.c:334: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
events.c:334: warning: pointer targets in passing argument 1 of 'xstrdup' differ in signedness
events.c: In function 'handle_msg':
events.c:526: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
events.c:662: warning: pointer targets in passing argument 3 of 'event_check' differ in signedness
events.c:676: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
events.c: In function 'handle_common':
events.c:957: warning: pointer targets in assignment differ in signedness
events.c:982: warning: pointer targets in assignment differ in signedness
events.c:990: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
events.c:1002: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness
events.c:1033: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness
events.c:1034: warning: pointer targets in passing argument 3 of 'event_check' differ in signedness
events.c:1038: warning: pointer targets in passing argument 3 of 'event_check' differ in signedness
events.c:1040: warning: pointer targets in passing argument 3 of 'event_check' differ in signedness
events.c:1116: warning: pointer targets in passing argument 1 of 'xstrdup' differ in signedness
events.c:1148: warning: pointer targets in assignment differ in signedness
events.c: In function 'handle_userlist':
events.c:2140: warning: pointer targets in passing argument 1 of 'cp_to_iso' differ in signedness
events.c: In function 'handle_dcc':
events.c:2412: warning: pointer targets in passing argument 1 of 'iso_to_cp' differ in signedness
events.c:2452: warning: pointer targets in passing argument 1 of 'xstrdup' differ in signedness
events.c:2453: warning: pointer targets in passing argument 1 of 'cp_to_iso' differ in signedness
events.c:2506: warning: pointer targets in passing argument 1 of 'voice_play' differ in signedness
events.c: In function 'handle_search50':
events.c:2676: warning: pointer targets in passing argument 1 of 'cp_to_iso' differ in signedness
events.c:2677: warning: pointer targets in passing argument 1 of 'cp_to_iso' differ in signedness
events.c:2678: warning: pointer targets in passing argument 1 of 'cp_to_iso' differ in signedness
events.c:2679: warning: pointer targets in passing argument 1 of 'cp_to_iso' differ in signedness
events.c: In function 'handle_image_reply':
events.c:2808: warning: pointer targets in assignment differ in signedness
events.c:2813: warning: pointer targets in assignment differ in signedness
events.c:2815: warning: pointer targets in passing argument 1 of 'xstrdup' differ in signedness
events.c:2815: warning: pointer targets in assignment differ in signedness
events.c:2829: warning: pointer targets in passing argument 1 of 'open' differ in signedness
events.c:2837: warning: pointer targets in passing argument 1 of 'unlink' differ in signedness
events.c:2842: warning: pointer targets in passing argument 1 of 'unlink' differ in signedness
events.c:2850: warning: pointer targets in passing argument 1 of 'unlink' differ in signedness
events.c:2857: warning: pointer targets in passing argument 1 of 'unlink' differ in signedness
events.c:2865: warning: pointer targets in passing argument 3 of 'event_check' differ in signedness
events.c:2921: warning: pointer targets in passing argument 1 of 'iso_to_cp' differ in signedness
mipsel-openwrt-linux-uclibc-gcc -I.. -I../lib -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -I/openwrt/trunk/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/include -Wall -I/usr/include/gsm -DDATADIR=\"/usr/share/ekg\" -DSYSCONFDIR=\"/etc\" -c -o themes.o themes.c
themes.c: In function 'va_format_string':
themes.c:372: warning: pointer targets in passing argument 1 of 'iso_to_ascii' differ in signedness
mipsel-openwrt-linux-uclibc-gcc -I.. -I../lib -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -I/openwrt/trunk/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/include -Wall -I/usr/include/gsm -DDATADIR=\"/usr/share/ekg\" -DSYSCONFDIR=\"/etc\" -c -o vars.o vars.c
mipsel-openwrt-linux-uclibc-gcc -I.. -I../lib -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -I/openwrt/trunk/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/include -Wall -I/usr/include/gsm -DDATADIR=\"/usr/share/ekg\" -DSYSCONFDIR=\"/etc\" -c -o dynstuff.o dynstuff.c
mipsel-openwrt-linux-uclibc-gcc -I.. -I../lib -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -I/openwrt/trunk/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/include -Wall -I/usr/include/gsm -DDATADIR=\"/usr/share/ekg\" -DSYSCONFDIR=\"/etc\" -c -o userlist.o userlist.c
userlist.c: In function 'userlist_set':
userlist.c:300: warning: pointer targets in passing argument 1 of 'iso_to_cp' differ in signedness
userlist.c:302: warning: pointer targets in passing argument 1 of 'cp_to_iso' differ in signedness
mipsel-openwrt-linux-uclibc-gcc -I.. -I../lib -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -I/openwrt/trunk/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/include -Wall -I/usr/include/gsm -DDATADIR=\"/usr/share/ekg\" -DSYSCONFDIR=\"/etc\" -c -o ekg.o ekg.c
ekg.c: In function 'ekg_wait_for_key':
ekg.c:589: warning: pointer targets in passing argument 1 of 'iso_to_cp' differ in signedness
mipsel-openwrt-linux-uclibc-gcc -I.. -I../lib -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -I/openwrt/trunk/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/include -Wall -I/usr/include/gsm -DDATADIR=\"/usr/share/ekg\" -DSYSCONFDIR=\"/etc\" -c -o xmalloc.o xmalloc.c
mipsel-openwrt-linux-uclibc-gcc -I.. -I../lib -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -I/openwrt/trunk/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/include -Wall -I/usr/include/gsm -DDATADIR=\"/usr/share/ekg\" -DSYSCONFDIR=\"/etc\" -c -o mail.o mail.c
mipsel-openwrt-linux-uclibc-gcc -I.. -I../lib -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -I/openwrt/trunk/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/include -Wall -I/usr/include/gsm -DDATADIR=\"/usr/share/ekg\" -DSYSCONFDIR=\"/etc\" -c -o msgqueue.o msgqueue.c
msgqueue.c: In function 'msg_queue_add':
msgqueue.c:88: warning: pointer targets in passing argument 1 of 'xstrdup' differ in signedness
msgqueue.c:88: warning: pointer targets in assignment differ in signedness
msgqueue.c: In function 'msg_queue_flush':
msgqueue.c:203: warning: pointer targets in passing argument 1 of 'xstrdup' differ in signedness
msgqueue.c:203: warning: pointer targets in initialization differ in signedness
msgqueue.c: In function 'msg_queue_read':
msgqueue.c:410: warning: pointer targets in assignment differ in signedness
mipsel-openwrt-linux-uclibc-gcc -I.. -I../lib -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -I/openwrt/trunk/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/include -Wall -I/usr/include/gsm -DDATADIR=\"/usr/share/ekg\" -DSYSCONFDIR=\"/etc\" -c -o emoticons.o emoticons.c
mipsel-openwrt-linux-uclibc-gcc -I.. -I../lib -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -I/openwrt/trunk/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/include -Wall -I/usr/include/gsm -DDATADIR=\"/usr/share/ekg\" -DSYSCONFDIR=\"/etc\" -c -o configfile.o configfile.c
mipsel-openwrt-linux-uclibc-gcc -I.. -I../lib -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -I/openwrt/trunk/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/include -Wall -I/usr/include/gsm -DDATADIR=\"/usr/share/ekg\" -DSYSCONFDIR=\"/etc\" -c -o ui-ncurses.o ui-ncurses.c
ui-ncurses.c: In function 'window_printat':
ui-ncurses.c:1739: warning: pointer targets in passing argument 1 of 'iso_to_ascii' differ in signedness
ui-ncurses.c:1847: warning: pointer targets in passing argument 1 of 'iso_to_ascii' differ in signedness
ui-ncurses.c: In function 'ui_ncurses_loop':
ui-ncurses.c:3999: warning: pointer targets in assignment differ in signedness
ui-ncurses.c:4016: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
ui-ncurses.c: In function 'ui_ncurses_event':
ui-ncurses.c:4696: warning: pointer targets in initialization differ in signedness
mipsel-openwrt-linux-uclibc-gcc -I.. -I../lib -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -I/openwrt/trunk/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/include -Wall -I/usr/include/gsm -DDATADIR=\"/usr/share/ekg\" -DSYSCONFDIR=\"/etc\" -c -o voice.o voice.c
voice.c:27:17: error: gsm.h: No such file or directory
voice.c:38: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'voice_gsm_enc'
voice.c: In function 'voice_open':
voice.c:52: error: 'gsm_signal' undeclared (first use in this function)
voice.c:52: error: (Each undeclared identifier is reported only once
voice.c:52: error: for each function it appears in.)
voice.c:52: error: expected ';' before 'tmp'
voice.c:88: error: 'tmp' undeclared (first use in this function)
voice.c:91: error: 'voice_gsm_dec' undeclared (first use in this function)
voice.c:91: warning: implicit declaration of function 'gsm_create'
voice.c:91: error: 'voice_gsm_enc' undeclared (first use in this function)
voice.c:96: warning: implicit declaration of function 'gsm_option'
voice.c:96: error: 'GSM_OPT_FAST' undeclared (first use in this function)
voice.c:97: error: 'GSM_OPT_WAV49' undeclared (first use in this function)
voice.c:98: error: 'GSM_OPT_VERBOSE' undeclared (first use in this function)
voice.c:99: error: 'GSM_OPT_LTP_CUT' undeclared (first use in this function)
voice.c: In function 'voice_close':
voice.c:143: error: 'voice_gsm_dec' undeclared (first use in this function)
voice.c:144: warning: implicit declaration of function 'gsm_destroy'
voice.c:148: error: 'voice_gsm_enc' undeclared (first use in this function)
voice.c: In function 'voice_play':
voice.c:167: error: 'gsm_signal' undeclared (first use in this function)
voice.c:167: error: expected ';' before 'output'
voice.c:181: warning: implicit declaration of function 'gsm_decode'
voice.c:181: error: 'voice_gsm_dec' undeclared (first use in this function)
voice.c:181: error: 'output' undeclared (first use in this function)
voice.c: In function 'voice_record':
voice.c:209: error: 'gsm_signal' undeclared (first use in this function)
voice.c:209: error: expected ';' before 'input'
voice.c:221: error: 'input' undeclared (first use in this function)
voice.c:224: warning: implicit declaration of function 'gsm_encode'
voice.c:224: error: 'voice_gsm_enc' undeclared (first use in this function)
make[4]: *** [voice.o] Error 1
make[4]: Leaving directory `/openwrt/trunk/build_dir/target-mipsel_uClibc-0.9.30.1/ekg-1.7/src'
make[3]: *** [ekg] Error 2
make[3]: Leaving directory `/openwrt/trunk/build_dir/target-mipsel_uClibc-0.9.30.1/ekg-1.7'
make[2]: *** [/openwrt/trunk/build_dir/target-mipsel_uClibc-0.9.30.1/ekg-1.7/.built] Error 2
make[2]: Leaving directory `/openwrt/trunk/package/ekg'
make[1]: *** [package/ekg/compile] Error 2
make[1]: Leaving directory `/openwrt/trunk'
make: *** [package/ekg-compile] Error 2wywala sie podczas kompilowania czy to znaczy ze coś nie tak ?
mam pytanie czy jak zrobie po prostu svn up i potem skompiluje jeszcze raz paczki to przestaną one być kompatybilne z binem, tzn z fliskiem flash co mam na ruterze ?
edit:
spróbowałem jeszcze tak:
lech@ubuntu:/openwrt/trunk$ make package/feeds/packages/ekg-{clean,compile} V=99make[1]: Entering directory `/openwrt/trunk'
make[1]: *** No rule to make target `package/feeds/packages/ekg-clean'. Stop.
make[1]: Leaving directory `/openwrt/trunk'
make: *** [package/feeds/packages/ekg-clean] Error 2
ale też dupa widac ![]()
Strony Poprzednia 1 2 3 4 5 Następna
Zaloguj się lub zarejestruj by napisać odpowiedź
eko.one.pl → Oprogramowanie / Software → Kompilacja wlasnej paczki
Forum oparte o PunBB, wspierane przez Informer Technologies, Inc