From owner-freebsd-hackers Fri Dec 20 2:45: 2 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 09B8A37B401 for ; Fri, 20 Dec 2002 02:45:00 -0800 (PST) Received: from scribble.fsn.hu (scribble.fsn.hu [193.224.40.95]) by mx1.FreeBSD.org (Postfix) with SMTP id 7C7C943EE5 for ; Fri, 20 Dec 2002 02:44:58 -0800 (PST) (envelope-from bra@fsn.hu) Received: (qmail 28512 invoked by uid 1000); 20 Dec 2002 10:44:55 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 20 Dec 2002 10:44:55 -0000 Date: Fri, 20 Dec 2002 11:44:55 +0100 (CET) From: Attila Nagy To: hackers@freebsd.org Subject: FEC doesn't build on 5.0 Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello, Neither of the original (http://people.freebsd.org/~wpaul/FEC/) nor the in tree FEC implementations build. In /usr/src/sys/modules/netgraph/fec change KMODDEPS to MODULES_DEPEND and type make: # make Warning: Object directory not changed from original /usr/src/sys/modules/netgrap h/fec @ -> /usr/src/sys machine -> /usr/src/sys/i386/include touch opt_inet.h touch opt_inet6.h cc -O -pipe -march=pentium3 -DINET -DINET6 -Wall -D_KERNEL -Wall -Wredundant-de cls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith - Winline -Wcast-qual -fformat-extensions -ansi -DKLD_MODULE -nostdinc -I- -I. -I@ -I@/dev -I@/../include -I/usr/include -fno-common -mno-align-long-strings - mpreferred-stack-boundary=2 -ffreestanding -Wall -Wredundant-decls -Wnested-exte rns -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qu al -fformat-extensions -ansi -c /usr/src/sys/modules/netgraph/fec/../../../netg raph/ng_fec.c /usr/src/sys/netgraph/ng_fec.c: In function `ng_fec_addport': /usr/src/sys/netgraph/ng_fec.c:379: `ifnet_addrs' undeclared (first use in this function) /usr/src/sys/netgraph/ng_fec.c:379: (Each undeclared identifier is reported only once /usr/src/sys/netgraph/ng_fec.c:379: for each function it appears in.) /usr/src/sys/netgraph/ng_fec.c: In function `ng_fec_delport': /usr/src/sys/netgraph/ng_fec.c:449: `ifnet_addrs' undeclared (first use in this function) /usr/src/sys/netgraph/ng_fec.c: In function `ng_fec_input': /usr/src/sys/netgraph/ng_fec.c:763: warning: passing arg 1 of `bpf_mtap' from in compatible pointer type /usr/src/sys/netgraph/ng_fec.c: In function `ng_fec_start': /usr/src/sys/netgraph/ng_fec.c:981: warning: passing arg 1 of `bpf_mtap' from in compatible pointer type /usr/src/sys/netgraph/ng_fec.c: In function `ng_fec_constructor': /usr/src/sys/netgraph/ng_fec.c:1096: `ng_ether_input_p' undeclared (first use in this function) /usr/src/sys/netgraph/ng_fec.c:1100: `ETHER_BPF_SUPPORTED' undeclared (first use in this function) /usr/src/sys/netgraph/ng_fec.c: In function `ng_fec_shutdown': /usr/src/sys/netgraph/ng_fec.c:1191: `ng_ether_input_p' undeclared (first use in this function) /usr/src/sys/netgraph/ng_fec.c:1193: `ETHER_BPF_SUPPORTED' undeclared (first use in this function) /usr/src/sys/netgraph/ng_fec.c:1193: too many arguments to function `ether_ifdet ach' *** Error code 1 Stop in /usr/src/sys/modules/netgraph/fec. The above is a recent RELENG_5_0... Could somebody take a look at it? Thanks! ----------[ Free Software ISOs - http://www.fsn.hu/?f=download ]---------- Attila Nagy e-mail: Attila.Nagy@fsn.hu Free Software Network (FSN.HU) phone @work: +361 210 1415 (194) cell.: +3630 306 6758 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message