misc/145751: net/trafshow fails to compile

Oleg Gawriloff barzog at telecom.by
Fri Apr 16 08:20:02 UTC 2010


>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 at 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:


More information about the freebsd-bugs mailing list