problem compliling new kernel for SCTP
Kris Kennaway
kris at obsecurity.org
Fri Aug 11 13:16:33 UTC 2006
On Thu, Aug 10, 2006 at 03:16:56PM -0500, swapnagg at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20060811/861784b2/attachment.pgp
More information about the freebsd-questions
mailing list