Freebsd7.0 - errors in compilation

Robert Watson rwatson at FreeBSD.org
Sun Mar 22 10:11:28 PDT 2009


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


More information about the freebsd-net mailing list