Wireshark-dev: Re: [Wireshark-dev] Release 00.99.4 missing file?

From: "Robert Trybis" <rt@xxxxxxxxxxxxx>
Date: Tue, 7 Nov 2006 16:45:25 -0000
I decide trying to continue by hand would be difficult so I commented
python out in config.nmake

This too failed though, results below;
radius_dict.c
radius_dict.l(77) : warning C4005: 'OUT' : macro redefinition
        C:\Program Files\Microsoft Visual
Studio\VC98\include\rpcdce.h(23) : see previous definition of 'OUT'
radius_dict.l(227) : warning C4090: 'function' : different 'const'
qualifiers
radius_dict.l(227) : warning C4022: 'g_hash_table_insert' : pointer
mismatch for actual parameter 2
radius_dict.l(335) : warning C4090: 'function' : different 'const'
qualifiers
radius_dict.l(335) : warning C4022: 'g_free' : pointer mismatch for
actual parameter 1
range.c
reassemble.c
req_resp_hdrs.c
sha1.c
sigcomp_state_hdlr.c
sigcomp_state_hdlr.c(549) : warning C4018: '<' : signed/unsigned
mismatch
sigcomp-udvm.c
sminmpec.c
sna-utils.c
stat_cmd_args.c
stats_tree.c
strutil.c
stream.c
t35.c
Generating Code...
Compiling...
tap.c
tap.c(284) : warning C4090: 'return' : different 'const' qualifiers
tcap-persistentdata.c
tcap-persistentdata.c(988) : warning C4101: 'ti' : unreferenced local
variable
timestamp.c
to_str.c
tvbparse.c
tvbuff.c
unicode-utils.c
value_string.c
xdlc.c
xmlstub.c
inet_aton.c
inet_pton.c
inet_ntop.c
mkstemp.c
fatal error C1083: Cannot open source file: 'mkstemp.c': No such file or
directory
strptime.c
fatal error C1083: Cannot open source file: 'strptime.c': No such file
or directory
Generating Code...
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual
Studio\VC98\bin\NMAKE.EXE"' : return code '0x2'
Stop.

-----Original Message-----
From: wireshark-dev-bounces@xxxxxxxxxxxxx
[mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of Robert Trybis
Sent: 07 November 2006 16:03
To: Developer support list for Wireshark
Subject: Re: [Wireshark-dev] Release 00.99.4 missing file?

Missing bit;

Microsoft (R) Program Maintenance Utility   Version 6.00.9782.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

'dfilter.lib' is up-to-date
	cd ..
	cd wslua
	NMAKE /                   -f Makefile.nmake

Microsoft (R) Program Maintenance Utility   Version 6.00.9782.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

'wslua.lib' is up-to-date
	cd ..
	cd dissectors
	NMAKE /                   -f Makefile.nmake

Microsoft (R) Program Maintenance Utility   Version 6.00.9782.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

Making register.c (using python)
/usr/bin/env: python: No such file or directory
NMAKE : fatal error U1077: 'c:\cygwin\bin\env.exe' : return code '0x7f'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual
Studio\VC98\bin\NMAKE.EXE"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual
Studio\VC98\bin\NMAKE.EXE"' : return code '0x2'
Stop.

-----Original Message-----
From: wireshark-dev-bounces@xxxxxxxxxxxxx
[mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of Robert Trybis
Sent: 07 November 2006 15:56
To: Developer support list for Wireshark
Subject: Re: [Wireshark-dev] Release 00.99.4 missing file?

Running python by hand produces packet-ncp222.c (thanks Graham),
but the build then fails later when python runs again.
I have given the latter part of the build output below.

>From earlier problems I know some of the source files I have downloaded
don't have Unix style end-of-line, I am using an earlier version of Bash
to solve that. Also, since I am on XP, Wireshark is installed in the 
"C:\Program Files" directory which has a space in the name. Presumably
neither of these is at the root of the current problem?

I'll try making a few more files by hand, but if anybody knows what is
going wrong and how to fix it it would be a help.

Regards
RT

-----Original Message-----
From: wireshark-dev-bounces@xxxxxxxxxxxxx
[mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of Graham Bloice
Sent: 07 November 2006 15:11
To: Developer support list for Wireshark
Subject: Re: [Wireshark-dev] Release 00.99.4 missing file?

Robert Trybis wrote:
> env python produces;
> 
> Python 2.4.3 (#1, May 18 2006, 07:40:45)
> [GCC 3.3.3 (cygwin special)] on cygwin
> Type "help", "copyright", "credits" or "License" for more information.
> 

Hmmm, same as mine.  Something has gone wrong in the nmake environment
when attempting to invoke python and I'm not entirely sure what that
could be.

As a workaround, from within your bash shell navigate to epan/dissectors
and run the command:

python ncp2222.py -o packet-ncp2222.c

This should allow your build to proceed.

-- 
Regards,

Graham Bloice

_______________________________________________
Wireshark-dev mailing list
Wireshark-dev@xxxxxxxxxxxxx
http://www.wireshark.org/mailman/listinfo/wireshark-dev
_______________________________________________
Wireshark-dev mailing list
Wireshark-dev@xxxxxxxxxxxxx
http://www.wireshark.org/mailman/listinfo/wireshark-dev
_______________________________________________
Wireshark-dev mailing list
Wireshark-dev@xxxxxxxxxxxxx
http://www.wireshark.org/mailman/listinfo/wireshark-dev