Date: Thu, 10 Aug 2006 15:16:56 -0500 From: swapnagg@ou.edu To: freebsd-questions@freebsd.org Cc: View message header detail Preethi Natarajan <nataraja@cis.udel.edu> Subject: problem compliling new kernel for SCTP Message-ID: <6ecef436b183.44db4de8@ou.edu>
next in thread | raw e-mail | index | archive | help
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. thanks regards swapna
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6ecef436b183.44db4de8>