ports/73688: net/netdude: port does not compile

Vlad Manilici vman at fx.homeunix.org
Mon Nov 8 21:10:38 UTC 2004

>Number:         73688
>Category:       ports
>Synopsis:       net/netdude: port does not compile
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Nov 08 21:10:37 GMT 2004
>Originator:     Vlad Manilici
>Release:        FreeBSD 6.0-CURRENT i386
System: FreeBSD fx.homeunix.org 6.0-CURRENT FreeBSD 6.0-CURRENT #0: Sat Nov 6 10:48:47 CET 2004 root at fx.homeunix.org:/usr/obj/usr/src/sys/FX i386


	net/netdude does not compile


# cd /usr/ports/net/netdude
# make
cc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/X11R6/include/gtk12
-I/usr/local/include/glib12 -I/usr/local/include -I/usr/X11R6/include
-I/usr/local/include -I/usr/local/include/libnetdude/0.6
-I/usr/local/include/glib12 -I/usr/local/include -I/usr/local/include
-I../.. -I../../intl -I../../libltdl -I../../src -W -Wall
-I/usr/local/include -O2 -pipe -c nd_fddi.c -MT nd_fddi.lo -MD -MP -MF
.deps/nd_fddi.TPlo  -fPIC -DPIC -o .libs/nd_fddi.lo
In file included from nd_fddi.c:34:
/usr/include/net/bpf.h:63: error: redefinition of `struct bpf_program'
/usr/include/net/bpf.h:87: error: redefinition of `struct bpf_version'
/usr/include/net/bpf.h:437: error: redefinition of `struct bpf_insn'
gmake[3]: *** [nd_fddi.lo] Error 1
gmake[3]: Leaving directory
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/net/netdude/work/netdude-0.4.5'
gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/ports/net/netdude.


patch file:

fx$ cat files/patch-include 
--- protocols/fddi/nd_fddi.c.orig       Mon Nov  8 21:54:20 2004
+++ protocols/fddi/nd_fddi.c    Mon Nov  8 21:54:29 2004
@@ -31,7 +31,7 @@
 #include <nd_fddi.h>
 #include <nd_fddi_callbacks.h>
-#include <net/bpf.h>
+// #include <net/bpf.h>
 static ND_ProtoField fddi_fields[] = {
   { ND_VAL_FIELD, N_("Frame\nCtrl.\n(0x%.2x)"), N_("Frame Control"),    8,
nd_fddi_fc_cb    },


More information about the freebsd-ports-bugs mailing list