>>> dhcpdump 1.8 Extracting gzip -d -c /home/peko/autobuild/instance-0/dl/dhcpdump/dhcpdump-1.8.tar.gz | /home/peko/autobuild/instance-0/output/host/bin/tar --strip-components=1 -C /home/peko/autobuild/instance-0/output/build/dhcpdump-1.8 -xf - >>> dhcpdump 1.8 Patching Applying 0001-use-non-bsd-structures.patch using patch: patching file dhcpdump.c Applying 0002-fix-strsep-feature-test.patch using patch: patching file dhcpdump.c >>> dhcpdump 1.8 Configuring >>> dhcpdump 1.8 Building PATH="/home/peko/autobuild/instance-0/output/host/bin:/home/peko/autobuild/instance-0/output/host/sbin:/home/peko/host/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games" /usr/bin/make -j6 -C /home/peko/autobuild/instance-0/output/build/dhcpdump-1.8 CC="/home/peko/autobuild/instance-0/output/host/bin/mips-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -D_GNU_SOURCE" LIBS="-lpcap" make[1]: Entering directory `/home/peko/autobuild/instance-0/output/build/dhcpdump-1.8' /home/peko/autobuild/instance-0/output/host/bin/mips-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -D_GNU_SOURCE -Wall -g -c -o dhcpdump.o dhcpdump.c pod2man --section 8 \ --date "23 June 2008" \ --name "DHCPDUMP" \ --center "User Contributed Software" \ dhcpdump.pod dhcpdump.8 In file included from /home/peko/autobuild/instance-0/output/host/mips-buildroot-linux-gnu/sysroot/usr/include/string.h:630:0, from dhcpdump.c:22: strsep.c:63:1: error: expected identifier or '(' before '__extension__' strsep(stringp, delim) ^ strsep.c:63:1: error: expected identifier or '(' before ')' token strsep(stringp, delim) ^ In file included from dhcpdump.c:30:0: strsep.c:66:1: error: expected identifier or '(' before '{' token { ^ dhcpdump.c: In function 'pcap_callback': dhcpdump.c:153:3: warning: implicit declaration of function 'strftime' [-Wimplicit-function-declaration] strftime(timestamp, sizeof(timestamp), "%Y-%m-%d %H:%M:%S.", ^ dhcpdump.c:153:3: warning: incompatible implicit declaration of built-in function 'strftime' dhcpdump.c:153:3: note: include '' or provide a declaration of 'strftime' dhcpdump.c:154:7: warning: implicit declaration of function 'localtime' [-Wimplicit-function-declaration] localtime(&(tp.tv_sec))); ^ dhcpdump.c:153:12: warning: pointer targets in passing argument 1 of 'strftime' differ in signedness [-Wpointer-sign] strftime(timestamp, sizeof(timestamp), "%Y-%m-%d %H:%M:%S.", ^ dhcpdump.c:153:12: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' dhcpdump.c:154:7: warning: passing argument 4 of 'strftime' makes pointer from integer without a cast [-Wint-conversion] localtime(&(tp.tv_sec))); ^ dhcpdump.c:154:7: note: expected 'const void *' but argument is of type 'int' dhcpdump.c:155:30: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] sprintf(timestamp + strlen(timestamp), "%03ld", ^ In file included from dhcpdump.c:22:0: /home/peko/autobuild/instance-0/output/host/mips-buildroot-linux-gnu/sysroot/usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' extern size_t strlen (const char *__s) ^ dhcpdump.c:155:11: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(timestamp + strlen(timestamp), "%03ld", ^ In file included from dhcpdump.c:20:0: /home/peko/autobuild/instance-0/output/host/mips-buildroot-linux-gnu/sysroot/usr/include/stdio.h:364:12: note: expected 'char * restrict' but argument is of type 'u_char * {aka unsigned char *}' extern int sprintf (char *__restrict __s, ^ dhcpdump.c:159:21: warning: implicit declaration of function 'ether_ntoa' [-Wimplicit-function-declaration] strcpy(mac_origin, ether_ntoa((struct ether_addr *)eh->ether_shost)); ^ dhcpdump.c:159:9: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(mac_origin, ether_ntoa((struct ether_addr *)eh->ether_shost)); ^ In file included from dhcpdump.c:22:0: /home/peko/autobuild/instance-0/output/host/mips-buildroot-linux-gnu/sysroot/usr/include/string.h:125:14: note: expected 'char * restrict' but argument is of type 'u_char * {aka unsigned char *}' extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ dhcpdump.c:159:21: warning: passing argument 2 of 'strcpy' makes pointer from integer without a cast [-Wint-conversion] strcpy(mac_origin, ether_ntoa((struct ether_addr *)eh->ether_shost)); ^ In file included from dhcpdump.c:22:0: /home/peko/autobuild/instance-0/output/host/mips-buildroot-linux-gnu/sysroot/usr/include/string.h:125:14: note: expected 'const char * restrict' but argument is of type 'int' extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ dhcpdump.c:160:9: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(mac_destination, ^ In file included from dhcpdump.c:22:0: /home/peko/autobuild/instance-0/output/host/mips-buildroot-linux-gnu/sysroot/usr/include/string.h:125:14: note: expected 'char * restrict' but argument is of type 'u_char * {aka unsigned char *}' extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ dhcpdump.c:161:6: warning: passing argument 2 of 'strcpy' makes pointer from integer without a cast [-Wint-conversion] ether_ntoa((struct ether_addr *)eh->ether_dhost)); ^ In file included from dhcpdump.c:22:0: /home/peko/autobuild/instance-0/output/host/mips-buildroot-linux-gnu/sysroot/usr/include/string.h:125:14: note: expected 'const char * restrict' but argument is of type 'int' extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ dhcpdump.c:163:9: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(ip_origin, (u_char *)inet_ntoa(ip->ip_src)); ^ In file included from dhcpdump.c:22:0: /home/peko/autobuild/instance-0/output/host/mips-buildroot-linux-gnu/sysroot/usr/include/string.h:125:14: note: expected 'char * restrict' but argument is of type 'u_char * {aka unsigned char *}' extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ dhcpdump.c:163:20: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(ip_origin, (u_char *)inet_ntoa(ip->ip_src)); ^ In file included from dhcpdump.c:22:0: /home/peko/autobuild/instance-0/output/host/mips-buildroot-linux-gnu/sysroot/usr/include/string.h:125:14: note: expected 'const char * restrict' but argument is of type 'u_char * {aka unsigned char *}' extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ dhcpdump.c:164:9: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(ip_destination, (u_char *)inet_ntoa(ip->ip_dst)); ^ In file included from dhcpdump.c:22:0: /home/peko/autobuild/instance-0/output/host/mips-buildroot-linux-gnu/sysroot/usr/include/string.h:125:14: note: expected 'char * restrict' but argument is of type 'u_char * {aka unsigned char *}' extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ dhcpdump.c:164:25: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(ip_destination, (u_char *)inet_ntoa(ip->ip_dst)); ^ In file included from dhcpdump.c:22:0: /home/peko/autobuild/instance-0/output/host/mips-buildroot-linux-gnu/sysroot/usr/include/string.h:125:14: note: expected 'const char * restrict' but argument is of type 'u_char * {aka unsigned char *}' extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ In file included from /home/peko/autobuild/instance-0/output/host/mips-buildroot-linux-gnu/sysroot/usr/include/string.h:630:0, from dhcpdump.c:22: dhcpdump.c: In function 'printdata': dhcpdump.c:367:11: warning: pointer targets in passing argument 1 of '__builtin_strncpy' differ in signedness [-Wpointer-sign] strncpy(buf, &data[j + 2], data[j + 1]); ^ dhcpdump.c:367:11: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' dhcpdump.c:367:16: warning: pointer targets in passing argument 2 of '__builtin_strncpy' differ in signedness [-Wpointer-sign] strncpy(buf, &data[j + 2], data[j + 1]); ^ dhcpdump.c:367:16: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' dhcpdump.c:513:11: warning: pointer targets in passing argument 1 of '__builtin_strncpy' differ in signedness [-Wpointer-sign] strncpy(buf, &data[j + 5], data[j + 1] - 3); ^ dhcpdump.c:513:11: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' dhcpdump.c:513:16: warning: pointer targets in passing argument 2 of '__builtin_strncpy' differ in signedness [-Wpointer-sign] strncpy(buf, &data[j + 5], data[j + 1] - 3); ^ dhcpdump.c:513:16: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' In file included from dhcpdump.c:30:0: dhcpdump.c: At top level: strsep.c:65:23: error: register name not specified for 'delim' register const char *delim; ^ make[1]: *** [dhcpdump.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory `/home/peko/autobuild/instance-0/output/build/dhcpdump-1.8' make: *** [/home/peko/autobuild/instance-0/output/build/dhcpdump-1.8/.stamp_built] Error 2 make: Leaving directory `/home/peko/autobuild/instance-0/buildroot'