From owner-freebsd-bugs@FreeBSD.ORG Fri Apr 16 08:20:02 2010 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BD4691065670 for ; Fri, 16 Apr 2010 08:20:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 7F2868FC1B for ; Fri, 16 Apr 2010 08:20:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o3G8K2W4086417 for ; Fri, 16 Apr 2010 08:20:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o3G8K2GV086416; Fri, 16 Apr 2010 08:20:02 GMT (envelope-from gnats) Resent-Date: Fri, 16 Apr 2010 08:20:02 GMT Resent-Message-Id: <201004160820.o3G8K2GV086416@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Oleg Gawriloff Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E98FD106566B for ; Fri, 16 Apr 2010 08:11:31 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id D9C918FC17 for ; Fri, 16 Apr 2010 08:11:31 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o3G8BVVf096847 for ; Fri, 16 Apr 2010 08:11:31 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o3G8BVr0096846; Fri, 16 Apr 2010 08:11:31 GMT (envelope-from nobody) Message-Id: <201004160811.o3G8BVr0096846@www.freebsd.org> Date: Fri, 16 Apr 2010 08:11:31 GMT From: Oleg Gawriloff To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: misc/145751: net/trafshow fails to compile X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Apr 2010 08:20:02 -0000 >Number: 145751 >Category: misc >Synopsis: net/trafshow fails to compile >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Apr 16 08:20:02 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Oleg Gawriloff >Release: 7.2 >Organization: Atlant Telecom >Environment: FreeBSD albatros.telecom.by 7.2-RELEASE-p2 FreeBSD 7.2-RELEASE-p2 #0: Mon Jul 13 13:04:32 EEST 2009 root@albatros.telecom.by:/usr/obj/usr/src/sys/ALBATROS i386 >Description: ===> Extracting for trafshow-5.2.3,1 => MD5 Checksum OK for trafshow-5.2.3.tgz. => SHA256 Checksum OK for trafshow-5.2.3.tgz. ===> Patching for trafshow-5.2.3,1 ===> Applying FreeBSD patches for trafshow-5.2.3,1 ===> Configuring for trafshow-5.2.3,1 checking build system type... i386-portbld-freebsd7.2 checking host system type... i386-portbld-freebsd7.2 checking target system type... i386-portbld-freebsd7.2 checking for gcc... cc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ANSI C... none needed checking for bison... bison -y checking for flex... flex checking for yywrap in -lfl... yes checking lex output file root... lex.yy checking whether yytext is a pointer... yes checking how to run the C preprocessor... cc -E checking for egrep... grep -E checking for AIX... no checking for pthread_join in LIBS=-pthread with CFLAGS=... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... checking for cc_r... cc checking for ANSI C header files... yes checking whether time.h and sys/time.h may both be included... 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 sys/termios.h usability... yes checking sys/termios.h presence... yes checking for sys/termios.h... yes checking net/if_dl.h usability... yes checking net/if_dl.h presence... yes checking for net/if_dl.h... yes checking paths.h usability... yes checking paths.h presence... yes checking for paths.h... yes checking resolv.h usability... no checking resolv.h presence... yes configure: WARNING: resolv.h: present but cannot be compiled configure: WARNING: resolv.h: check for missing prerequisite headers? configure: WARNING: resolv.h: see the Autoconf documentation configure: WARNING: resolv.h: section "Present But Cannot Be Compiled" configure: WARNING: resolv.h: proceeding with the preprocessor's result configure: WARNING: resolv.h: in the future, the compiler will take precedence configure: WARNING: ## ------------------------------------------ ## configure: WARNING: ## Report this to the AC_PACKAGE_NAME lists. ## configure: WARNING: ## ------------------------------------------ ## checking for resolv.h... yes checking for an ANSI C-conforming const... yes checking for u_int8_t... yes checking for u_int16_t... yes checking for u_int32_t... yes checking for u_int64_t... yes checking for in_addr_t... yes checking for socklen_t... yes checking for struct sockaddr_storage... yes checking for struct ether_addr... no checking for main in -lresolv... no checking for main in -linet... no checking for gethostbyname in -lnsl... no checking for connect in -lsocket... no checking for siginterrupt... yes checking for snprintf... yes checking for strftime... yes checking for strcasecmp... yes checking for pcap_findalldevs in -lpcap... yes checking for pcap_dump_flush... yes checking for pcap_get_selectable_fd... yes checking for tgetent in -ltermcap... yes checking for curses library... ncurses checking for has_colors... yes checking for bkgd... yes checking for wbkgd... yes checking for wredrawln... yes checking for resizeterm... yes checking for use_default_colors... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h ===> Building for trafshow-5.2.3,1 cc -O2 -fno-strict-aliasing -pipe -march=pentiumpro -Wall -I. -DHAVE_CONFIG_H -c trafshow.c trafshow.c: In function 'pcap_init': trafshow.c:343: error: 'BIOCIMMEDIATE' undeclared (first use in this function) trafshow.c:343: error: (Each undeclared identifier is reported only once trafshow.c:343: error: for each function it appears in.) *** Error code 1 Stop in /var/tmp/usr/ports/net/trafshow/work/trafshow-5.2.3. *** Error code 1 Stop in /usr/ports/net/trafshow. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20100416-13093-wp99pl-0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=trafshow-3.1_6,1 UPGRADE_PORT_VER=3.1_6,1 make >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: