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
[-- Attachment #1 --] 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 FreeBSD 6.0 > These are things that i have done: > > 1) I downloaded the kernel patch from sctp.org and applied it. > 2) Included the line "options SCTP" in MY kernel source code at /usr/src/sys after making a copy of GENERIC and > called it MYKERNEL > 3) ran config to generate kernel source code > > Problem: > > this gives error, device mfi and device bce are unknown, so i commented out device mfi and device bce. > > 3) again ran config to generte kernel source code, which was successful. changed into > the /usr/src/compileMYKERNEL. > 4) Ran the "make depend" command. > > Problem: > Now it gives the following error: > ERROR(1) > ln -s /usr/src/sys/i386/compile/MYKERNEL/opt_bce.h opt_bce.h > ln: opt_bce.h: File exists > *** Error code 1 > > Stop in /usr/src/sys/modules/bce. > *** Error code 1 > > Stop in /usr/src/sys/modules. > *** Error code 1 > > Stop in /usr/src/sys/i386/compile/MYKERNEL. > > > 5) Then I copied /usr/src/sys/kern into /usr/include/sys and tried doing "make buildworld" > > PROBLEM: > This gives the following error: > ERROR (2) > /usr/src/usr.bin/netstat/mbuf.c: In function `mbpr': > /usr/src/usr.bin/netstat/mbuf.c:158: error: `MBUF_JUMBOP_MEM_NAME' undeclared (first use in this function) > /usr/src/usr.bin/netstat/mbuf.c:158: error: (Each undeclared identifier is reported only once > /usr/src/usr.bin/netstat/mbuf.c:158: error: for each function it appears in.) > /usr/src/usr.bin/netstat/mbuf.c:171: error: `MBUF_JUMBO9_MEM_NAME' undeclared (first use in this function) > /usr/src/usr.bin/netstat/mbuf.c:184: error: `MBUF_JUMBO16_MEM_NAME' undeclared (first use in this function) > *** Error code 1 > > Stop in /usr/src/usr.bin/netstat. > *** Error code 1 > > Stop in /usr/src/usr.bin. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > > REQUIRE HELP with the following: > 1) HOw dO i enable FREEBSD kernel with SCTP? > 2) Am i moving in the right direction? Are the steps followed above corect? > 3) How do i get rid of errors (1)and (2)? > > I would really appreciate any kind of assistance. Talk to the author of the SCTP patch. Kris [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFE3IMtWry0BWjoQKURApgUAKDkL/hN3puYRNFJcFrCppLtNGD54wCdFM3d oAoHNx9I1t9P43aeqP1lRfg= =vl9S -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060811131629.GA11102>
