Wireshark-dev: Re: [Wireshark-dev] [Wireshark-users] Unable to compile static build of TShark o
From: Barry Gould <mailinglists@xxxxxxxxxxxxxxxxx>
Date: Thu, 06 Sep 2007 15:26:09 -0700
I'm really starting to suspect that configure isn't working right. I just tried with --disable-zlib, and it still says "Ues zlib library: yes"This leads me to wonder if the other options are working, and if that might be why I can't get a static build to work.
Thanks, Barry At 07:00 PM 9/5/2007, Barry Gould wrote:
OK, I came across this: http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1676 so I'm trying again with: ./configure --enable-wireshark=no --without-krb5 --without-ssl --disable-text2pcap --enable-dftest=no --enable-randpct=no --enable-ipv6=no --enable-threads=no --without-portaudio --disable-gtk2 --without-lua --enable-dftest=no --enable-static=yes --with-net-snmp=no --with-ucd-snmp=no --without-adns --disable-gtkplus --disable-gmodule --disable-shared --disable-dependency-tracking --without-plugins --disable-warnings-as-errors That gets further, but then gets another cannot find -lgmodule again! Does anyone have a working build for static TShark on Linux? Thanks, Barry At 03:12 PM 9/5/2007, Barry Gould wrote: >At 05:45 PM 9/4/2007, Guy Harris wrote: > >If so, you will have to configure with --without-plugins. > >OK, I tried >./configure --enable-wireshark=no --enable-static=yes --without-plugins > >and still got a -lgmodule-2.0 error > >so I tried >./configure --enable-wireshark=no --enable-static=yes >--without-plugins --disable-gmodule > >and still got a -lgmodule-2.0 error > > >and if I do this: >$ ./configure --enable-wireshark=no --without-krb5 --without-ssl >--disable-text2pcap --enable-dftest=no --enable-randpct=no >--enable-ipv6=no --enable-threads=no --without-portaudio --disable-gtk2 >--without-lua --enable-dftest=no --enable-static=yes --with-net-snmp=no >--with-ucd-snmp=no --without-adns --disable-gtkplus --disable-gmodule >--disable-shared --disable-dependency-tracking --without-plugins > >I get some other errors (below) > >The Wireshark package has been configured with the following options. > Build wireshark : no > Build tshark : yes > Build capinfos : yes > Build editcap : yes > Build dumpcap : yes > Build mergecap : yes > Build text2pcap : no > Build idl2wrs : yes > Build randpkt : yes > Build dftest : no > > Install setuid : no > Use plugins : no > Build lua plugin : no > Build rtp_player : no > Use GTK+ v2 library : no > Use pcap library : yes > Use zlib library : yes > Use pcre library : no > Use kerberos library : no > Use GNU ADNS library : no > Use GNU crypto library : no > Use SSL crypto library : no > Use IPv6 name resolution : no > Use Net-SNMP library : no > Use gnutls library : no > >$ make -j2 >... >make[3]: Entering directory `/usr/src/wireshark-0.99.6/wiretap' >/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. > -I/usr/local/include -I/usr/local/include -Werror >-D_U_="__attribute__((unused))" -g -O2 -Wall -W >-Wdeclaration-after-statement -Wendif-labels -Wpointer-arith >-Wbad-function-cast -Wcast-qual -Wwrite-strings -Wstrict-prototypes >-Wmissing-declarations -Wno-pointer-sign -Wcast-align >-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/local/include >-I/usr/local/include -c -o libwiretap_la-erf.lo `test -f 'erf.c' || echo >'./'`erf.c > gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include >-Werror "-D_U_=__attribute__((unused))" -g -O2 -Wall -W >-Wdeclaration-after-statement -Wendif-labels -Wpointer-arith >-Wbad-function-cast -Wcast-qual -Wwrite-strings -Wstrict-prototypes >-Wmissing-declarations -Wno-pointer-sign -Wcast-align >-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/local/include >-I/usr/local/include -c erf.c -o libwiretap_la-erf.o >cc1: warnings being treated as errors >erf.c: In function 'erf_open': >erf.c:152: warning: const qualifier ignored on asm >erf.c:211: warning: const qualifier ignored on asm >erf.c:215: warning: const qualifier ignored on asm >erf.c: In function 'erf_read_header': >erf.c:364: warning: const qualifier ignored on asm >erf.c:408: warning: const qualifier ignored on asm >erf.c:443: warning: const qualifier ignored on asm >erf.c:458: warning: const qualifier ignored on asm >erf.c:458: warning: const qualifier ignored on asm >erf.c:458: warning: const qualifier ignored on asm >erf.c:458: warning: const qualifier ignored on asm >erf.c:459: warning: const qualifier ignored on asm >erf.c:468: warning: const qualifier ignored on asm >erf.c:468: warning: const qualifier ignored on asm >erf.c:468: warning: const qualifier ignored on asm >erf.c:468: warning: const qualifier ignored on asm >erf.c:469: warning: const qualifier ignored on asm >erf.c:478: warning: const qualifier ignored on asm >erf.c:478: warning: const qualifier ignored on asm >erf.c:478: warning: const qualifier ignored on asm >erf.c:478: warning: const qualifier ignored on asm >erf.c:479: warning: const qualifier ignored on asm >make[3]: *** [libwiretap_la-erf.lo] Error 1 >make[3]: Leaving directory `/usr/src/wireshark-0.99.6/wiretap' >make[2]: *** [all] Error 2 >make[2]: Leaving directory `/usr/src/wireshark-0.99.6/wiretap' >make[1]: *** [all-recursive] Error 1 >make[1]: Leaving directory `/usr/src/wireshark-0.99.6' >make: *** [all] Error 2 > > > > >Thanks, >Barry > >_______________________________________________ >Wireshark-users mailing list >Wireshark-users@xxxxxxxxxxxxx >http://www.wireshark.org/mailman/listinfo/wireshark-users _______________________________________________ Wireshark-users mailing list Wireshark-users@xxxxxxxxxxxxx http://www.wireshark.org/mailman/listinfo/wireshark-users
- References:
- Prev by Date: Re: [Wireshark-dev] WiMAX ASN Control Protocol dissector submission status?
- Next by Date: [Wireshark-dev] Windows 2K build problem(s)
- Previous by thread: Re: [Wireshark-dev] [Wireshark-users] Unable to compile static build of TShark on Fedora 7
- Next by thread: Re: [Wireshark-dev] [Wireshark-users] Unable to compile static build of TShark on Fedora 7
- Index(es):