Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Mar 2009 17:11:27 +0000 (GMT)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        rajasooriyar lakshman <laks_guy@yahoo.com>
Cc:        freebsd-net@freebsd.org
Subject:   Re: Freebsd7.0 - errors in compilation
Message-ID:  <alpine.BSF.2.00.0903221708420.51184@fledge.watson.org>
In-Reply-To: <700496.6430.qm@web45211.mail.sp1.yahoo.com>
References:  <700496.6430.qm@web45211.mail.sp1.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
  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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.0903221708420.51184>