Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Oct 2007 14:34:16 +0400 (MSD)
From:      Dmitry Morozovsky <marck@rinet.ru>
To:        current@FreeBSD.org
Subject:   libpcap build error @ RELENG_7
Message-ID:  <20071021143236.F43563@woozle.rinet.ru>

next in thread | raw e-mail | index | archive | help
Hi there colleagues,

during buildworld (erased /usr/obj, etc)

===> lib/libpcap (all)
cc -O2 -fno-strict-aliasing -pipe -march=prescott -DHAVE_CONFIG_H 
-Dyylval=pcapyylval -I/usr/src/lib/libpcap -I. -D_U_="__attribute__((unused))" 
-DHAVE_SNPRINTF -DHAVE_VSNPRINTF -DHAVE_NET_PFVAR_H 
-I/usr/src/lib/libpcap/../../contrib/libpcap  -c grammar.c
cc -O2 -fno-strict-aliasing -pipe -march=prescott -DHAVE_CONFIG_H 
-Dyylval=pcapyylval -I/usr/src/lib/libpcap -I. -D_U_="__attribute__((unused))" 
-DHAVE_SNPRINTF -DHAVE_VSNPRINTF -DHAVE_NET_PFVAR_H 
-I/usr/src/lib/libpcap/../../contrib/libpcap  -c 
/usr/src/lib/libpcap/../../contrib/libpcap/pcap.c
/usr/src/lib/libpcap/../../contrib/libpcap/pcap.c:382: error: 'DLT_MFR' 
undeclared here (not in a function)
/usr/src/lib/libpcap/../../contrib/libpcap/pcap.c:383: error: 'DLT_JUNIPER_VP' 
undeclared here (not in a function)
/usr/src/lib/libpcap/../../contrib/libpcap/pcap.c:385: error: 'DLT_A429' 
undeclared here (not in a function)
/usr/src/lib/libpcap/../../contrib/libpcap/pcap.c:386: error: 'DLT_A653_ICM' 
undeclared here (not in a function)
/usr/src/lib/libpcap/../../contrib/libpcap/pcap.c:387: error: 'DLT_USB' 
undeclared here (not in a function)
/usr/src/lib/libpcap/../../contrib/libpcap/pcap.c:388: error: 
'DLT_BLUETOOTH_HCI_H4' undeclared here (not in a function)
/usr/src/lib/libpcap/../../contrib/libpcap/pcap.c:389: error: 'DLT_CAN20B' 
undeclared here (not in a function)
*** Error code 1

Stop in /usr/src/lib/libpcap.
*** Error code 1


marck@mck-s420:/usr/src> cvs -R stat contrib/libpcap/pcap.h
===================================================================
File: pcap.h            Status: Up-to-date

   Working revision:    1.12.2.2        Sun Oct 21 08:42:21 2007
   Repository revision: 1.12.2.2        /home/ncvs/src/contrib/libpcap/pcap.h,v
   Sticky Tag:          RELENG_7 (branch: 1.12.2)
   Sticky Date:         (none)
   Sticky Options:      (none)

Any hints?

Sincerely,
D.Marck                                     [DM5020, MCK-RIPE, DM3-RIPN]
[ FreeBSD committer:				     marck@FreeBSD.org ]
------------------------------------------------------------------------
*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru ***
------------------------------------------------------------------------



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071021143236.F43563>