Wireshark-dev: Re: [Wireshark-dev] wslua won't build in 0.99.4

Date: Mon, 6 Nov 2006 17:30:30 +0000
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