Re: libpcap build error _at_ RELENG_7

From: Max Laier <max_at_love2party.net>
Date: Sun, 21 Oct 2007 15:07:17 +0200
On Sunday 21 October 2007, Dmitry Morozovsky wrote:
> 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

I fat-fingered that one.  Fix attached, but I'll do a buildworld this time 
to make sure.  Sorry!

Hand me that pointy-hat, please? :-\

>
> marck_at_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_at_FreeBSD.org ]
> -----------------------------------------------------------------------
>- *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck_at_rinet.ru
> ***
> -----------------------------------------------------------------------
>- _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to
> "freebsd-current-unsubscribe_at_freebsd.org"



-- 
/"\  Best regards,                      | mlaier_at_freebsd.org
\ /  Max Laier                          | ICQ #67774661
 X   http://pf4freebsd.love2party.net/  | mlaier_at_EFnet
/ \  ASCII Ribbon Campaign              | Against HTML Mail and News

Received on Sun Oct 21 2007 - 11:35:01 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:19 UTC