From owner-freebsd-questions@FreeBSD.ORG Fri Aug 11 13:16:33 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DD09416A4DE for ; Fri, 11 Aug 2006 13:16:32 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 96D3B43D49 for ; Fri, 11 Aug 2006 13:16:32 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 6D8301A3C28; Fri, 11 Aug 2006 06:16:32 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 613B6515B1; Fri, 11 Aug 2006 09:16:31 -0400 (EDT) Date: Fri, 11 Aug 2006 09:16:30 -0400 From: Kris Kennaway To: swapnagg@ou.edu Message-ID: <20060811131629.GA11102@xor.obsecurity.org> References: <6ecef436b183.44db4de8@ou.edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ibTvN161/egqYuK8" Content-Disposition: inline In-Reply-To: <6ecef436b183.44db4de8@ou.edu> User-Agent: Mutt/1.4.2.2i Cc: freebsd-questions@freebsd.org, View message header detail Preethi Natarajan Subject: Re: problem compliling new kernel for SCTP X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Aug 2006 13:16:33 -0000 --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--