Index: [Article Count Order] [Thread]

Date: Wed, 24 Sep 2008 17:55:14 +0200
From: Karsten Keil <kkeil@suse.de>
Subject: [users:00906] Re: Patch for 3.0.15 on Linux
To: users@tahi.org
Message-Id: <20080924155514.GA23061@pingi.kke.suse.de>
In-Reply-To: <alpine.BSF.1.10.0809240658350.7081@moby.pdsea.f5net.com>
References: <48DA29D2.4070905@suse.cz> <48DA2A1B.3030800@suse.cz> <alpine.BSF.1.10.0809240658350.7081@moby.pdsea.f5net.com>
X-Mail-Count: 00906

On Wed, Sep 24, 2008 at 07:08:11AM -0700, Mark Atkinson wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> 
> 
> On Wed, 24 Sep 2008, Vit Pelcak wrote:
> >Vit Pelcak napsal(a):
> >>Here is patch for v6evl - Tahi 3.0.15 so it compiles on Linux.
> >>
> >>Any chance to be merged with upstream?
> >>
> >>There could be some glitches, but it compiles and works.
> >>
> >>I hope it helps someone.
> 
> There's a lot of unecessary Makefile, whitespace, other changes in this 
> patchset.
> 
> For this to be applied upstream someone probably have to clean that up and 
> apply the proper #ifdefs for Linux specific source file changes.
> 

Yes

> Compiling it on Linux is not really that bad:
> 
> * If you simply start with the latest v6eval source,
> * apply the 'old' IBM patchset (make 1 or 2 patch failure fixes)
> * and install 'pmake' on your machine, which is a bsd compatible make 
> program,
> * and if you install 'byacc' which is a berkeley/bsd compatible yacc 
> program,
> 
> then you can almost compile the entire thing on Linux without any source 
> changes.
> 
> There are only a couple of source file specific changes that need to be 
> done (which can be pulled from that patch-set you attached).  These easily 
> stand out as compile failures.
> 
> I was not able to get it to work correctly on x86-64 (it misses capturing 
> some packets), but 32bit seems fine.
> 

I tried v6eval a while ago (Spring this year) on FreeBSD 7.0 X86 64bit and
it did not match any captured packets, same tests run just fine on the same
OS version and machine but 32 bit. Because I was very busy at this time I
did not debug this.

-- 
Karsten Keil
SuSE Labs
ISDN and VOIP development
SUSE LINUX Products GmbH, Maxfeldstr.5 90409 Nuernberg, GF: Markus Rex, HRB 16746 (AG Nuernberg)