On Mon, Oct 18, 1999 at 09:56:52AM -0400, Alex H. Vandenham wrote:
> I had the same problems as Jason and based on postings to this list, I know
> we're not alone. Even when I got Version 0.99 to compile clean, it still would
> not work so it went to the bit-bucket and I went back to an older version that
> works fine. (0.16.5a-2)
>
> However, if you could point out what had to be changed to get 0.99x to work on
> a redhat 5.x system, I'm sure that would be well received.
>
OK, as far as I can tell (said he, having gone to take a gander at
the sources) I modified proxy.c and proxy_tap.c. In those two files
made the following change in one place in each file:
/*
#ifdef AF_NETLINK
*/
#ifdef NETLINK_TAPBASE
As far as I could tell, 2.0.36 doesn't have NETLINK_TAPBASE defined
anywhere, but AF_NETLINK is, so the ifdef as originally coded succeeds,
so it then tries to compile the enclosed code which then chokes because
we don't have NETLINK_TAPBASE anywhere.
So, operating on the "chainsaw theory" of software engineering :^),
I hid the whole block behind NETLINK_TAPBASE instead of AF_NETLINK
just to see if it worked, and voila, it did!
Fred
> Thanks;
>
> alex
>
> On Sun, 17 Oct 1999, fred smith wrote:
> > On Sun, Oct 17, 1999 at 07:49:31PM +0000, Jason Fenner wrote:
> > > Has anyone been able to successfully compile diald 0.99 or 0.99.1 on Redhat
> > > 5.2 yet?
> >
> > Yes, I have.
> >
> > but it took a tad of hacking... the checks for the ethertap stuff
> > aren't quite right, so some minor changes were needed to make it
> > compile without falling into a black hole. Details are forgotten
> > but could be resurrected if need is sufficient.
> >
> > Fred
> > --
> > ---- Fred Smith -- [EMAIL PROTECTED] ----------------------------
> > But God demonstrates his own love for us in this:
> > While we were still sinners,
> > Christ died for us.
> > ------------------------------- Romans 5:8 (niv) ------------------------------
> >
> > -
> > To unsubscribe from this list: send the line "unsubscribe linux-diald" in
> > the body of a message to [EMAIL PROTECTED]
--
---- Fred Smith -- [EMAIL PROTECTED] ----------------------------
But God demonstrates his own love for us in this:
While we were still sinners,
Christ died for us.
------------------------------- Romans 5:8 (niv) ------------------------------
-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]