Home page logo

wireshark logo Wireshark mailing list archives

Re: Status Cmake Win32 support
From: Graham Bloice <graham.bloice () trihedral com>
Date: Fri, 29 Nov 2013 18:13:26 +0000

On 29 November 2013 17:56, Joerg Mayer <jmayer () loplof de> wrote:

On Sun, Nov 24, 2013 at 07:45:07PM +0000, Graham Bloice wrote:
I've now got tshark to build from a VS solution file, had to do some
to get there though, patch files attached for others to peruse, as I'm
sure if they are the optimal solutions:
   3. As mentioned in my previous message, the VS solution chops out
   8192nd byte from the command line passed to make-dissector-reg.py.  My
   patch (make-reg.patch) gets CMake to write out the required source
   list to a file and modifies the python script to read in the file.
   python changes *should* be backwards compatible.

The compile on my openSUSE 13.1 system fails (and I can confirm that this
me further with msbuild builds :-)

make[2]: Entering directory `/home/jmayer/work/wireshark/svn/build/qt-gtk3'
/usr/bin/cmake -E cmake_progress_report
[ 94%] Generating plugin.c
cd /home/jmayer/work/wireshark/svn/build/qt-gtk3/plugins/asn1 &&
Traceback (most recent call last):
"/home/jmayer/work/wireshark/svn/trunk/tools/make-dissector-reg.py", line
34, in <module>
    registertype = sys.argv[2]
IndexError: list index out of range
make[2]: *** [plugins/asn1/plugin.c] Error 1
make[2]: Leaving directory `/home/jmayer/work/wireshark/svn/build/qt-gtk3'

I think that error means that there were insufficient parameters passed in
to the script. The intent was that non-win32 systems would still pass in
the parameters on the command line.

Can you try it again, but with the changes to make-register-dissector.py
reverted to see if the problem is on the python or CMake side?  I'm fairly
positive that I ran an nmake build last night that would still have used
make-register-dissector.py in the previous mode, if so that points the
finger at the CMake side.
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]