Hilfe: xboxproxy für freetz kompilieren incl. libnet und libpcap

fwalter

Neuer User
Mitglied seit
21 Mrz 2006
Beiträge
26
Punkte für Reaktionen
1
Punkte
1
Hallo,

ich versuche gerade xboxproxy in mein freetz-image zu integrieren. Hintergrund ist, dass wir mehrere Fritzboxen per OpenVPN-tunneling zusammengeschaltet (verschiedene Subnetze) haben, und jetzt die vorhandenen xbox1 in den verschiedenen Netzen zum spielen über systemlink bewegen wollen. Da die xbox das ganze über Broadcasts macht, die nicht in die anderen Subnetze geroutet werden, finden sich die Xboxen aber nicht.

Hier setzt xboxproxy an, und leitet die Broadcasts an einen xboxproxy im anderen Subnetz weiter. Das ganze ist nur leider für freebsd gebaut worden.

Einen openwrt-port gibt es aber schon siehe hier. Fertige ipk-Pakete findet man hier.

Ich habe das binary aus dem ipk-Paket auch schon extrahiert und versucht zu starten, nur ist zwingend die libnet und libpcap vonnöten. Nachdem ich auch diese nachinstalliert habe, kommt folgende Fehlermedung:
Code:
./xboxproxy: can't resolve symbol '__uClibc_start_main'
was offenbar auf eine falsche uclibc-Version hinweist.

Das integrieren und kompilieren des Paketes habe ich anhand der Anleitung im Wiki schon probiert, dort scheitere ich aber an einer Fehlermeldung vom Compiler, der einen check auf eine libpcap durchführen will.
Code:
cannot check for file existence when cross compiling

Kann mir jemand noch Tips geben für die Integration des Paketes in Freetz, sodaß dieses direkt durch freetz kompiliert wird?

Oder gibt es ein anderes Tool (bitte keine Hinweise auf xbxonnect oder xlink, habe ich schon durch), welches man auf der FritzBox laufen lassen könnte und welches die Broadcasts weiterleitet.

Danke

Gruß

fwalter
 
So, nachdem ich nun diverse Howto's, Webseiten usw. gelesen habe kome ich nun doch nicht mehr weiter.

Die erste Hürde ist das kompilieren von libnet (libpcap ist schon in freetz integriert).

Aber hier geht es schon los, welches libnet nehmen? libnet0, oder libnet1 ? Da der Autor von xboxproxy sagt, das beide gehen, habe ich mich für libnet 1.1.2.1 entschieden, zumal ich einige Infos zum Einsatz auf openwrt dazu gelesen habe.

folgende libnet.mk habe ich im Verzeichnis /freetz-trunk/make/libs/ erstellt, zurechtgebastelt aus Wiki-Quellen und änhliche andere *.mk-Dateien:

Code:
$(call PKG_INIT_LIB, 1.1.2.1)
$(PKG)_LIB_VERSION:=1.1.2.1
$(PKG)_SOURCE:=$(pkg)-$($(PKG)_VERSION).tar.gz
$(PKG)_SITE:=http://www.packetfactory.net/libnet/dist
$(PKG)_BINARY:=$($(PKG)_DIR)/$(pkg).so.$($(PKG)_LIB_VERSION)
$(PKG)_STAGING_BINARY:=$(TARGET_TOOLCHAIN_STAGING_DIR)/lib/$(pkg).so.$($(PKG)_LIB_VERSION)
$(PKG)_TARGET_BINARY:=$($(PKG)_DEST_LIB)/$(pkg).so.$($(PKG)_LIB_VERSION)
$(PKG)_SOURCE_MD5:=

$(PKG)_DEPENDS_ON := libnet
$(PKG)_CONFIGURE_OPTIONS += --enable-shared
$(PKG)_CONFIGURE_OPTIONS += --enable-static
$(PKG)_CONFIGURE_OPTIONS += --with-pf_packet=yes


$(PKG_SOURCE_DOWNLOAD)
$(PKG_UNPACKED)
$(PKG_CONFIGURED_CONFIGURE)


$($(PKG)_BINARY): $($(PKG)_DIR)/.configured
	PATH="$(TARGET_PATH)" \
		$(MAKE) -C $(LIBNET_DIR)  \
                CC="$(TARGET_CC)" \
                CFLAGS="$(TARGET_CFLAGS)"


$($(PKG)_STAGING_BINARY): $($(PKG)_BINARY)
	PATH=$(TARGET_PATH) \
		$(MAKE) -C $(LIBNET_DIR) \
		DESTDIR="$(TARGET_TOOLCHAIN_STAGING_DIR)" \
		install

$($(PKG)_TARGET_BINARY): $($(PKG)_STAGING_BINARY)
	$(INSTALL_LIBRARY_STRIP)

$(pkg): 

$(pkg)-precompiled: $($(PKG)_TARGET_BINARY)

$(pkg)-clean:
	-$(MAKE) -C $(LIBNET_DIR) clean
	$(RM) $(TARGET_TOOLCHAIN_STAGING_DIR)/usr/lib/libnet* \
		$(TARGET_TOOLCHAIN_STAGING_DIR)/usr/include/net* \
		$(TARGET_TOOLCHAIN_STAGING_DIR)/usr/share/man/man3/net.3

$(pkg)-uninstall:
	$(RM) $(LIBNET_TARGET_DIR)/libnet*.so*

$(PKG_FINISH)

im Verzeichnis freetz-trunk/source/libnet-1.1.2.1/include/ muss noch die libnet.h abgeändert werden und zwar in Zeile 117 muss zwischen #define und 1 LIBNET_BIG_ENDIAN eingefügt werden:
Code:
#define LIBNET_VERSION  "1.1.2.1"
#define LIBNET_BIG_ENDIAN 1
Offenbar wird beim Ablauf des ./configure-Skript eine Variable nicht besetzt. Wie kann ich dies im mk-File übergeben?

Ein anschließendes "make libnet-precompiled" führt dann zu folgenden Fehlern:

Code:
jars@jars-desktop:~/Desktop/sda3/freetz-trunk-neu$ make libnet-precompiled
make: Zirkuläre Datei libnet-precompiled--int <- libnet-precompiled Abhängigkeit wird nicht verwendet.
PATH="/home/jars/Desktop/sda3/freetz-trunk-neu/toolchain/target/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" \
		make -j2 -C source/libnet-1.1.2.1 all \
		CCOPT="-fPIC -Os -pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64"
make[1]: Betrete Verzeichnis '/home/jars/Desktop/sda3/freetz-trunk-neu/source/libnet-1.1.2.1'
Making all in include
make[2]: Betrete Verzeichnis '/home/jars/Desktop/sda3/freetz-trunk-neu/source/libnet-1.1.2.1/include'
make  all-recursive
make[3]: Betrete Verzeichnis '/home/jars/Desktop/sda3/freetz-trunk-neu/source/libnet-1.1.2.1/include'
Making all in libnet
make[4]: Betrete Verzeichnis '/home/jars/Desktop/sda3/freetz-trunk-neu/source/libnet-1.1.2.1/include/libnet'
make[4]: Für das Ziel »all« ist nichts zu tun.
make[4]: Verlasse Verzeichnis '/home/jars/Desktop/sda3/freetz-trunk-neu/source/libnet-1.1.2.1/include/libnet'
make[4]: Betrete Verzeichnis '/home/jars/Desktop/sda3/freetz-trunk-neu/source/libnet-1.1.2.1/include'
make[4]: Verlasse Verzeichnis '/home/jars/Desktop/sda3/freetz-trunk-neu/source/libnet-1.1.2.1/include'
make[3]: Verlasse Verzeichnis '/home/jars/Desktop/sda3/freetz-trunk-neu/source/libnet-1.1.2.1/include'
make[2]: Verlasse Verzeichnis '/home/jars/Desktop/sda3/freetz-trunk-neu/source/libnet-1.1.2.1/include'
Making all in src
make[2]: Betrete Verzeichnis '/home/jars/Desktop/sda3/freetz-trunk-neu/source/libnet-1.1.2.1/src'
make[2]: Für das Ziel »all« ist nichts zu tun.
make[2]: Verlasse Verzeichnis '/home/jars/Desktop/sda3/freetz-trunk-neu/source/libnet-1.1.2.1/src'
Making all in sample
make[2]: Betrete Verzeichnis '/home/jars/Desktop/sda3/freetz-trunk-neu/source/libnet-1.1.2.1/sample'
make[2]: Für das Ziel »all« ist nichts zu tun.
make[2]: Verlasse Verzeichnis '/home/jars/Desktop/sda3/freetz-trunk-neu/source/libnet-1.1.2.1/sample'
make[2]: Betrete Verzeichnis '/home/jars/Desktop/sda3/freetz-trunk-neu/source/libnet-1.1.2.1'
make[2]: Für das Ziel »all-am« ist nichts zu tun.
make[2]: Verlasse Verzeichnis '/home/jars/Desktop/sda3/freetz-trunk-neu/source/libnet-1.1.2.1'
make[1]: Verlasse Verzeichnis '/home/jars/Desktop/sda3/freetz-trunk-neu/source/libnet-1.1.2.1'
PATH="/home/jars/Desktop/sda3/freetz-trunk-neu/toolchain/target/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" \
		make -j2 -C source/libnet-1.1.2.1 \
		DESTDIR="/home/jars/Desktop/sda3/freetz-trunk-neu/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc" \
		install
make[1]: Betrete Verzeichnis '/home/jars/Desktop/sda3/freetz-trunk-neu/source/libnet-1.1.2.1'
Making install in include
make[2]: Betrete Verzeichnis '/home/jars/Desktop/sda3/freetz-trunk-neu/source/libnet-1.1.2.1/include'
Making install in libnet
make[3]: Betrete Verzeichnis '/home/jars/Desktop/sda3/freetz-trunk-neu/source/libnet-1.1.2.1/include/libnet'
make[4]: Betrete Verzeichnis '/home/jars/Desktop/sda3/freetz-trunk-neu/source/libnet-1.1.2.1/include/libnet'
make[4]: Für das Ziel »install-exec-am« ist nichts zu tun.
/bin/bash ../../mkinstalldirs /home/jars/Desktop/sda3/freetz-trunk-neu/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/usr/include/libnet
 /usr/bin/install -c -m 644 libnet-asn1.h /home/jars/Desktop/sda3/freetz-trunk-neu/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/usr/include/libnet/libnet-asn1.h
 /usr/bin/install -c -m 644 libnet-functions.h /home/jars/Desktop/sda3/freetz-trunk-neu/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/usr/include/libnet/libnet-functions.h
 /usr/bin/install -c -m 644 libnet-headers.h /home/jars/Desktop/sda3/freetz-trunk-neu/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/usr/include/libnet/libnet-headers.h
 /usr/bin/install -c -m 644 libnet-macros.h /home/jars/Desktop/sda3/freetz-trunk-neu/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/usr/include/libnet/libnet-macros.h
 /usr/bin/install -c -m 644 libnet-structures.h /home/jars/Desktop/sda3/freetz-trunk-neu/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/usr/include/libnet/libnet-structures.h
 /usr/bin/install -c -m 644 libnet-types.h /home/jars/Desktop/sda3/freetz-trunk-neu/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/usr/include/libnet/libnet-types.h
make[4]: Verlasse Verzeichnis '/home/jars/Desktop/sda3/freetz-trunk-neu/source/libnet-1.1.2.1/include/libnet'
make[3]: Verlasse Verzeichnis '/home/jars/Desktop/sda3/freetz-trunk-neu/source/libnet-1.1.2.1/include/libnet'
make[3]: Betrete Verzeichnis '/home/jars/Desktop/sda3/freetz-trunk-neu/source/libnet-1.1.2.1/include'
make[4]: Betrete Verzeichnis '/home/jars/Desktop/sda3/freetz-trunk-neu/source/libnet-1.1.2.1/include'
make[4]: Für das Ziel »install-exec-am« ist nichts zu tun.
/bin/bash ../mkinstalldirs /home/jars/Desktop/sda3/freetz-trunk-neu/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/usr/include
 /usr/bin/install -c -m 644 libnet.h /home/jars/Desktop/sda3/freetz-trunk-neu/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/usr/include/libnet.h
make[4]: Verlasse Verzeichnis '/home/jars/Desktop/sda3/freetz-trunk-neu/source/libnet-1.1.2.1/include'
make[3]: Verlasse Verzeichnis '/home/jars/Desktop/sda3/freetz-trunk-neu/source/libnet-1.1.2.1/include'
make[2]: Verlasse Verzeichnis '/home/jars/Desktop/sda3/freetz-trunk-neu/source/libnet-1.1.2.1/include'
Making install in src
make[2]: Betrete Verzeichnis '/home/jars/Desktop/sda3/freetz-trunk-neu/source/libnet-1.1.2.1/src'
make[3]: Betrete Verzeichnis '/home/jars/Desktop/sda3/freetz-trunk-neu/source/libnet-1.1.2.1/src'
make[3]: Für das Ziel »install-data-am« ist nichts zu tun.
/bin/bash ../mkinstalldirs /home/jars/Desktop/sda3/freetz-trunk-neu/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/usr/lib
 /usr/bin/install -c -m 644 libnet.a /home/jars/Desktop/sda3/freetz-trunk-neu/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/usr/lib/libnet.a
 mipsel-linux-ranlib /home/jars/Desktop/sda3/freetz-trunk-neu/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/usr/lib/libnet.a
make[3]: Verlasse Verzeichnis '/home/jars/Desktop/sda3/freetz-trunk-neu/source/libnet-1.1.2.1/src'
make[2]: Verlasse Verzeichnis '/home/jars/Desktop/sda3/freetz-trunk-neu/source/libnet-1.1.2.1/src'
Making install in sample
make[2]: Betrete Verzeichnis '/home/jars/Desktop/sda3/freetz-trunk-neu/source/libnet-1.1.2.1/sample'
make[3]: Betrete Verzeichnis '/home/jars/Desktop/sda3/freetz-trunk-neu/source/libnet-1.1.2.1/sample'
make[3]: Für das Ziel »install-exec-am« ist nichts zu tun.
make[3]: Für das Ziel »install-data-am« ist nichts zu tun.
make[3]: Verlasse Verzeichnis '/home/jars/Desktop/sda3/freetz-trunk-neu/source/libnet-1.1.2.1/sample'
make[2]: Verlasse Verzeichnis '/home/jars/Desktop/sda3/freetz-trunk-neu/source/libnet-1.1.2.1/sample'
make[2]: Betrete Verzeichnis '/home/jars/Desktop/sda3/freetz-trunk-neu/source/libnet-1.1.2.1'
make[3]: Betrete Verzeichnis '/home/jars/Desktop/sda3/freetz-trunk-neu/source/libnet-1.1.2.1'
make[3]: Für das Ziel »install-exec-am« ist nichts zu tun.
make[3]: Für das Ziel »install-data-am« ist nichts zu tun.
make[3]: Verlasse Verzeichnis '/home/jars/Desktop/sda3/freetz-trunk-neu/source/libnet-1.1.2.1'
make[2]: Verlasse Verzeichnis '/home/jars/Desktop/sda3/freetz-trunk-neu/source/libnet-1.1.2.1'
make[1]: Verlasse Verzeichnis '/home/jars/Desktop/sda3/freetz-trunk-neu/source/libnet-1.1.2.1'
chmod 755 /home/jars/Desktop/sda3/freetz-trunk-neu/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/lib/libnet.so.1.1.2.1
chmod: Zugriff auf „/home/jars/Desktop/sda3/freetz-trunk-neu/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/lib/libnet.so.1.1.2.1“ nicht möglich: No such file or directory
make: *** [root/lib/libnet.so.1.1.2.1] Fehler 1

Anscheinend habe ich die Pfade nicht richtig gesetzt. Aber ich blicke irgendwie nicht mehr durch, wie es korrekt im libnet.mk eingestellt werden muss.

Kann mir jemand helfen? :(

Danke

fwalter
 
versuch eventuell erst mal, das zuerst "nur" zu *kompilieren* und händisch auf die box zum testen zu kriegen - um die integration in freetz kann man sich dann später kümmern (und muss sozusagen nicht beides auf einmal verstehen).

edit: sry, hab ich im ersten post überlesen - hast du offensichtlich schon versucht... dann weiter dranbleiben! configure so patchen, dass der check für die library immer positiv ist (muss dann natürlich auch vorhanden sein)
 
Woher kommt denn das chmod, das den Fehler verursacht? Es scheint aus dem Makefile der obersten Ebene ausgeführt zu werden. Vermutlich ist LIB_VERSION falsch. Schau mal nach /home/jars/Desktop/sda3/freetz-trunk-neu/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/lib/libnet.so* um zu sehen, ob/welche Dateien da sind.

PS:
Wenn ich nichts übersehen habe, wurde in dem Protokoll oben gar nicht versucht, eine Shared Library zu installieren. Du kannst erstmal prüfen, ob überhaupt eine erstellt wurde.
 
So, habe jetzt mal nur die lib versucht zu kompilieren nach der von coolphoenix geposteten Anleitung.

Dabei kam das hier raus:

Code:
Wa,--trap -Wall -c `test -f 'libnet_build_tcp.c' || echo './'`libnet_build_tcp.c
mipsel-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../include     -Os -pipe -march=4kc -Wa,--trap -Wall -c `test -f 'libnet_build_token_ring.c' || echo './'`libnet_build_token_ring.c
mipsel-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../include     -Os -pipe -march=4kc -Wa,--trap -Wall -c `test -f 'libnet_build_udp.c' || echo './'`libnet_build_udp.c
mipsel-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../include     -Os -pipe -march=4kc -Wa,--trap -Wall -c `test -f 'libnet_build_vrrp.c' || echo './'`libnet_build_vrrp.c
mipsel-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../include     -Os -pipe -march=4kc -Wa,--trap -Wall -c `test -f 'libnet_advanced.c' || echo './'`libnet_advanced.c
mipsel-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../include     -Os -pipe -march=4kc -Wa,--trap -Wall -c `test -f 'libnet_checksum.c' || echo './'`libnet_checksum.c
libnet_checksum.c: In function 'libnet_do_checksum':
libnet_checksum.c:176: warning: dereferencing type-punned pointer will break strict-aliasing rules
libnet_checksum.c:194: warning: dereferencing type-punned pointer will break strict-aliasing rules
mipsel-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../include     -Os -pipe -march=4kc -Wa,--trap -Wall -c `test -f 'libnet_cq.c' || echo './'`libnet_cq.c
libnet_cq.c: In function 'libnet_cq_getlabel':
libnet_cq.c:331: warning: pointer targets in return differ in signedness
mipsel-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../include     -Os -pipe -march=4kc -Wa,--trap -Wall -c `test -f 'libnet_crc.c' || echo './'`libnet_crc.c
mipsel-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../include     -Os -pipe -march=4kc -Wa,--trap -Wall -c `test -f 'libnet_error.c' || echo './'`libnet_error.c
mipsel-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../include     -Os -pipe -march=4kc -Wa,--trap -Wall -c `test -f 'libnet_if_addr.c' || echo './'`libnet_if_addr.c
libnet_if_addr.c: In function 'libnet_ifaddrlist':
libnet_if_addr.c:134: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness
libnet_if_addr.c:143: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness
libnet_if_addr.c:156: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness
libnet_if_addr.c:197: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness
libnet_if_addr.c:217: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness
libnet_if_addr.c:225: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness
libnet_if_addr.c:239: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness
libnet_if_addr.c:239: warning: pointer targets in assignment differ in signedness
libnet_if_addr.c:242: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness
libnet_if_addr.c:259: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness
libnet_if_addr.c: In function 'libnet_select_device':
libnet_if_addr.c:354: warning: pointer targets in passing argument 2 of 'libnet_ifaddrlist' differ in signedness
libnet_if_addr.c:378: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness
libnet_if_addr.c:383: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness
libnet_if_addr.c:397: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness
libnet_if_addr.c: In function 'libnet_ifaddrlist':
libnet_if_addr.c:202: warning: 'ifr' is used uninitialized in this function
libnet_if_addr.c:116: note: 'ifr' was declared here
mipsel-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../include     -Os -pipe -march=4kc -Wa,--trap -Wall -c `test -f 'libnet_init.c' || echo './'`libnet_init.c
libnet_init.c: In function 'libnet_getdevice':
libnet_init.c:203: warning: pointer targets in return differ in signedness
mipsel-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../include     -Os -pipe -march=4kc -Wa,--trap -Wall -c `test -f 'libnet_internal.c' || echo './'`libnet_internal.c
libnet_internal.c: In function 'libnet_diag_dump_pblock_type':
libnet_internal.c:305: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness
libnet_internal.c:306: warning: pointer targets in return differ in signedness
mipsel-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../include     -Os -pipe -march=4kc -Wa,--trap -Wall -c `test -f 'libnet_pblock.c' || echo './'`libnet_pblock.c
mipsel-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../include     -Os -pipe -march=4kc -Wa,--trap -Wall -c `test -f 'libnet_port_list.c' || echo './'`libnet_port_list.c
libnet_port_list.c: In function 'libnet_plist_chain_new':
libnet_port_list.c:121: warning: pointer targets in assignment differ in signedness
libnet_port_list.c:145: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness
libnet_port_list.c:165: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
libnet_port_list.c:165: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness
mipsel-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../include     -Os -pipe -march=4kc -Wa,--trap -Wall -c `test -f 'libnet_prand.c' || echo './'`libnet_prand.c
mipsel-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../include     -Os -pipe -march=4kc -Wa,--trap -Wall -c `test -f 'libnet_raw.c' || echo './'`libnet_raw.c
libnet_raw.c: In function 'libnet_open_raw4':
libnet_raw.c:132: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness
mipsel-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../include     -Os -pipe -march=4kc -Wa,--trap -Wall -c `test -f 'libnet_resolve.c' || echo './'`libnet_resolve.c
libnet_resolve.c: In function 'libnet_hex_aton':
libnet_resolve.c:393: warning: dereferencing type-punned pointer will break strict-aliasing rules
libnet_resolve.c:393: warning: pointer targets in passing argument 1 of 'strtol' differ in signedness
mipsel-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../include     -Os -pipe -march=4kc -Wa,--trap -Wall -c `test -f 'libnet_version.c' || echo './'`libnet_version.c
mipsel-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../include     -Os -pipe -march=4kc -Wa,--trap -Wall -c `test -f 'libnet_write.c' || echo './'`libnet_write.c
mipsel-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../include     -Os -pipe -march=4kc -Wa,--trap -Wall -c `test -f 'libnet_link_linux.c' || echo './'`libnet_link_linux.c
rm -f libnet.a
ar cru libnet.a libnet_asn1.o libnet_build_802.1q.o libnet_build_802.1x.o libnet_build_802.2.o libnet_build_802.3.o libnet_build_arp.o libnet_build_bgp.o libnet_build_cdp.o libnet_build_data.o libnet_build_dhcp.o libnet_build_dns.o libnet_build_ethernet.o libnet_build_fddi.o libnet_build_gre.o libnet_build_icmp.o libnet_build_igmp.o libnet_build_ip.o libnet_build_ipsec.o libnet_build_isl.o libnet_build_mpls.o libnet_build_ntp.o libnet_build_ospf.o libnet_build_rip.o libnet_build_rpc.o libnet_build_sebek.o libnet_build_snmp.o libnet_build_stp.o libnet_build_tcp.o libnet_build_token_ring.o libnet_build_udp.o libnet_build_vrrp.o libnet_advanced.o libnet_checksum.o libnet_cq.o libnet_crc.o libnet_error.o libnet_if_addr.o libnet_init.o libnet_internal.o libnet_pblock.o libnet_port_list.o libnet_prand.o libnet_raw.o libnet_resolve.o libnet_version.o libnet_write.o libnet_link_linux.o
mipsel-linux-ranlib libnet.a
make[1]: Verlasse Verzeichnis '/home/jars/Desktop/sda3/libnet-1.1.2.1/src'
Making all in sample
make[1]: Betrete Verzeichnis '/home/jars/Desktop/sda3/libnet-1.1.2.1/sample'
mipsel-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../include     -Os -pipe -march=4kc -Wa,--trap -Wall -c `test -f 'arp.c' || echo './'`arp.c
mipsel-linux-gcc  -Os -pipe -march=4kc -Wa,--trap -Wall  -static -o arp  arp.o ../src/libnet.a 
mipsel-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../include     -Os -pipe -march=4kc -Wa,--trap -Wall -c `test -f 'cdp.c' || echo './'`cdp.c
cdp.c: In function 'main':
cdp.c:66: warning: pointer targets in assignment differ in signedness
cdp.c:67: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
mipsel-linux-gcc  -Os -pipe -march=4kc -Wa,--trap -Wall  -static -o cdp  cdp.o ../src/libnet.a 
mipsel-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../include     -Os -pipe -march=4kc -Wa,--trap -Wall -c `test -f 'dhcp_discover.c' || echo './'`dhcp_discover.c
mipsel-linux-gcc  -Os -pipe -march=4kc -Wa,--trap -Wall  -static -o dhcp_discover  dhcp_discover.o ../src/libnet.a 
mipsel-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../include     -Os -pipe -march=4kc -Wa,--trap -Wall -c `test -f 'get_addr.c' || echo './'`get_addr.c
mipsel-linux-gcc  -Os -pipe -march=4kc -Wa,--trap -Wall  -static -o get_addr  get_addr.o ../src/libnet.a 
mipsel-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../include     -Os -pipe -march=4kc -Wa,--trap -Wall -c `test -f 'icmp_timestamp.c' || echo './'`icmp_timestamp.c
mipsel-linux-gcc  -Os -pipe -march=4kc -Wa,--trap -Wall  -static -o icmp_timestamp  icmp_timestamp.o ../src/libnet.a 
mipsel-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../include     -Os -pipe -march=4kc -Wa,--trap -Wall -c `test -f 'icmp_unreach.c' || echo './'`icmp_unreach.c
mipsel-linux-gcc  -Os -pipe -march=4kc -Wa,--trap -Wall  -static -o icmp_unreach  icmp_unreach.o ../src/libnet.a 
mipsel-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../include     -Os -pipe -march=4kc -Wa,--trap -Wall -c `test -f 'ieee.c' || echo './'`ieee.c
ieee.c: In function 'main':
ieee.c:62: warning: pointer targets in passing argument 1 of 'libnet_hex_aton' differ in signedness
ieee.c:68: warning: pointer targets in passing argument 1 of 'libnet_hex_aton' differ in signedness
mipsel-linux-gcc  -Os -pipe -march=4kc -Wa,--trap -Wall  -static -o ieee  ieee.o ../src/libnet.a 
mipsel-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../include     -Os -pipe -march=4kc -Wa,--trap -Wall -c `test -f 'isl.c' || echo './'`isl.c
isl.c: In function 'main':
isl.c:60: warning: pointer targets in passing argument 1 of 'libnet_hex_aton' differ in signedness
mipsel-linux-gcc  -Os -pipe -march=4kc -Wa,--trap -Wall  -static -o isl  isl.o ../src/libnet.a 
mipsel-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../include     -Os -pipe -march=4kc -Wa,--trap -Wall -c `test -f 'ntp.c' || echo './'`ntp.c
mipsel-linux-gcc  -Os -pipe -march=4kc -Wa,--trap -Wall  -static -o ntp  ntp.o ../src/libnet.a 
mipsel-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../include     -Os -pipe -march=4kc -Wa,--trap -Wall -c `test -f 'ospf_hello.c' || echo './'`ospf_hello.c
ospf_hello.c: In function 'main':
ospf_hello.c:60: warning: pointer targets in assignment differ in signedness
ospf_hello.c:61: warning: pointer targets in assignment differ in signedness
ospf_hello.c:62: warning: pointer targets in assignment differ in signedness
ospf_hello.c:79: warning: pointer targets in passing argument 2 of 'libnet_name2addr4' differ in signedness
ospf_hello.c:80: warning: pointer targets in passing argument 2 of 'libnet_name2addr4' differ in signedness
ospf_hello.c:81: warning: pointer targets in passing argument 2 of 'libnet_name2addr4' differ in signedness
mipsel-linux-gcc  -Os -pipe -march=4kc -Wa,--trap -Wall  -static -o ospf_hello  ospf_hello.o ../src/libnet.a 
mipsel-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../include     -Os -pipe -march=4kc -Wa,--trap -Wall -c `test -f 'ospf_lsa.c' || echo './'`ospf_lsa.c
mipsel-linux-gcc  -Os -pipe -march=4kc -Wa,--trap -Wall  -static -o ospf_lsa  ospf_lsa.o ../src/libnet.a 
mipsel-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../include     -Os -pipe -march=4kc -Wa,--trap -Wall -c `test -f 'ping_of_death.c' || echo './'`ping_of_death.c
mipsel-linux-gcc  -Os -pipe -march=4kc -Wa,--trap -Wall  -static -o ping_of_death  ping_of_death.o ../src/libnet.a 
mipsel-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../include     -Os -pipe -march=4kc -Wa,--trap -Wall -c `test -f 'stp.c' || echo './'`stp.c
stp.c: In function 'main':
stp.c:65: warning: pointer targets in passing argument 1 of 'libnet_hex_aton' differ in signedness
stp.c:71: warning: pointer targets in passing argument 1 of 'libnet_hex_aton' differ in signedness
mipsel-linux-gcc  -Os -pipe -march=4kc -Wa,--trap -Wall  -static -o stp  stp.o ../src/libnet.a 
mipsel-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../include     -Os -pipe -march=4kc -Wa,--trap -Wall -c `test -f 'synflood.c' || echo './'`synflood.c
synflood.c: In function 'main':
synflood.c:88: warning: pointer targets in assignment differ in signedness
synflood.c:94: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness
mipsel-linux-gcc  -Os -pipe -march=4kc -Wa,--trap -Wall  -static -o synflood  synflood.o ../src/libnet.a 
mipsel-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../include     -Os -pipe -march=4kc -Wa,--trap -Wall -c `test -f 'tcp1.c' || echo './'`tcp1.c
tcp1.c: In function 'main':
tcp1.c:87: warning: pointer targets in assignment differ in signedness
tcp1.c:92: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness
tcp1.c:100: warning: pointer targets in assignment differ in signedness
tcp1.c:105: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness
tcp1.c:131: warning: pointer targets in passing argument 1 of 'libnet_build_tcp_options' differ in signedness
tcp1.c:151: warning: pointer targets in passing argument 10 of 'libnet_build_tcp' differ in signedness
mipsel-linux-gcc  -Os -pipe -march=4kc -Wa,--trap -Wall  -static -o tcp1  tcp1.o ../src/libnet.a 
mipsel-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../include     -Os -pipe -march=4kc -Wa,--trap -Wall -c `test -f 'tcp2.c' || echo './'`tcp2.c
tcp2.c: In function 'main':
tcp2.c:83: warning: pointer targets in assignment differ in signedness
tcp2.c:88: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness
tcp2.c:101: warning: pointer targets in assignment differ in signedness
tcp2.c:106: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness
tcp2.c:134: warning: pointer targets in passing argument 10 of 'libnet_build_tcp' differ in signedness
mipsel-linux-gcc  -Os -pipe -march=4kc -Wa,--trap -Wall  -static -o tcp2  tcp2.o ../src/libnet.a 
mipsel-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../include     -Os -pipe -march=4kc -Wa,--trap -Wall -c `test -f 'udp1.c' || echo './'`udp1.c
udp1.c: In function 'main':
udp1.c:91: warning: pointer targets in assignment differ in signedness
udp1.c:96: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness
udp1.c:103: warning: pointer targets in assignment differ in signedness
udp1.c:108: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness
udp1.c:140: warning: pointer targets in passing argument 5 of 'libnet_build_udp' differ in signedness
mipsel-linux-gcc  -Os -pipe -march=4kc -Wa,--trap -Wall  -static -o udp1  udp1.o ../src/libnet.a 
mipsel-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../include     -Os -pipe -march=4kc -Wa,--trap -Wall -c `test -f 'udp2.c' || echo './'`udp2.c
udp2.c: In function 'main':
udp2.c:143: warning: pointer targets in passing argument 5 of 'libnet_build_udp' differ in signedness
udp2.c:211: warning: format '%d' expects type 'int', but argument 3 has type '__time_t'
udp2.c:211: warning: format '%d' expects type 'int', but argument 4 has type '__suseconds_t'
mipsel-linux-gcc  -Os -pipe -march=4kc -Wa,--trap -Wall  -static -o udp2  udp2.o ../src/libnet.a 
mipsel-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../include     -Os -pipe -march=4kc -Wa,--trap -Wall -c `test -f 'synflood6.c' || echo './'`synflood6.c
synflood6.c: In function 'main':
synflood6.c:85: warning: pointer targets in assignment differ in signedness
synflood6.c:91: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness
synflood6.c:157: warning: format '%ld' expects type 'long int', but argument 2 has type 'unsigned int'
mipsel-linux-gcc  -Os -pipe -march=4kc -Wa,--trap -Wall  -static -o synflood6  synflood6.o ../src/libnet.a 
mipsel-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../include     -Os -pipe -march=4kc -Wa,--trap -Wall -c `test -f 'icmp6_echoreq.c' || echo './'`icmp6_echoreq.c
icmp6_echoreq.c: In function 'main':
icmp6_echoreq.c:81: warning: pointer targets in assignment differ in signedness
icmp6_echoreq.c:87: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness
icmp6_echoreq.c:129: warning: pointer targets in passing argument 6 of 'libnet_build_icmpv4_echo' differ in signedness
mipsel-linux-gcc  -Os -pipe -march=4kc -Wa,--trap -Wall  -static -o icmp6_echoreq  icmp6_echoreq.o ../src/libnet.a 
mipsel-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../include     -Os -pipe -march=4kc -Wa,--trap -Wall -c `test -f 'icmp_echo_cq.c' || echo './'`icmp_echo_cq.c
icmp_echo_cq.c: In function 'main':
icmp_echo_cq.c:155: warning: pointer targets in passing argument 10 of 'libnet_build_ipv4' differ in signedness
mipsel-linux-gcc  -Os -pipe -march=4kc -Wa,--trap -Wall  -static -o icmp_echo_cq  icmp_echo_cq.o ../src/libnet.a 
mipsel-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../include     -Os -pipe -march=4kc -Wa,--trap -Wall -c `test -f 'smurf.c' || echo './'`smurf.c
mipsel-linux-gcc  -Os -pipe -march=4kc -Wa,--trap -Wall  -static -o smurf  smurf.o ../src/libnet.a 
mipsel-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../include     -Os -pipe -march=4kc -Wa,--trap -Wall -c `test -f 'dot1x.c' || echo './'`dot1x.c
dot1x.c: In function 'main':
dot1x.c:74: warning: pointer targets in passing argument 4 of 'libnet_build_802_1x' differ in signedness
mipsel-linux-gcc  -Os -pipe -march=4kc -Wa,--trap -Wall  -static -o dot1x  dot1x.o ../src/libnet.a 
mipsel-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../include     -Os -pipe -march=4kc -Wa,--trap -Wall -c `test -f 'dns.c' || echo './'`dns.c
dns.c: In function 'main':
dns.c:147: warning: pointer targets in passing argument 8 of 'libnet_build_dnsv4' differ in signedness
mipsel-linux-gcc  -Os -pipe -march=4kc -Wa,--trap -Wall  -static -o dns  dns.o ../src/libnet.a 
mipsel-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../include     -Os -pipe -march=4kc -Wa,--trap -Wall -c `test -f 'rpc_tcp.c' || echo './'`rpc_tcp.c
rpc_tcp.c: In function 'main':
rpc_tcp.c:84: warning: pointer targets in assignment differ in signedness
rpc_tcp.c:89: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness
rpc_tcp.c:102: warning: pointer targets in assignment differ in signedness
rpc_tcp.c:107: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness
rpc_tcp.c:137: warning: pointer targets in passing argument 12 of 'libnet_build_rpc_call' differ in signedness
mipsel-linux-gcc  -Os -pipe -march=4kc -Wa,--trap -Wall  -static -o rpc_tcp  rpc_tcp.o ../src/libnet.a 
mipsel-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../include     -Os -pipe -march=4kc -Wa,--trap -Wall -c `test -f 'rpc_udp.c' || echo './'`rpc_udp.c
rpc_udp.c: In function 'main':
rpc_udp.c:88: warning: pointer targets in assignment differ in signedness
rpc_udp.c:93: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness
rpc_udp.c:100: warning: pointer targets in assignment differ in signedness
rpc_udp.c:105: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness
rpc_udp.c:142: warning: pointer targets in passing argument 12 of 'libnet_build_rpc_call' differ in signedness
mipsel-linux-gcc  -Os -pipe -march=4kc -Wa,--trap -Wall  -static -o rpc_udp  rpc_udp.o ../src/libnet.a 
mipsel-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../include     -Os -pipe -march=4kc -Wa,--trap -Wall -c `test -f 'mpls.c' || echo './'`mpls.c
mpls.c: In function 'main':
mpls.c:84: warning: pointer targets in assignment differ in signedness
mpls.c:89: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness
mpls.c:97: warning: pointer targets in assignment differ in signedness
mpls.c:102: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness
mpls.c:110: warning: pointer targets in assignment differ in signedness
mpls.c:111: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
mipsel-linux-gcc  -Os -pipe -march=4kc -Wa,--trap -Wall  -static -o mpls  mpls.o ../src/libnet.a 
mipsel-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../include     -Os -pipe -march=4kc -Wa,--trap -Wall -c `test -f 'icmp_timeexceed.c' || echo './'`icmp_timeexceed.c
mipsel-linux-gcc  -Os -pipe -march=4kc -Wa,--trap -Wall  -static -o icmp_timeexceed  icmp_timeexceed.o ../src/libnet.a 
mipsel-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../include     -Os -pipe -march=4kc -Wa,--trap -Wall -c `test -f 'fddi_tcp1.c' || echo './'`fddi_tcp1.c
fddi_tcp1.c: In function 'main':
fddi_tcp1.c:84: warning: pointer targets in assignment differ in signedness
fddi_tcp1.c:89: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness
fddi_tcp1.c:97: warning: pointer targets in assignment differ in signedness
fddi_tcp1.c:102: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness
fddi_tcp1.c:138: warning: pointer targets in passing argument 10 of 'libnet_build_tcp' differ in signedness
mipsel-linux-gcc  -Os -pipe -march=4kc -Wa,--trap -Wall  -static -o fddi_tcp1  fddi_tcp1.o ../src/libnet.a 
mipsel-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../include     -Os -pipe -march=4kc -Wa,--trap -Wall -c `test -f 'fddi_tcp2.c' || echo './'`fddi_tcp2.c
fddi_tcp2.c: In function 'main':
fddi_tcp2.c:84: warning: pointer targets in assignment differ in signedness
fddi_tcp2.c:89: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness
fddi_tcp2.c:97: warning: pointer targets in assignment differ in signedness
fddi_tcp2.c:102: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness
fddi_tcp2.c:138: warning: pointer targets in passing argument 10 of 'libnet_build_tcp' differ in signedness
mipsel-linux-gcc  -Os -pipe -march=4kc -Wa,--trap -Wall  -static -o fddi_tcp2  fddi_tcp2.o ../src/libnet.a 
mipsel-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../include     -Os -pipe -march=4kc -Wa,--trap -Wall -c `test -f 'tring_tcp1.c' || echo './'`tring_tcp1.c
tring_tcp1.c: In function 'main':
tring_tcp1.c:84: warning: pointer targets in assignment differ in signedness
tring_tcp1.c:89: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness
tring_tcp1.c:97: warning: pointer targets in assignment differ in signedness
tring_tcp1.c:102: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness
tring_tcp1.c:138: warning: pointer targets in passing argument 10 of 'libnet_build_tcp' differ in signedness
mipsel-linux-gcc  -Os -pipe -march=4kc -Wa,--trap -Wall  -static -o tring_tcp1  tring_tcp1.o ../src/libnet.a 
mipsel-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../include     -Os -pipe -march=4kc -Wa,--trap -Wall -c `test -f 'tring_tcp2.c' || echo './'`tring_tcp2.c
tring_tcp2.c: In function 'main':
tring_tcp2.c:84: warning: pointer targets in assignment differ in signedness
tring_tcp2.c:89: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness
tring_tcp2.c:97: warning: pointer targets in assignment differ in signedness
tring_tcp2.c:102: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness
tring_tcp2.c:138: warning: pointer targets in passing argument 10 of 'libnet_build_tcp' differ in signedness
mipsel-linux-gcc  -Os -pipe -march=4kc -Wa,--trap -Wall  -static -o tring_tcp2  tring_tcp2.o ../src/libnet.a 
mipsel-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../include     -Os -pipe -march=4kc -Wa,--trap -Wall -c `test -f 'icmp_redirect.c' || echo './'`icmp_redirect.c
mipsel-linux-gcc  -Os -pipe -march=4kc -Wa,--trap -Wall  -static -o icmp_redirect  icmp_redirect.o ../src/libnet.a 
mipsel-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../include     -Os -pipe -march=4kc -Wa,--trap -Wall -c `test -f 'bgp4_hdr.c' || echo './'`bgp4_hdr.c
bgp4_hdr.c: In function 'main':
bgp4_hdr.c:122: warning: pointer targets in assignment differ in signedness
mipsel-linux-gcc  -Os -pipe -march=4kc -Wa,--trap -Wall  -static -o bgp4_hdr  bgp4_hdr.o ../src/libnet.a 
mipsel-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../include     -Os -pipe -march=4kc -Wa,--trap -Wall -c `test -f 'bgp4_open.c' || echo './'`bgp4_open.c
bgp4_open.c: In function 'main':
bgp4_open.c:127: warning: pointer targets in assignment differ in signedness
bgp4_open.c:159: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
mipsel-linux-gcc  -Os -pipe -march=4kc -Wa,--trap -Wall  -static -o bgp4_open  bgp4_open.o ../src/libnet.a 
mipsel-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../include     -Os -pipe -march=4kc -Wa,--trap -Wall -c `test -f 'bgp4_update.c' || echo './'`bgp4_update.c
bgp4_update.c: In function 'main':
bgp4_update.c:172: warning: pointer targets in assignment differ in signedness
bgp4_update.c:173: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
bgp4_update.c:177: warning: pointer targets in assignment differ in signedness
bgp4_update.c:185: warning: pointer targets in assignment differ in signedness
bgp4_update.c:193: warning: pointer targets in assignment differ in signedness
bgp4_update.c:211: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
bgp4_update.c:212: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
bgp4_update.c:213: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
mipsel-linux-gcc  -Os -pipe -march=4kc -Wa,--trap -Wall  -static -o bgp4_update  bgp4_update.o ../src/libnet.a 
mipsel-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../include     -Os -pipe -march=4kc -Wa,--trap -Wall -c `test -f 'bgp4_notification.c' || echo './'`bgp4_notification.c
bgp4_notification.c: In function 'main':
bgp4_notification.c:126: warning: pointer targets in assignment differ in signedness
mipsel-linux-gcc  -Os -pipe -march=4kc -Wa,--trap -Wall  -static -o bgp4_notification  bgp4_notification.o ../src/libnet.a 
mipsel-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../include     -Os -pipe -march=4kc -Wa,--trap -Wall -c `test -f 'gre.c' || echo './'`gre.c
gre.c: In function 'main':
gre.c:180: warning: pointer targets in assignment differ in signedness
gre.c:319: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
gre.c:323: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
gre.c:384: warning: pointer targets in passing argument 1 of 'libnet_autobuild_ethernet' differ in signedness
mipsel-linux-gcc  -Os -pipe -march=4kc -Wa,--trap -Wall  -static -o gre  gre.o ../src/libnet.a 
mipsel-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../include     -Os -pipe -march=4kc -Wa,--trap -Wall -c `test -f 'synflood6_frag.c' || echo './'`synflood6_frag.c
synflood6_frag.c: In function 'main':
synflood6_frag.c:84: warning: pointer targets in assignment differ in signedness
synflood6_frag.c:90: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness
mipsel-linux-gcc  -Os -pipe -march=4kc -Wa,--trap -Wall  -static -o synflood6_frag  synflood6_frag.o ../src/libnet.a 
mipsel-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../include     -Os -pipe -march=4kc -Wa,--trap -Wall -c `test -f 'tftp.c' || echo './'`tftp.c
mipsel-linux-gcc  -Os -pipe -march=4kc -Wa,--trap -Wall  -static -o tftp  tftp.o ../src/libnet.a 
mipsel-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../include     -Os -pipe -march=4kc -Wa,--trap -Wall -c `test -f 'ip_link.c' || echo './'`ip_link.c
ip_link.c: In function 'main':
ip_link.c:91: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness
ip_link.c:92: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
ip_link.c:163: warning: pointer targets in passing argument 1 of 'libnet_build_ethernet' differ in signedness
ip_link.c:163: warning: pointer targets in passing argument 2 of 'libnet_build_ethernet' differ in signedness
mipsel-linux-gcc  -Os -pipe -march=4kc -Wa,--trap -Wall  -static -o ip_link  ip_link.o ../src/libnet.a 
mipsel-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../include     -Os -pipe -march=4kc -Wa,--trap -Wall -c `test -f 'ip_raw.c' || echo './'`ip_raw.c
ip_raw.c: In function 'main':
ip_raw.c:84: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness
ip_raw.c:85: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
mipsel-linux-gcc  -Os -pipe -march=4kc -Wa,--trap -Wall  -static -o ip_raw  ip_raw.o ../src/libnet.a 
mipsel-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../include     -Os -pipe -march=4kc -Wa,--trap -Wall -c `test -f 'sebek.c' || echo './'`sebek.c
sebek.c: In function 'main':
sebek.c:145: warning: pointer targets in assignment differ in signedness
sebek.c:146: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
sebek.c:197: warning: pointer targets in assignment differ in signedness
sebek.c:218: warning: pointer targets in passing argument 10 of 'libnet_build_sebek' differ in signedness
sebek.c:264: warning: pointer targets in passing argument 1 of 'libnet_hex_aton' differ in signedness
sebek.c:264: warning: pointer targets in assignment differ in signedness
sebek.c:268: warning: pointer targets in passing argument 1 of 'libnet_autobuild_ethernet' differ in signedness
mipsel-linux-gcc  -Os -pipe -march=4kc -Wa,--trap -Wall  -static -o sebek  sebek.o ../src/libnet.a 
make[1]: Verlasse Verzeichnis '/home/jars/Desktop/sda3/libnet-1.1.2.1/sample'
make[1]: Betrete Verzeichnis '/home/jars/Desktop/sda3/libnet-1.1.2.1'
make[1]: Für das Ziel »all-am« ist nichts zu tun.
make[1]: Verlasse Verzeichnis '/home/jars/Desktop/sda3/libnet-1.1.2.1'

Jetzt habe ich im /src-Ordner eine libnet.a. Ist dies meine library? Muss ich diese umbenennen?

Dann ist nämlich bei meinen vorhergegangenen Versuchen nur das umbenennen schiefgegangen, denn die libnet.a hatte ich vorher auch schon im build-Verzeichnis...

Danke schonmal, und vielleicht kann sich ja noch mal jemand die libnet.mk angucken, ich denke dort liegt der Fehler, nur ich blicke da nicht mehr durch...

Gruß

fwalter
 
Warum solltest Du diese Datei umbenennen müssen, und in welchen anderen Namen? Was wäre der Grund, daß die Datei erst unter anderem Namen erstellt werden sollte?
Die Datei libnet.a ist die statische Library. Ist auch irgendwo eine Dynamische Library? Vielleicht wird nur eine von beiden erstellt, wenn man sowohl statisch als auch dynamisch auswählt.
 
Holen Sie sich 3CX - völlig kostenlos!
Verbinden Sie Ihr Team und Ihre Kunden Telefonie Livechat Videokonferenzen

Gehostet oder selbst-verwaltet. Für bis zu 10 Nutzer dauerhaft kostenlos. Keine Kreditkartendetails erforderlich. Ohne Risiko testen.

3CX
Für diese E-Mail-Adresse besteht bereits ein 3CX-Konto. Sie werden zum Kundenportal weitergeleitet, wo Sie sich anmelden oder Ihr Passwort zurücksetzen können, falls Sie dieses vergessen haben.