checked in; - /hannes

On Tue, Apr 12, 2005 at 06:38:18AM +0900, TANAKA Shin-ya wrote:
| Hi,
| while trying to compile libpcap-2005.04.11 on NetBSD-1.6.2, I got this error:
| ------------------------
| $ make
| gcc -O2 -I. -DHAVE_CONFIG_H  -D_U_="__attribute__((unused))" -c ./pcap-bpf.c
| ./pcap-bpf.c: In function `pcap_open_live':
| ./pcap-bpf.c:732: parse error before `:'
| *** Error code 1
| 
| Stop.
| make: stopped in /tmp/aaa/libpcap-2005.04.11
| ------------------------
| 
| to solve this error, apply the following patch.
| ------------------------
| diff -ur libpcap-2005.04.11.orig/pcap-bpf.c libpcap-2005.04.11/pcap-bpf.c
| --- libpcap-2005.04.11.orig/pcap-bpf.c        Sun Feb 27 06:58:05 2005
| +++ libpcap-2005.04.11/pcap-bpf.c     Mon Apr 11 22:12:18 2005
| @@ -729,7 +729,7 @@
|  #endif
|  #ifdef PCAP_FDDIPAD
|       if (v == DLT_FDDI)
| -             p->fddipad = PCAP_FDDIPAD:
| +             p->fddipad = PCAP_FDDIPAD;
|       else
|               p->fddipad = 0;
|  #endif
| ------------------------
| 
| 
| 
| 
| -----------------------------------------------
| 2GB?$B$^$G%a!<%k$d2hA|$J$ICy$aJ|Bj!*$5$i$KFCE5$$$C$Q$$"v
| livedoor ?$B%.%,%a!<%i!<%W%i%9 ?$B!Z?7EP>l![
| http://gigamailerplus.livedoor.com/
| 
| -
| This is the tcpdump-workers list.
| Visit https://lists.sandelman.ca/ to unsubscribe.
| 
-
This is the tcpdump-workers list.
Visit https://lists.sandelman.ca/ to unsubscribe.

Reply via email to