Title: Making error on windows XP
Hi,
As the 
output suggests there is something wrong at line 213 in the template 
file:
packet-chlipx1-template.c(213) : error C2220: warning 
treated as error - no 'object' file generated 
If 
this is not refering to a line in the template file try:
 python 
../../tools/asn2wrs.py -b -e -L -p chlipx1 -c chlipx1.cnf -s 
packet-chlipx1-template chlipx1.asn
then 
look at the indicated line in the generated .c file.
 
Regards
Anders
Hi, 
OS is windows XP, wireshark source 
code is last version of wireshark-1.0.7. 
Checking for required 
applications:
        cl: 
/cygdrive/c/Program Files/Microsoft Visual Studio 
9.0/VC/BIN/cl
        link: 
/cygdrive/c/Program Files/Microsoft Visual Studio 
9.0/VC/BIN/link
        nmake: 
/cygdrive/c/Program Files/Microsoft Visual Studio 
9.0/VC/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 
I want to added 3 new dissectors, 
coding is finished. I used python 2.6 to create c file, python ../../tools/asn2wrs.py -b -e -p chlipx1 -c 
chlipx1.cnf -s packet-chlipx1-template chlipx1.asn
After that, I copy 
packet-chlipx1.c packet-chlipx1.h to /epan/dissectors 
During make, some problem met. Anyone can help to resolve this problem. 
Thanks. 
nmake -f Makefile.nmake all 
Output: 
        cd dissectors 
        "C:\Program Files\Microsoft Visual Studio 
9.0\VC\BIN\nmake.exe" 
/                   
-f Makefile.nmake 
        cl -DWIN32 -DNULL=0 -D_MT -D_DLL -WX -DHAVE_CONFIG_H /I. 
/I.. /I../.. /IC:\wireshark-libs-1.0\glib\include\glib-2.0  
/IC:\wireshark-libs-1.0\glib\lib\glib-2.0\include  
/IC:\wireshark-libs-1.0\zlib123\include  
/IC:\wireshark-libs-1.0\pcre-7.0\include 
/IC:\wireshark-libs-1.0\gnutls-2.6.3-1\include /DNOCRYPT   
/IC:\wireshark-libs-1.0\kfw-2.5\inc   
/IC:\wireshark-libs-1.0\WPdpack\include -D_U_="" /Zi /W3 /MD 
/D_CRT_SECURE_NO_DEPRECATE /D_CRT_NONSTDC_NO_DEPRECATE /DWIN32_LEAN_AND_MEAN 
/DMSC_VER_REQUIRED=1500 /D_BIND_TO_CURRENT_CRT_VERSION=1 -Fd.\ -c 
packet-chlipx1.c packet-chlipx2.c packet-chlipx3.c 
packet-chlipx1.c 
packet-chlipx1-template.c(213) : error C2220: warning 
treated as error - no 'object' file generated 
packet-chlipx1-template.c(213) 
: warning C4113: 'void (__cdecl *)()' differs in parameter lists from 'void 
(__cdecl *)(void)'
packet-chlipx2.c 
packet-chlipx2-template.c(210) : error C2220: warning 
treated as error - no 'object' file generated 
packet-chlipx2-template.c(210) 
: warning C4113: 'void (__cdecl *)()' differs in parameter lists from 'void 
(__cdecl *)(void)'
packet-chlipx3.c 
packet-chlipx3-template.c(119) : error C2220: warning 
treated as error - no 'object' file generated 
packet-chlipx3-template.c(119) 
: warning C4113: 'void (__cdecl *)()' differs in parameter lists from 'void 
(__cdecl *)(void)'
Best 
Regards 
Patrick