From owner-freebsd-net@FreeBSD.ORG Sun Mar 22 17:11:27 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C4F141065716 for ; Sun, 22 Mar 2009 17:11:27 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 9E03F8FC1E for ; Sun, 22 Mar 2009 17:11:27 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [65.122.17.41]) by cyrus.watson.org (Postfix) with ESMTPS id 58D9646B32; Sun, 22 Mar 2009 13:11:27 -0400 (EDT) Date: Sun, 22 Mar 2009 17:11:27 +0000 (GMT) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: rajasooriyar lakshman In-Reply-To: <700496.6430.qm@web45211.mail.sp1.yahoo.com> Message-ID: References: <700496.6430.qm@web45211.mail.sp1.yahoo.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="621616949-1254255079-1237741887=:51184" Cc: freebsd-net@freebsd.org Subject: Re: Freebsd7.0 - errors in compilation X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Mar 2009 17:11:28 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --621616949-1254255079-1237741887=:51184 Content-Type: TEXT/PLAIN; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: 8BIT On Fri, 20 Mar 2009, rajasooriyar lakshman wrote: > I am new to FreeBSD....My question is regarding a compilation of a routing > protocol in FreeBSD 7.0. > > I am trying to run a adhoc routing protocol called, Dynamic Source Routing > (DSR) on my freebsd router (7.0).. I have got the implementation from the > link given below. > > http://www.monarch.cs.rice.edu/pran/Rice_PRAN_v2.tar.gz > > Infact the implementation on the link is compatible with FreeBSD 5.1. That > is why I get errors such as files, opt_ bdg.h, opt_ random_ ip_ id.h  are > missing. Because of this I could not compile the kernel.   Can any one > please suggest me as to how can I compile the package successfully on > FreeBSD 7.0. I would very much appreciate, if some one could fix the errors > for me.   Thanks in advance.   Regards,   Raj. Hi Raj: I believe the PRAN package includes kernel modifications to FreeBSD 5.1; it is likely that they will require significant modification in order to compile on FreeBSD 7.x, as the network stack has changed quite a lot in that time (especially relating to SMP). From a glance at the tarball, they also distributed the changes as replacements to existing kernel files, rather than patches, so it's not immediately obvious to me what changes they've made, and how much work would be required to get them up-to-date. As a starting point, I would download a copy of FreeBSD 5.1 and generated explicit patches, which you can post if you would like comments on whether they would apply easily to more recent versions or not. Robert N M Watson Computer Laboratory University of Cambridge --621616949-1254255079-1237741887=:51184--