Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Dec 2002 11:44:55 +0100 (CET)
From:      Attila Nagy <bra@fsn.hu>
To:        hackers@freebsd.org
Subject:   FEC doesn't build on 5.0
Message-ID:  <Pine.LNX.4.50.0212201139280.19732-100000@scribble.fsn.hu>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.50.0212201139280.19732-100000>