[Wireshark-dev] Build broken in asn1/x721 (r34777)?
Trying to re-build the ASN1 dissectors (is 'make' within the ASN1 the right way to do it?) breaks: Making all in x721 make[1]: Entering directory `/home/ykaul/wireshark/asn1/x721' python ../../tools/asn2wrs.py \ \ -p dummy \ -c ./dummy.cnf \ -s ./packet-dummy-template \ -D . \ ASN.1 to Wireshark dissector compiler asn2wrs [-h|?] [-d dbg] [-b] [-p proto] [-c cnf_file] [-e] input_file(s) ... -h|? : Usage -b: BER (default is PER) -u: Unaligned (default is aligned) -p proto : Protocol name (implies -S). Default is module-name from input_file (renamed by #.MODULE if present) -o name : Output files name core (default is proto) -O dir: Output directory -c cnf_file : Conformance file -I path : Path for conformance file includes -e: Create conformance file for exported types -E: Just create conformance file for exported types -S: Single output for multiple modules -s template : Single file output (template is input file without .c/.h extension) -k: Keep intermediate files though single file output is used -L: Suppress #line directive from .cnf file -D dir: Directory for input_file(s) (default: '.') -C: Add check for SIZE constraints -r prefix : Remove the prefix from type names input_file(s) : Input ASN.1 file(s) -d dbg: Debug output, dbg = [l][y][p][s][a][t][c][m][o] l - lex y - yacc p - parsing s - internal ASN.1 structure a - list of assignments t - tables c - conformance values m - list of compiled modules with dependency o - list of output files make[1]: *** [packet-dummy.c] Error 2 make[1]: Leaving directory `/home/ykaul/wireshark/asn1/x721' make: *** [all-recursive] Error 1 ___ 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-requ...@wireshark.org?subject=unsubscribe
Re: [Wireshark-dev] Build broken in asn1/x721 (r34777)?
Kaul wrote: Trying to re-build the ASN1 dissectors (is 'make' within the ASN1 the right way to do it?) breaks: Looks like it's a known issue: http://anonsvn.wireshark.org/viewvc?view=revrevision=34734 ___ 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-requ...@wireshark.org?subject=unsubscribe
Re: [Wireshark-dev] Build broken in asn1/x721 (r34777)?
So how *do* I build Wireshark now? It seems to affect the normal build: libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I./../.. -I./.. -I/usr/local/include -DPLUGIN_DIR=\/usr/local/lib/wireshark/plugins/1.5.0\ -Werror -DINET6 -D_U_=__attribute__((unused)) -g -O2 -Wall -W -Wextra -Wdeclaration-after-statement -Wendif-labels -Wpointer-arith -Wno-pointer-sign -Warray-bounds -Wcast-align -Wformat-security -fexcess-precision=fast -I/usr/local/include -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -MT libdissectors_la-packet-dcerpc-netlogon.lo -MD -MP -MF .deps/libdissectors_la-packet-dcerpc-netlogon.Tpo -c packet-dcerpc-netlogon.c -fPIC -DPIC -o .libs/libdissectors_la-packet-dcerpc-netlogon.o cc1: warnings being treated as errors packet-dcerpc-netlogon.c: In function ‘get_keytab_as_list’: packet-dcerpc-netlogon.c:6846:5: error: implicit declaration of function ‘read_keytab_file_from_preferences’ make[5]: *** [libdissectors_la-packet-dcerpc-netlogon.lo] Error 1 make[5]: Leaving directory `/home/ykaul/wireshark/epan/dissectors' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/home/ykaul/wireshark/epan/dissectors' make[3]: *** [all] Error 2 make[3]: Leaving directory `/home/ykaul/wireshark/epan/dissectors' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/ykaul/wireshark/epan' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/ykaul/wireshark' make: *** [all] Error 2 On Thu, Nov 4, 2010 at 5:20 PM, Jeff Morriss jeff.morriss...@gmail.comwrote: Kaul wrote: Trying to re-build the ASN1 dissectors (is 'make' within the ASN1 the right way to do it?) breaks: Looks like it's a known issue: http://anonsvn.wireshark.org/viewvc?view=revrevision=34734 ___ 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-requ...@wireshark.org?subject=unsubscribe ___ 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-requ...@wireshark.org?subject=unsubscribe
Re: [Wireshark-dev] Build broken in asn1/x721 (r34777)?
Kaul wrote: So how *do* I build Wireshark now? It seems to affect the normal build: You shouldn't be building anything in the asn1 directory unless you mean to be (generally to rebuild those dissectors). The top-level Makefile doesn't descend into asn1. packet-dcerpc-netlogon.c: In function ‘get_keytab_as_list’: packet-dcerpc-netlogon.c:6846:5: error: implicit declaration of function ‘read_keytab_file_from_preferences’ That's got nothing to do with what's in the asn1 directory. At first glance it sounds like your packet-kerberos.h was compiled without HAVE_KERBEROS but packet-dcerpc-netlogon.c is compiled with it. Or something like that... ___ 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-requ...@wireshark.org?subject=unsubscribe
Re: [Wireshark-dev] Build broken in asn1/x721 (r34777)?
On Thu, Nov 4, 2010 at 5:35 PM, Jeff Morriss jeff.morriss...@gmail.comwrote: Kaul wrote: So how *do* I build Wireshark now? It seems to affect the normal build: You shouldn't be building anything in the asn1 directory unless you mean to be (generally to rebuild those dissectors). The top-level Makefile doesn't descend into asn1. Indeed - I was trying (still am) to fix a bug in ldap. packet-dcerpc-netlogon.c: In function ‘get_keytab_as_list’: packet-dcerpc-netlogon.c:6846:5: error: implicit declaration of function ‘read_keytab_file_from_preferences’ That's got nothing to do with what's in the asn1 directory. I think it is. packet-kerberos.h is created automatically by the ASN.1 dissector. Since its make failed, this failed. manually building it (../../tools/asn2wrs.py -b -e -p kerberos -c ./kerberos.cnf -s ./packet-kerberos-template -D . KerberosV5Spec2.asn k5.asn) fixed this. Y. At first glance it sounds like your packet-kerberos.h was compiled without HAVE_KERBEROS but packet-dcerpc-netlogon.c is compiled with it. Or something like that... ___ 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-requ...@wireshark.org?subject=unsubscribe ___ 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-requ...@wireshark.org?subject=unsubscribe
Re: [Wireshark-dev] Build broken in asn1/x721 (r34777)?
Hi, The asn1 version of kerberos is not completed and no to be used... You should revert packet-kerberos.[ch] Regards Anders From: wireshark-dev-boun...@wireshark.org [mailto:wireshark-dev-boun...@wireshark.org] On Behalf Of Kaul Sent: den 4 november 2010 16:57 To: Developer support list for Wireshark Subject: Re: [Wireshark-dev] Build broken in asn1/x721 (r34777)? On Thu, Nov 4, 2010 at 5:35 PM, Jeff Morriss jeff.morriss.wshttp://jeff.morriss.ws@gmail.comhttp://gmail.com wrote: Kaul wrote: So how *do* I build Wireshark now? It seems to affect the normal build: You shouldn't be building anything in the asn1 directory unless you mean to be (generally to rebuild those dissectors). The top-level Makefile doesn't descend into asn1. Indeed - I was trying (still am) to fix a bug in ldap. packet-dcerpc-netlogon.c: In function 'get_keytab_as_list': packet-dcerpc-netlogon.c:6846:5: error: implicit declaration of function 'read_keytab_file_from_preferences' That's got nothing to do with what's in the asn1 directory. I think it is. packet-kerberos.h is created automatically by the ASN.1 dissector. Since its make failed, this failed. manually building it (../../tools/asn2wrs.py -b -e -p kerberos -c ./kerberos.cnf -s ./packet-kerberos-template -D . KerberosV5Spec2.asn k5.asn) fixed this. Y. At first glance it sounds like your packet-kerberos.h was compiled without HAVE_KERBEROS but packet-dcerpc-netlogon.c is compiled with it. Or something like that... ___ Sent via:Wireshark-dev mailing list wireshark-dev@wireshark.orgmailto:wireshark-dev@wireshark.org Archives:http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-requ...@wireshark.orgmailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe ___ 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-requ...@wireshark.org?subject=unsubscribe
Re: [Wireshark-dev] Build broken in asn1/x721 (r34777)?
On Thu, Nov 4, 2010 at 5:57 PM, Kaul myk...@gmail.com wrote: On Thu, Nov 4, 2010 at 5:35 PM, Jeff Morriss jeff.morriss...@gmail.comwrote: Kaul wrote: So how *do* I build Wireshark now? It seems to affect the normal build: You shouldn't be building anything in the asn1 directory unless you mean to be (generally to rebuild those dissectors). The top-level Makefile doesn't descend into asn1. Indeed - I was trying (still am) to fix a bug in ldap. packet-dcerpc-netlogon.c: In function ‘get_keytab_as_list’: packet-dcerpc-netlogon.c:6846:5: error: implicit declaration of function ‘read_keytab_file_from_preferences’ That's got nothing to do with what's in the asn1 directory. I think it is. packet-kerberos.h is created automatically by the ASN.1 dissector. Since its make failed, this failed. manually building it (../../tools/asn2wrs.py -b -e -p kerberos -c ./kerberos.cnf -s ./packet-kerberos-template -D . KerberosV5Spec2.asn k5.asn) fixed this. Y. Spoke too soon. The compile still failed. I'll tried to compile without Kerberos - that didn't work either - other errors (I'm pretty sure no one tried ./configure --without-krb5 ; make ). I wonder if it's due to Fedora 14, to which I upgraded just yesterday. I've reveted packet-kerberos.[ch] per Anders' advice - that finally fixed it. Y. At first glance it sounds like your packet-kerberos.h was compiled without HAVE_KERBEROS but packet-dcerpc-netlogon.c is compiled with it. Or something like that... ___ 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-requ...@wireshark.org ?subject=unsubscribe ___ 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-requ...@wireshark.org?subject=unsubscribe