Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Aug 2006 09:16:30 -0400
From:      Kris Kennaway <kris@obsecurity.org>
To:        swapnagg@ou.edu
Cc:        freebsd-questions@freebsd.org, View message header detail Preethi Natarajan <nataraja@cis.udel.edu>
Subject:   Re: problem compliling new kernel for SCTP
Message-ID:  <20060811131629.GA11102@xor.obsecurity.org>
In-Reply-To: <6ecef436b183.44db4de8@ou.edu>
References:  <6ecef436b183.44db4de8@ou.edu>

next in thread | previous in thread | raw e-mail | index | archive | help

--ibTvN161/egqYuK8
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Aug 10, 2006 at 03:16:56PM -0500, swapnagg@ou.edu wrote:
> Iam trying to install SCTP enabled Apache server and Mozilla browser on F=
reeBSD 6.0 =20
> These are things that i have done: =20
>  =20
> 1) I downloaded the kernel patch from sctp.org and applied it.  =20
> 2) Included the line "options SCTP" in MY kernel source code at  /usr/src=
/sys after making a copy of GENERIC and=20
> called it MYKERNEL=20
> 3) ran config to generate kernel source code=20
> =20
> Problem:=20
> =20
>  this gives error, device mfi and device bce are unknown, so i commented =
out device mfi and device bce. =20
> =20
> 3) again ran config to generte kernel source code, which was successful. =
changed into=20
> the /usr/src/compileMYKERNEL.=20
> 4) Ran the "make depend" command.=20
> =20
> Problem:=20
> Now it gives the following error:=20
> ERROR(1)=20
> ln -s /usr/src/sys/i386/compile/MYKERNEL/opt_bce.h opt_bce.h=20
> ln: opt_bce.h: File exists=20
> *** Error code 1=20
> =20
> Stop in /usr/src/sys/modules/bce.=20
> *** Error code 1=20
> =20
> Stop in /usr/src/sys/modules.=20
> *** Error code 1=20
> =20
> Stop in /usr/src/sys/i386/compile/MYKERNEL.=20
> =20
> =20
> 5) Then I copied /usr/src/sys/kern into /usr/include/sys and tried doing =
"make buildworld"=20
> =20
> PROBLEM:=20
> This gives the following error:=20
> ERROR (2)=20
> /usr/src/usr.bin/netstat/mbuf.c: In function `mbpr':=20
> /usr/src/usr.bin/netstat/mbuf.c:158: error: `MBUF_JUMBOP_MEM_NAME' undecl=
ared (first use in this function)=20
> /usr/src/usr.bin/netstat/mbuf.c:158: error: (Each undeclared identifier i=
s reported only once=20
> /usr/src/usr.bin/netstat/mbuf.c:158: error: for each function it appears =
in.)=20
> /usr/src/usr.bin/netstat/mbuf.c:171: error: `MBUF_JUMBO9_MEM_NAME' undecl=
ared (first use in this function)=20
> /usr/src/usr.bin/netstat/mbuf.c:184: error: `MBUF_JUMBO16_MEM_NAME' undec=
lared (first use in this function)=20
> *** Error code 1=20
> =20
> Stop in /usr/src/usr.bin/netstat.=20
> *** Error code 1=20
> =20
> Stop in /usr/src/usr.bin.=20
> *** Error code 1=20
> =20
> Stop in /usr/src.=20
> *** Error code 1=20
> =20
> Stop in /usr/src.=20
> *** Error code 1=20
> =20
> Stop in /usr/src.=20
> =20
> REQUIRE HELP with the following:=20
> 1) HOw dO i enable FREEBSD kernel with SCTP?=20
> 2) Am i moving in the right direction? Are the steps followed above corec=
t?=20
> 3) How do i get rid of errors (1)and (2)?=20
> =20
> I would really appreciate any kind of assistance.=20

Talk to the author of the SCTP patch.

Kris

--ibTvN161/egqYuK8
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQFE3IMtWry0BWjoQKURApgUAKDkL/hN3puYRNFJcFrCppLtNGD54wCdFM3d
oAoHNx9I1t9P43aeqP1lRfg=
=vl9S
-----END PGP SIGNATURE-----

--ibTvN161/egqYuK8--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060811131629.GA11102>