Wireshark-dev: Re: [Wireshark-dev] newbie build problem with python -> gnutls/openssl.h
Hey, guys.
Thanks for the suggestions. What finally worked for me was changing:
@$(PYTHON) ../../tools/make-dissector-reg.py . dissectors $(DISSECTOR_SRC)
to
..\..\tools\make-dissector-reg.py . dissectors $(DISSECTOR_SRC)
I'm not sure why removing @$(PYTHON) worked (changing "/" to "\" by itself was not enough). Hope I'm not off in the weeds now...
My build still doesn't finish, but the error is no longer python related. Now I've got an error when it gets to packet-dtls.c:
packet-dtls.c
c:\wireshark\epan\dissectors\packet-ssl-utils.h(39) : fatal error C1083: Cannot
open include file: 'gnutls/openssl.h': No such file or directory
Not sure what could cause this since I do have that file:
C:\wireshark>dir c:\wireshark-win32-libs\gnutls-1.5.0-1\include\gnutls\openssl.h
Volume in drive C is SYSTEM
Volume Serial Number is 7887-F62A
Directory of c:\wireshark-win32-libs\gnutls-1.5.0-1\include\gnutls
08/08/2006 10:39 AM 9,690 openssl.h
1 File(s) 9,690 bytes
0 Dir(s)
1,411,571,712 bytes free
C:\wireshark>
If I try the make again without doing a clean first, then I get a different error:
packet-dtls.c
C:\wireshark-win32-libs\gnutls-1.5.0-1\include\gnutls\openssl.h(94) : error C205
9: syntax error : 'type'
Line 94 in openssl.h is a "typedef gnutls_x509_dn X509_NAME".
That's as far as I've gotten. I don't know why it finds the file the second time I run nmake and then I don't know why it barfs on that typedef.
Any ideas?
Thanks,
Shelly
Date: Mon, 18 Sep 2006 09:23:16 -0400
From: "Cook, Timothy" <
tcook@xxxxxxxxxxxxxxxxxx>
Subject: Re: [Wireshark-dev] newbie build problem with python
To: "Developer support list for Wireshark"
<
wireshark-dev@xxxxxxxxxxxxx>
Message-ID:
<
28BBC4D1E2DEBB4F97406EEBD33F73CA029400D3@xxxxxxxxxxxxxxxxxxx>
Content-Type: text/plain; charset="us-ascii"
If you are using 0.99.1+ (maybe) or SVN version you may have this
problem!
This problem crept in several months ago when the python input file for
.\dissectors was renamed (maake-dissector-reg.py) and moved to
a
sub-directory. This change was also made in the .\plugins\profinet &
sbus directories. On Win32 platform, this problem can be corrected by
either of two solution:
change
@$(PYTHON) ../../tools/make-dissector-reg.py . dissectors
$(DISSECTOR_SRC)
to
@$(PYTHON) "../../tools/make-dissector-reg.py" . dissectors
$(DISSECTOR_SRC)
or
@$(PYTHON) ..\..\tools\make-dissector-reg.py . dissectors
$(DISSECTOR_SRC)
This still needs to be corrected in SVN & releases.
-Tim
Get your own
web address for just $1.99/1st yr. We'll help.
Yahoo! Small Business.