BoxMan-Real
Neuer User
- Mitglied seit
- 18 Mai 2006
- Beiträge
- 49
- Punkte für Reaktionen
- 0
- Punkte
- 0
configure: creating ./config.status
config.status: creating Makefile
config.status: creating buildpkg.sh
config.status: creating opensshd.init
config.status: creating openssh.xml
config.status: creating openbsd-compat/Makefile
config.status: creating openbsd-compat/regress/Makefile
config.status: creating scard/Makefile
config.status: creating ssh_prng_cmds
config.status: creating survey.sh
config.status: creating config.h
OpenSSH has been configured with the following options:
User binaries: /usr/bin
System binaries: /usr/sbin
Configuration files: /etc
Askpass program: /usr/lib/ssh-askpass
Manual pages: /usr/share/man/manX
PID file: /var/run
Privilege separation chroot path: /var/empty
sshd default user PATH: /usr/bin:/bin:/usr/sbin:/sbin
Manpage format: doc
PAM support: no
OSF SIA support: no
KerberosV support: no
SELinux support: no
Smartcard support: no
S/KEY support: no
TCP Wrappers support: no
MD5 password support: no
libedit support: no
Solaris process contract support: no
IP address in $DISPLAY hack: no
Translate v4 in v6 hack: yes
BSD Auth support: no
Random number source: OpenSSL internal ONLY
Host: mipsel-unknown-linux-gnu
Compiler: /home/guido/7270/freetz-trunk_r3295/toolchain/target/usr/bin/mipsel-linux-uclibc-gcc
Compiler flags: -Os -pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wno-pointer-sign -Wformat-security -fno-builtin-memset -std=gnu99
Preprocessor flags:
Linker flags:
Libraries: -lcrypto -lutil -lz -lcrypt -lresolv -lresolv
touch source/openssh-5.1p1/.configured
PATH=""/home/guido/7270/freetz-trunk_r3295/toolchain/target/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"" \
make -j2 -C source/openssh-5.1p1 sftp-server \
LDFLAGS="-static -all-static -L. -Lopenbsd-compat/"
make[1]: Betrete Verzeichnis '/home/guido/7270/freetz-trunk_r3295/source/openssh-5.1p1'
(cd openbsd-compat && make)
/home/guido/7270/freetz-trunk_r3295/toolchain/target/usr/bin/mipsel-linux-uclibc-gcc -Os -pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wno-pointer-sign -Wformat-security -fno-builtin-memset -std=gnu99 -I. -I. -DSSHDIR=\"/etc\" -D_PATH_SSH_PROGRAM=\"/usr/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/lib/ssh-askpass\" -D_PATH_SFTP_SERVER=\"/usr/lib/sftp-server\" -D_PATH_SSH_KEY_SIGN=\"/usr/lib/ssh-keysign\" -D_PATH_SSH_PIDDIR=\"/var/run\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" -DSSH_RAND_HELPER=\"/usr/lib/ssh-rand-helper\" -DHAVE_CONFIG_H -c acss.c
make[2]: Betrete Verzeichnis '/home/guido/7270/freetz-trunk_r3295/source/openssh-5.1p1/openbsd-compat'
/home/guido/7270/freetz-trunk_r3295/toolchain/target/usr/bin/mipsel-linux-uclibc-gcc -Os -pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wno-pointer-sign -Wformat-security -fno-builtin-memset -std=gnu99 -I. -I.. -I. -I./.. -DHAVE_CONFIG_H -c bsd-arc4random.c
In file included from acss.c:21:
/home/guido/7270/freetz-trunk_r3295/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/bin-ccache/../lib/gcc/mipsel-linux-uclibc/4.2.4/../../../../mipsel-linux-uclibc/sys-include/string.h:60: error: conflicting types for 'memset'
/home/guido/7270/freetz-trunk_r3295/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/bin-ccache/../lib/gcc/mipsel-linux-uclibc/4.2.4/../../../../mipsel-linux-uclibc/sys-include/strings.h:71: error: previous implicit declaration of 'memset' was here
make[1]: *** [acss.o] Fehler 1
make[1]: *** Warte auf noch nicht beendete Prozesse...
/home/guido/7270/freetz-trunk_r3295/toolchain/target/usr/bin/mipsel-linux-uclibc-gcc -Os -pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wno-pointer-sign -Wformat-security -fno-builtin-memset -std=gnu99 -I. -I.. -I. -I./.. -DHAVE_CONFIG_H -c bsd-asprintf.c
In file included from bsd-arc4random.c:22:
/home/guido/7270/freetz-trunk_r3295/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/bin-ccache/../lib/gcc/mipsel-linux-uclibc/4.2.4/../../../../mipsel-linux-uclibc/sys-include/string.h:60: error: conflicting types for 'memset'
/home/guido/7270/freetz-trunk_r3295/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/bin-ccache/../lib/gcc/mipsel-linux-uclibc/4.2.4/../../../../mipsel-linux-uclibc/sys-include/strings.h:71: error: previous implicit declaration of 'memset' was here
make[2]: *** [bsd-arc4random.o] Fehler 1
make[2]: *** Warte auf noch nicht beendete Prozesse...
make[2]: Verlasse Verzeichnis '/home/guido/7270/freetz-trunk_r3295/source/openssh-5.1p1/openbsd-compat'
make[1]: *** [openbsd-compat/libopenbsd-compat.a] Fehler 2
make[1]: Verlasse Verzeichnis '/home/guido/7270/freetz-trunk_r3295/source/openssh-5.1p1'
make: *** [source/openssh-5.1p1/sftp-server] Fehler 2
guido@Ubuntu9-VM-Laptop:~/7270/freetz-trunk_r3295$
Der Patch am Ticket im Trac scheint zu funktionieren.
1. alten Trunk-Files komplett löschen
rm -rf TRUNKVERZEICHNIS
2. trunk neu auschecken
svn co http://svn.freetz.org/trunk freetz-trunk
3. In Verzeichnis wechseln
cd freetz-trunk
4. Patch ziehen
wget http://www.freetz.org/raw-attachment/ticket/426/toolchain_revert_sysroot.patch
5. Patch einspielen
patch -p0 < toolchain_revert_sysroot.patch
6. Download-Verzeichnis anlegen
mkdir dl
7. In das Downloadverzeichnis wechseln
cd dl
8. richtiges GCC ziehen
wget http://freetz.magenbrot.net/gcc-4.3.3-uclibc-0.9.29-freetz-0.1.tar.lzma
9. in das Trunk-Verzeichnis zurückwechseln
cd ..
10. Menuconfig --> habe nur Hardware auf 7141 geändert --> exit --> save config
make menuconfig
11. make
make
scheint so, hatte jetzt mal den "sftp Support" aus dem Dropbear-Paket rausgelassen. Sieht aus als läufts erstmal weiter.@colonia
Scheint so als müssten wir openssh patchen,
mkdir .libs
/home/guido/7270/freetz-trunk_r3295/toolchain/target/usr/bin/mipsel-linux-uclibc-gcc -I/home/guido/7270/freetz-trunk_r3295/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/usr/include -I/home/guido/7270/freetz-trunk_r3295/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/home/guido/7270/freetz-trunk_r3295/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/usr/include -pthread -Os -pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static -o blocklist-test blocklist-test.o ./libtransmission.a ../third-party/miniupnp/libminiupnp.a ../third-party/libnatpmp/libnatpmp.a ../third-party/libevent/.libs/libevent.a -lnsl -lrt -lresolv -L/home/guido/7270/freetz-trunk_r3295/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/usr/lib /home/guido/7270/freetz-trunk_r3295/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/usr/lib/libcurl.a -L/home/guido/7270/freetz-trunk_r3295/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/home/guido/7270/freetz-trunk_r3295/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/home/guido/7270/freetz-trunk_r3295/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/usr/lib -L/home/guido/7270/freetz-trunk_r3295/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/lib -lssl -lcrypto -ldl -lz -lm
/home/guido/7270/freetz-trunk_r3295/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/bin-ccache/../lib/gcc/mipsel-linux-uclibc/4.2.4/../../../../mipsel-linux-uclibc/bin/ld: cannot find -lz
collect2: ld returned 1 exit status
make[3]: *** [blocklist-test] Fehler 1
make[3]: *** Warte auf noch nicht beendete Prozesse...
/home/guido/7270/freetz-trunk_r3295/toolchain/target/usr/bin/mipsel-linux-uclibc-gcc -I/home/guido/7270/freetz-trunk_r3295/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/usr/include -I/home/guido/7270/freetz-trunk_r3295/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/home/guido/7270/freetz-trunk_r3295/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/usr/include -pthread -Os -pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static -o bencode-test bencode-test.o ./libtransmission.a ../third-party/miniupnp/libminiupnp.a ../third-party/libnatpmp/libnatpmp.a ../third-party/libevent/.libs/libevent.a -lnsl -lrt -lresolv -L/home/guido/7270/freetz-trunk_r3295/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/usr/lib /home/guido/7270/freetz-trunk_r3295/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/usr/lib/libcurl.a -L/home/guido/7270/freetz-trunk_r3295/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/home/guido/7270/freetz-trunk_r3295/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/home/guido/7270/freetz-trunk_r3295/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/usr/lib -L/home/guido/7270/freetz-trunk_r3295/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/lib -lssl -lcrypto -ldl -lz -lm
/home/guido/7270/freetz-trunk_r3295/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/bin-ccache/../lib/gcc/mipsel-linux-uclibc/4.2.4/../../../../mipsel-linux-uclibc/bin/ld: cannot find -lz
collect2: ld returned 1 exit status
make[3]: *** [bencode-test] Fehler 1
make[3]: Verlasse Verzeichnis '/home/guido/7270/freetz-trunk_r3295/source/transmission-1.52/libtransmission'
make[2]: *** [all] Fehler 2
make[2]: Verlasse Verzeichnis '/home/guido/7270/freetz-trunk_r3295/source/transmission-1.52/libtransmission'
make[1]: *** [all-recursive] Fehler 1
make[1]: Verlasse Verzeichnis '/home/guido/7270/freetz-trunk_r3295/source/transmission-1.52'
make: *** [source/transmission-1.52/cli/transmissioncli] Fehler 2
guido@Ubuntu9-VM-Laptop:~/7270/freetz-trunk_r3295$
--2009-04-28 19:56:45-- ftp://ftp.avm.de/fritz.box/fritzbox.fon_wlan_7141/firmware/deutsch/FRITZ.Box_Fon_WLAN_7141.40.04.68.image
=> `FRITZ.Box_Fon_WLAN_7141.40.04.68.image'
Resolving ftp.avm.de... 212.42.244.90
Connecting to ftp.avm.de|212.42.244.90|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD /fritz.box/fritzbox.fon_wlan_7141/firmware/deutsch ... done.
==> SIZE FRITZ.Box_Fon_WLAN_7141.40.04.68.image ... done.
==> PASV ... done. ==> RETR FRITZ.Box_Fon_WLAN_7141.40.04.68.image ...
No such file `FRITZ.Box_Fon_WLAN_7141.40.04.68.image'.
make: *** [dl/fw/FRITZ.Box_Fon_WLAN_7141.40.04.68.image] Error 1
openbsd-compat//libopenbsd-compat.a(port-tun.o): In function `sys_tun_infilter':
port-tun.c:(.text+0xa8): undefined reference to `bcopy'
collect2: ld returned 1 exit status
make[1]: *** [sftp-server] Fehler 1