the problem described below is caused by the compiler version, for the 
wireshark release 1.2.3,
the compiler should be the VS2008(vc9.0), not the VC6.0. even though the SDK 
installed, the 
problems still occurred when compiling the whole source code. 

I just listed out the original mail content from the maillist: 
                                                
Re: [Wireshark-dev] build wireshark on Windows xp with VC 6.0 failed
                        
Fenggen Jia
                        Mon, 29 Jun 2009 02:53:47 -0700
                
       Thanks,Anders,it trully take a long time for RRC to compile,but there 
still 
another problem,the packet-kerberos.c compile failed with the following info:
It seems something wrong with the header files,are there anything i need to 
change to solve this?

Thanks,
Yours,Fenggen

"packet-kerberos.c
C:\wireshark-win32-libs\kfw-3.2.2-ws1\include\win-mac.h(92) : error C2054: 
expected '(' to follow '_W64'
C:\wireshark-win32-libs\kfw-3.2.2-ws1\include\win-mac.h(92) : error C2085: 
'ssize_t' : not in formal parameter lis
C:\PROGRA~1\MIAF9D~1\VC98\INCLUDE\process.h(104) : error C2085: '_beginthread' 
: not in formal parameter list
C:\PROGRA~1\MIAF9D~1\VC98\INCLUDE\process.h(105) : error C2085: '_endthread' : 
not in formal parameter list
C:\PROGRA~1\MIAF9D~1\VC98\INCLUDE\process.h(107) : error C2085: 
'_beginthreadex' : not in formal parameter list
C:\PROGRA~1\MIAF9D~1\VC98\INCLUDE\process.h(108) : error C2085: '_endthreadex' 
: not in formal parameter list
C:\PROGRA~1\MIAF9D~1\VC98\INCLUDE\process.h(112) : error C2082: redefinition of 
formal parameter 'abort'
C:\PROGRA~1\MIAF9D~1\VC98\INCLUDE\process.h(113) : error C2082: redefinition of 
formal parameter 'exit'
C:\PROGRA~1\MIAF9D~1\VC98\INCLUDE\process.h(114) : error C2082: redefinition of 
formal parameter '_exit'
C:\PROGRA~1\MIAF9D~1\VC98\INCLUDE\process.h(120) : error C2085: '_cexit' : not 
in formal parameter list
C:\PROGRA~1\MIAF9D~1\VC98\INCLUDE\process.h(121) : error C2085: '_c_exit' : not 
in formal parameter list
C:\PROGRA~1\MIAF9D~1\VC98\INCLUDE\process.h(122) : error C2085: '_getpid' : not 
in formal parameter list
C:\PROGRA~1\MIAF9D~1\VC98\INCLUDE\process.h(126) : error C2085: '_cwait' : not 
in formal parameter list
C:\PROGRA~1\MIAF9D~1\VC98\INCLUDE\process.h(127) : error C2085: '_execl' : not 
in formal parameter list
C:\PROGRA~1\MIAF9D~1\VC98\INCLUDE\process.h(128) : error C2085: '_execle' : not 
in formal parameter list
C:\PROGRA~1\MIAF9D~1\VC98\INCLUDE\process.h(129) : error C2085: '_execlp' : not 
in formal parameter list
C:\PROGRA~1\MIAF9D~1\VC98\INCLUDE\process.h(130) : error C2085: '_execlpe' : 
not in formal parameter list
C:\PROGRA~1\MIAF9D~1\VC98\INCLUDE\process.h(131) : error C2085: '_execv' : not 
in formal parameter list
C:\PROGRA~1\MIAF9D~1\VC98\INCLUDE\process.h(132) : error C2085: '_execve' : not 
in formal parameter list
C:\PROGRA~1\MIAF9D~1\VC98\INCLUDE\process.h(133) : error C2085: '_execvp' : not 
in formal parameter list
C:\PROGRA~1\MIAF9D~1\VC98\INCLUDE\process.h(134) : error C2085: '_execvpe' : 
not in formal parameter list
C:\PROGRA~1\MIAF9D~1\VC98\INCLUDE\process.h(135) : error C2085: '_spawnl' : not 
in formal parameter list
C:\PROGRA~1\MIAF9D~1\VC98\INCLUDE\process.h(136) : error C2085: '_spawnle' : 
not in formal parameter list
C:\PROGRA~1\MIAF9D~1\VC98\INCLUDE\process.h(137) : error C2085: '_spawnlp' : 
not in formal parameter list
C:\PROGRA~1\MIAF9D~1\VC98\INCLUDE\process.h(138) : error C2085: '_spawnlpe' : 
not in formal parameter list
C:\PROGRA~1\MIAF9D~1\VC98\INCLUDE\process.h(139) : error C2085: '_spawnv' : not 
in formal parameter list
C:\PROGRA~1\MIAF9D~1\VC98\INCLUDE\process.h(141) : error C2085: '_spawnve' : 
not in formal parameter list
C:\PROGRA~1\MIAF9D~1\VC98\INCLUDE\process.h(142) : error C2085: '_spawnvp' : 
not in formal parameter list
C:\PROGRA~1\MIAF9D~1\VC98\INCLUDE\process.h(144) : error C2085: '_spawnvpe' : 
not in formal parameter list
C:\PROGRA~1\MIAF9D~1\VC98\INCLUDE\process.h(145) : error C2082: redefinition of 
formal parameter 'system'
C:\PROGRA~1\MIAF9D~1\VC98\INCLUDE\process.h(156) : error C2085: '_wexecl' : not 
in formal parameter list
C:\PROGRA~1\MIAF9D~1\VC98\INCLUDE\process.h(157) : error C2085: '_wexecle' : 
not in formal parameter list
C:\PROGRA~1\MIAF9D~1\VC98\INCLUDE\process.h(158) : error C2085: '_wexeclp' : 
not in formal parameter list
C:\PROGRA~1\MIAF9D~1\VC98\INCLUDE\process.h(159) : error C2085: '_wexeclpe' : 
not in formal parameter list
C:\PROGRA~1\MIAF9D~1\VC98\INCLUDE\process.h(160) : error C2085: '_wexecv' : not 
in formal parameter list
C:\PROGRA~1\MIAF9D~1\VC98\INCLUDE\process.h(161) : error C2085: '_wexecve' : 
not in formal parameter list
C:\PROGRA~1\MIAF9D~1\VC98\INCLUDE\process.h(162) : error C2085: '_wexecvp' : 
not in formal parameter list
C:\PROGRA~1\MIAF9D~1\VC98\INCLUDE\process.h(163) : error C2085: '_wexecvpe' : 
not in formal parameter list
C:\PROGRA~1\MIAF9D~1\VC98\INCLUDE\process.h(164) : error C2085: '_wspawnl' : 
not in formal parameter list
C:\PROGRA~1\MIAF9D~1\VC98\INCLUDE\process.h(165) : error C2085: '_wspawnle' : 
not in formal parameter list
C:\PROGRA~1\MIAF9D~1\VC98\INCLUDE\process.h(166) : error C2085: '_wspawnlp' : 
not in formal parameter list
C:\PROGRA~1\MIAF9D~1\VC98\INCLUDE\process.h(167) : error C2085: '_wspawnlpe' : 
not in formal parameter list
C:\PROGRA~1\MIAF9D~1\VC98\INCLUDE\process.h(168) : error C2085: '_wspawnv' : 
not in formal parameter list
C:\PROGRA~1\MIAF9D~1\VC98\INCLUDE\process.h(170) : error C2085: '_wspawnve' : 
not in formal parameter list
C:\PROGRA~1\MIAF9D~1\VC98\INCLUDE\process.h(171) : error C2085: '_wspawnvp' : 
not in formal parameter list
C:\PROGRA~1\MIAF9D~1\VC98\INCLUDE\process.h(173) : error C2085: '_wspawnvpe' : 
not in formal parameter list
C:\PROGRA~1\MIAF9D~1\VC98\INCLUDE\process.h(174) : error C2082: redefinition of 
formal parameter '_wsystem'
C:\PROGRA~1\MIAF9D~1\VC98\INCLUDE\process.h(184) : error C2085: '_loaddll' : 
not in formal parameter list
C:\PROGRA~1\MIAF9D~1\VC98\INCLUDE\process.h(185) : error C2085: '_unloaddll' : 
not in formal parameter list
C:\PROGRA~1\MIAF9D~1\VC98\INCLUDE\process.h(186) : error C2085: 
'_getdllprocaddr' : not in formal parameter list
C:\PROGRA~1\MIAF9D~1\VC98\INCLUDE\process.h(240) : error C2085: 'cwait' : not 
in formal parameter list
C:\PROGRA~1\MIAF9D~1\VC98\INCLUDE\process.h(241) : error C2085: 'execl' : not 
in formal parameter list
C:\PROGRA~1\MIAF9D~1\VC98\INCLUDE\process.h(242) : error C2085: 'execle' : not 
in formal parameter list
C:\PROGRA~1\MIAF9D~1\VC98\INCLUDE\process.h(243) : error C2085: 'execlp' : not 
in formal parameter list
C:\PROGRA~1\MIAF9D~1\VC98\INCLUDE\process.h(244) : error C2085: 'execlpe' : not 
in formal parameter list
C:\PROGRA~1\MIAF9D~1\VC98\INCLUDE\process.h(245) : error C2085: 'execv' : not 
in formal parameter list
C:\PROGRA~1\MIAF9D~1\VC98\INCLUDE\process.h(246) : error C2085: 'execve' : not 
in formal parameter list
C:\PROGRA~1\MIAF9D~1\VC98\INCLUDE\process.h(247) : error C2085: 'execvp' : not 
in formal parameter list
C:\PROGRA~1\MIAF9D~1\VC98\INCLUDE\process.h(248) : error C2085: 'execvpe' : not 
in formal parameter list
C:\PROGRA~1\MIAF9D~1\VC98\INCLUDE\process.h(249) : error C2085: 'spawnl' : not 
in formal parameter list
C:\PROGRA~1\MIAF9D~1\VC98\INCLUDE\process.h(250) : error C2085: 'spawnle' : not 
in formal parameter list
C:\PROGRA~1\MIAF9D~1\VC98\INCLUDE\process.h(251) : error C2085: 'spawnlp' : not 
in formal parameter list
C:\PROGRA~1\MIAF9D~1\VC98\INCLUDE\process.h(252) : error C2085: 'spawnlpe' : 
not in formal parameter list
C:\PROGRA~1\MIAF9D~1\VC98\INCLUDE\process.h(253) : error C2085: 'spawnv' : not 
in formal parameter list
C:\PROGRA~1\MIAF9D~1\VC98\INCLUDE\process.h(255) : error C2085: 'spawnve' : not 
in formal parameter list
C:\PROGRA~1\MIAF9D~1\VC98\INCLUDE\process.h(256) : error C2085: 'spawnvp' : not 
in formal parameter list
C:\PROGRA~1\MIAF9D~1\VC98\INCLUDE\process.h(258) : error C2085: 'spawnvpe' : 
not in formal parameter list
C:\PROGRA~1\MIAF9D~1\VC98\INCLUDE\process.h(262) : error C2085: 'getpid' : not 
in formal parameter list
C:\wireshark-win32-libs\kfw-3.2.2-ws1\include\win-mac.h(203) : error C2085: 
'get_lib_instance' : not in formal par
 list
C:\wireshark-win32-libs\kfw-3.2.2-ws1\include\krb5/krb5.h(127) : error C2085: 
'krb5_octet' : not in formal paramet
t
C:\wireshark-win32-libs\kfw-3.2.2-ws1\include\krb5/krb5.h(133) : error C2085: 
'krb5_int16' : not in formal paramet
t
C:\wireshark-win32-libs\kfw-3.2.2-ws1\include\krb5/krb5.h(134) : error C2085: 
'krb5_ui_2' : not in formal paramete

C:\wireshark-win32-libs\kfw-3.2.2-ws1\include\krb5/krb5.h(140) : error C2085: 
'krb5_int32' : not in formal paramet
t
C:\wireshark-win32-libs\kfw-3.2.2-ws1\include\krb5/krb5.h(141) : error C2085: 
'krb5_ui_4' : not in formal paramete

C:\wireshark-win32-libs\kfw-3.2.2-ws1\include\krb5/krb5.h(184) : error C2085: 
'krb5_boolean' : not in formal param
ist
C:\wireshark-win32-libs\kfw-3.2.2-ws1\include\krb5/krb5.h(185) : error C2085: 
'krb5_msgtype' : not in formal param
ist
C:\wireshark-win32-libs\kfw-3.2.2-ws1\include\krb5/krb5.h(186) : error C2085: 
'krb5_kvno' : not in formal paramete

C:\wireshark-win32-libs\kfw-3.2.2-ws1\include\krb5/krb5.h(188) : error C2085: 
'krb5_int32' : not in formal paramet
t
C:\wireshark-win32-libs\kfw-3.2.2-ws1\include\krb5/krb5.h(188) : error C2146: 
syntax error : missing ',' before id
er 'krb5_addrtype'
C:\wireshark-win32-libs\kfw-3.2.2-ws1\include\krb5/krb5.h(189) : error C2085: 
'krb5_int32' : not in formal paramet
t
C:\wireshark-win32-libs\kfw-3.2.2-ws1\include\krb5/krb5.h(189) : error C2146: 
syntax error : missing ',' before id
er 'krb5_enctype'
C:\wireshark-win32-libs\kfw-3.2.2-ws1\include\krb5/krb5.h(190) : error C2085: 
'krb5_int32' : not in formal paramet
t
C:\wireshark-win32-libs\kfw-3.2.2-ws1\include\krb5/krb5.h(190) : error C2146: 
syntax error : missing ',' before id
er 'krb5_cksumtype'
C:\wireshark-win32-libs\kfw-3.2.2-ws1\include\krb5/krb5.h(191) : error C2085: 
'krb5_int32' : not in formal paramet
t
C:\wireshark-win32-libs\kfw-3.2.2-ws1\include\krb5/krb5.h(191) : error C2146: 
syntax error : missing ',' before id
er 'krb5_authdatatype'
C:\wireshark-win32-libs\kfw-3.2.2-ws1\include\krb5/krb5.h(192) : error C2085: 
'krb5_int32' : not in formal paramet
t
C:\wireshark-win32-libs\kfw-3.2.2-ws1\include\krb5/krb5.h(192) : error C2146: 
syntax error : missing ',' before id
er 'krb5_keyusage'
C:\wireshark-win32-libs\kfw-3.2.2-ws1\include\krb5/krb5.h(194) : error C2085: 
'krb5_int32' : not in formal paramet
t
C:\wireshark-win32-libs\kfw-3.2.2-ws1\include\krb5/krb5.h(194) : error C2146: 
syntax error : missing ',' before id
er 'krb5_preauthtype'
C:\wireshark-win32-libs\kfw-3.2.2-ws1\include\krb5/krb5.h(195) : error C2085: 
'krb5_int32' : not in formal paramet
t
C:\wireshark-win32-libs\kfw-3.2.2-ws1\include\krb5/krb5.h(195) : error C2146: 
syntax error : missing ',' before id
er 'krb5_flags'
C:\wireshark-win32-libs\kfw-3.2.2-ws1\include\krb5/krb5.h(196) : error C2085: 
'krb5_int32' : not in formal paramet
t
C:\wireshark-win32-libs\kfw-3.2.2-ws1\include\krb5/krb5.h(196) : error C2146: 
syntax error : missing ',' before id
er 'krb5_timestamp'
C:\wireshark-win32-libs\kfw-3.2.2-ws1\include\krb5/krb5.h(197) : error C2085: 
'krb5_int32' : not in formal paramet
t
C:\wireshark-win32-libs\kfw-3.2.2-ws1\include\krb5/krb5.h(197) : error C2146: 
syntax error : missing ',' before id
er 'krb5_error_code'
C:\wireshark-win32-libs\kfw-3.2.2-ws1\include\krb5/krb5.h(198) : error C2085: 
'krb5_int32' : not in formal paramet
t
C:\wireshark-win32-libs\kfw-3.2.2-ws1\include\krb5/krb5.h(198) : error C2146: 
syntax error : missing ',' before id
er 'krb5_deltat'
C:\wireshark-win32-libs\kfw-3.2.2-ws1\include\krb5/krb5.h(200) : error C2085: 
'krb5_error_code' : not in formal pa
r list
C:\wireshark-win32-libs\kfw-3.2.2-ws1\include\krb5/krb5.h(200) : error C2146: 
syntax error : missing ',' before id
er 'krb5_magic'
C:\wireshark-win32-libs\kfw-3.2.2-ws1\include\krb5/krb5.h(203) : error C2061: 
syntax error : identifier 'krb5_magi
C:\wireshark-win32-libs\kfw-3.2.2-ws1\include\krb5/krb5.h(206) : error C2059: 
syntax error : '}'
C:\wireshark-win32-libs\kfw-3.2.2-ws1\include\krb5/krb5.h(206) : fatal error 
C1003: error count exceeds 100; stopp
mpilation
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'C:\PROGRA~1\MIAF9D~1\VC98\BIN\NMAKE.EXE' : return 
code '0x2'
Stop.
NMAKE : fatal error U1077: 'C:\PROGRA~1\MIAF9D~1\VC98\BIN\NMAKE.EXE' : return 
code '0x2'
Stop.
"
>Hi,
>You should give it some more time compiling RRC with MSVC6 takes a long
>time :-(
>Regards
>Anders 
>
>-----Original Message-----
>From: [email protected]
>[mailto:[email protected]] On Behalf Of Fenggen Jia
>Sent: den 29 juni 2009 09:32
>To: Developer support list for Wires
>Subject: Re: [Wireshark-dev] build wireshark on Windows xp with VC 6.0
>failed
>
>Sorry I just uncommented "MSVC_VARIANT=MSVC6" but forgot commenting
>"MSVC_VARIANT=MSVC2008" out,now I have changed that and that problem
>disappears,but another problem occurs:
>
>"Command line warning D4025 : overriding '/Zi' with '/Zd'
>packet-rrc.c"
>
>The build process seems to stop here(not proceeding for a long time,I
>wait for about 5 miniute),are there any places I need to change?
>FYI:I have used "nmake -f Makefile.nmake verify_tools" to check the
>tools that needed,the following gives the output:
>"
>C:\wireshark>nmake -f Makefile.nmake verify_tools
>
>Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
>Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
>
>Checking for required applications:
>        cl: /cygdrive/c/PROGRA~1/MIAF9D~1/VC98/BIN/cl
>        link: /cygdrive/c/PROGRA~1/MIAF9D~1/VC98/BIN/link
>        nmake: /cygdrive/c/PROGRA~1/MIAF9D~1/VC98/BIN/nmake
>        bash: /usr/bin/bash
>        bison: /usr/bin/bison
>        flex: /usr/bin/flex
>        env: /usr/bin/env
>        grep: /usr/bin/grep
>        /usr/bin/find: /usr/bin/find
>        perl: /usr/bin/perl
>        C:\Python26\python.exe: /cygdrive/c/Python26/python.exe
>        sed: /usr/bin/sed
>        unzip: /usr/bin/unzip
>        wget: /usr/bin/wget
>"
>For the other steps,I have followed
>https://wireshark.org/docs/wsdg_html_chunked/ChSetupWin32.html#ChSetupMS
>VC
>section 2.2. Win32: Step-by-Step Guide.
>
>Thanks,
>Yours,Fenggen
>
>>Fenggen Jia wrote:
>>> When building the latest wireshark source from SVN(28879), the
>following problem occurs:
>>> "
>>> mt: unknown option -- n
>>> usage: mt [-V] [-f device] operation [count] NMAKE : fatal error 
>>> U1077: 'mt.exe' : return code '0x1'
>>> Stop.
>>> "
>>> The mt version i'm using is below:
>>> "C:\cygwin\bin>mt.exe -V
>>> mt V2.3.2, Corinna Vinschen, Jan 14 2009"
>>
>>Do you have
>>
>>MSVC_VARIANT=MSVC6
>>
>>uncommented in config.nmake, and are all the other MSVC_VARIANTs 
>>commented out?
>>_______________________________________________________________________
>____
>>Sent via:    Wireshark-dev mailing list <[email protected]>
>>Archives:    http://www.wireshark.org/lists/wireshark-dev
>>Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
>>             
>>mailto:[email protected]?subject=unsubscribe
>
>
>
>________________________________________________________________________
>___
>Sent via:    Wireshark-dev mailing list <[email protected]>
>Archives:    http://www.wireshark.org/lists/wireshark-dev
>Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
> 
>mailto:[email protected]?subject=unsubscribe
>___________________________________________________________________________
>Sent via:    Wireshark-dev mailing list <[email protected]>
>Archives:    http://www.wireshark.org/lists/wireshark-dev
>Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
>             mailto:[email protected]?subject=unsubscribe









------------------
Huicheng Shao

mail: [email protected]
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <[email protected]>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:[email protected]?subject=unsubscribe

Reply via email to