Wireshark-dev: Re: [Wireshark-dev] wslua won't build in 0.99.4
From: "Michael Lum" <Michael.Lum@xxxxxxxxxx>
Date: Mon, 6 Nov 2006 10:04:05 -0800
I haven't applied many patches but this is what I did on my Linux machine: I copied the file make-taps.pl. Placed the changes in a file called 'jim'. riccm03.MLUM-48x.208> patch < jim (Stripping trailing CRs from patch.) patching file make-taps.pl patch: **** malformed patch at line 10: "typedef\\s+enum[^{]*{([^}]*)}[\\s\\n]*${ename}[\\s\\n]*;"; I have attached the revision of the make-taps.pl I have. # $Id: make-taps.pl 19579 2006-10-17 18:20:44Z lego $ -- Michael Lum Principal Software Engineer 4600 Jacombs Road +1.604.276.0055 Richmond, B.C. Canada V6V 3B1 UTStarcom Canada, Inc. CDMA Division -----Original Message----- From: wireshark-dev-bounces@xxxxxxxxxxxxx [mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of LEGO Sent: November 6, 2006 9:31 AM To: Developer support list for Wireshark Subject: Re: [Wireshark-dev] wslua won't build in 0.99.4 That's odd... it should have been caught by the buildbot, (I do not see that error with perl v5.8.6 on MacOS X). Can you try this patch and see if that fixes the problem for you. Luis Index: make-taps.pl =================================================================== --- make-taps.pl (revision 19823) +++ make-taps.pl (working copy) @@ -88,7 +88,7 @@ $enums{$ename} = []; my $a = $enums{$ename}; - my $enumre = "typedef\\s+enum[^{]*{([^}]*)}[\\s\\n]*${ename}[\\s\\n]*;"; + my $enumre = "typedef\\s+enum[^{]*{([^}]*)}[\\s\\n]*" . ${ename} . "[\\s\\n]*;"; if ($buf =~ s/$enumre//ms ) { $types{$ename} = "/*$ename*/ lua_pushnumber(L,(lua_Number)v->%s);"; my $ebody = $1; On 11/6/06, Michael Lum <Michael.Lum@xxxxxxxxxx> wrote: > Hi, > > Windows XP Pro > Visual C++ 6 > > (Performed: distclean, clean_setup, setup) > > I just pulled down 0.99.4 from svn and tried to build it and received > the error below. Does anyone have any suggestions? > I searched the dev mailing list and didn't find anything. > > cd .. > cd wslua > NMAKE / -f Makefile.nmake > > Microsoft (R) Program Maintenance Utility Version 6.00.8168.0 > Copyright (C) Microsoft Corp 1988-1998. All rights reserved. > > perl make-taps.pl taps taps_wslua.c taps.txt Global symbol > "@ename" requires explicit package name at make-taps.pl line 91. > Execution of make-taps.pl aborted due to compilation errors. > NMAKE : fatal error U1077: 'perl' : return code '0xff' > Stop. > NMAKE : fatal error U1077: 'C:\PROGRA~1\MICROS~3\VC98\BIN\NMAKE.EXE' : > return code '0x2' > Stop. > NMAKE : fatal error U1077: 'C:\PROGRA~1\MICROS~3\VC98\BIN\NMAKE.EXE' : > return code '0x2' > Stop. > > Thanks. > > -- > Michael Lum Principal Software Engineer > 4600 Jacombs Road +1.604.276.0055 > Richmond, B.C. > Canada V6V 3B1 > UTStarcom Canada, Inc. > CDMA Division > > > > _______________________________________________ > Wireshark-dev mailing list > Wireshark-dev@xxxxxxxxxxxxx > http://www.wireshark.org/mailman/listinfo/wireshark-dev > -- This information is top security. When you have read it, destroy yourself. -- Marshall McLuhan _______________________________________________ Wireshark-dev mailing list Wireshark-dev@xxxxxxxxxxxxx http://www.wireshark.org/mailman/listinfo/wireshark-dev
- Follow-Ups:
- References:
- Prev by Date: Re: [Wireshark-dev] [Patch] Fix for bug #1163: "Dissector bug. ISO8073COTP protocol."
- Next by Date: Re: [Wireshark-dev] wslua won't build in 0.99.4
- Previous by thread: Re: [Wireshark-dev] wslua won't build in 0.99.4
- Next by thread: Re: [Wireshark-dev] wslua won't build in 0.99.4
- Index(es):