Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

build failure, tcpdump import, char subscript



dependall ===> external/bsd/openresolv/sbin
dependall ===> external/bsd/openresolv/sbin/resolvconf
dependall ===> external/bsd/tcpdump
dependall ===> external/bsd/tcpdump/bin
#   compile  bin/util-print.o
/usr/src/obj/tooldir.NetBSD-7.99.59-amd64/bin/x86_64--netbsd-gcc -O2
-fPIE    -std=gnu99    -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith -Wno-sign-compare  -Wsystem-headers   -Wno-traditional
  -Wa,--fatal-warnings  -Werror
--sysroot=/usr/src/obj/destdir.amd64
-I/usr/src/external/bsd/tcpdump/bin/../include
-I/usr/src/external/bsd/tcpdump/bin
-I/usr/src/external/bsd/tcpdump/bin/../dist -DHAVE_CONFIG_H
-I/usr/src/dist/pf/sbin/pfctl  -I/usr/src/sys/dist/pf -DHAVE_CONFIG_H
-D_U_="__attribute__((__unused__))" -DWITH_USER=\"_tcpdump\"
-DWITH_CHROOT=\"/var/chroot/tcpdump\" -DHAVE_OS_IPV6_SUPPORT=1
-DHAVE_LIBCRYPTO=1 -DHAVE_OPENSSL_EVP_H  -c
/usr/src/external/bsd/tcpdump/bin/../dist/util-print.c
In file included from
/usr/src/external/bsd/tcpdump/bin/../dist/util-print.c:60:0:
/usr/src/external/bsd/tcpdump/bin/../dist/util-print.c: In function
'txtproto_print':
/usr/src/external/bsd/tcpdump/bin/../dist/util-print.c:791:24: error:
array subscript has type 'char' [-Werror=char-subscripts]
   ND_PRINT((ndo, "%c", toupper(*pnp)));
                        ^
/usr/src/external/bsd/tcpdump/bin/../dist/netdissect.h:314:43: note:
in definition of macro 'ND_PRINT'
 #define ND_PRINT(STUFF) (*ndo->ndo_printf)STUFF
                                           ^
cc1: all warnings being treated as errors

*** Failed target:  util-print.o
*** Failed command:
/usr/src/obj/tooldir.NetBSD-7.99.59-amd64/bin/x86_64--netbsd-gcc -O2
-fPIE -std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith -Wno-sign-compare -Wsystem-headers -Wno-traditional
-Wa,--fatal-warnings -Werror --sysroot=/usr/src/obj/destdir.amd64
-I/usr/src/external/bsd/tcpdump/bin/../include
-I/usr/src/external/bsd/tcpdump/bin
-I/usr/src/external/bsd/tcpdump/bin/../dist -DHAVE_CONFIG_H
-I/usr/src/dist/pf/sbin/pfctl -I/usr/src/sys/dist/pf -DHAVE_CONFIG_H
-D_U_="__attribute__((__unused__))" -DWITH_USER=\"_tcpdump\"
-DWITH_CHROOT=\"/var/chroot/tcpdump\" -DHAVE_OS_IPV6_SUPPORT=1
-DHAVE_LIBCRYPTO=1 -DHAVE_OPENSSL_EVP_H -c
/usr/src/external/bsd/tcpdump/bin/../dist/util-print.c
*** Error code 1


Home | Main Index | Thread Index | Old Index