Wireshark-users: [Wireshark-users] Error w/ Make command on CentOS 4.5 & wireshark-0.99.6
From: Steve West <stevewest15@xxxxxxxxx>
Date: Sat, 03 Nov 2007 22:43:28 -0400
Hi,I'm trying to install just tshark to use wireshark via command line rather than a GUI. So, I checked to make sure all required packages are installed based on the online documentation, ran the configure command with no problems, but when I try to run the make command, I'm getting an error. The following packages are installed on the system:
glib-1.2.10-15 glib-devel-1.2.10-15 glib2-2.4.7-1 glibc-2.3.4-2.36 glibc-common-2.3.4-2.36 glibc-devel-2.3.4-2.36 glibc-headers-2.3.4-2.36 glibc-kernheaders-2.4-9.1.100.EL dbus-glib-0.22-12.EL.9 libpcap-0.8.3-10.RHEL4[root@bb wireshark-0.99.6]# ./configure --disable-wireshark --disable-gtk2 --enable-tshark
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 : yes Build idl2wrs : yes Build randpkt : yes Build dftest : yes Install setuid : no Use plugins : yes 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 : yes Use Net-SNMP library : no Use gnutls library : no # make /usr/bin/perl ./make-version.pl . Version configuration file version.conf not found. Using defaults. This is not a SVN build. svnversion.h is up-to-date. make all-recursive make[1]: Entering directory `/root/wireshark-0.99.6' Making all in tools make[2]: Entering directory `/root/wireshark-0.99.6/tools' Making all in lemon make[3]: Entering directory `/root/wireshark-0.99.6/tools/lemon' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/root/wireshark-0.99.6/tools/lemon' make[3]: Entering directory `/root/wireshark-0.99.6/tools' make[3]: Nothing to be done for `all-am'. make[3]: Leaving directory `/root/wireshark-0.99.6/tools' make[2]: Leaving directory `/root/wireshark-0.99.6/tools' Making all in wiretap make[2]: Entering directory `/root/wireshark-0.99.6/wiretap' make all-am make[3]: Entering directory `/root/wireshark-0.99.6/wiretap'if /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 -Wcast-align -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/local/include -I/usr/local/include -MT libwiretap_la-erf.lo -MD -MP -MF ".deps/libwiretap_la-erf.Tpo" -c -o libwiretap_la-erf.lo `test -f 'erf.c' || echo './'`erf.c; \ then mv -f ".deps/libwiretap_la-erf.Tpo" ".deps/libwiretap_la-erf.Plo"; else rm -f ".deps/libwiretap_la-erf.Tpo"; exit 1; fi 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 -Wcast-align -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/local/include -I/usr/local/include -MT libwiretap_la-erf.lo -MD -MP -MF .deps/libwiretap_la-erf.Tpo -c erf.c -fPIC -DPIC -o .libs/libwiretap_la-erf.o
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 `/root/wireshark-0.99.6/wiretap' make[2]: *** [all] Error 2 make[2]: Leaving directory `/root/wireshark-0.99.6/wiretap' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/wireshark-0.99.6' make: *** [all] Error 2I also checked the config.log last few lines but didn't see anything that can shed some light as to why I can't make the package:
#define HAVE_PCAP_GET_SELECTABLE_FD 1 #define HAVE_LIBZ 1 #define STDC_HEADERS 1 #define HAVE_DIRENT_H 1 #define HAVE_FCNTL_H 1 #define HAVE_NETDB_H 1 #define HAVE_STDARG_H 1 #define HAVE_STDDEF_H 1 #define HAVE_UNISTD_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_SYS_TIME_H 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_UTSNAME_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_ICONV 1 #define ICONV_CONST #define WS_VAR_IMPORT extern #define HAVE_AIRPDCAP 1 #define G_GINT64_MODIFIER "ll" #define NEED_G_ASCII_STRTOULL_H 1 #define HAVE_INET_NTOP_PROTO 1 #define HAVE_GETPROTOBYNUMBER 1 #define HAVE_GETHOSTBYNAME2 1 #define HAVE_MMAP 1 #define HAVE_MPROTECT 1 #define HAVE_SYSCONF 1 #define HAVE_PLUGINS 1 #define PLUGIN_DIR "/usr/local/lib/wireshark/plugins/0.99.6" configure: exit 0 ============== Anyone have any suggestions on what the problem? thx, SW
- Follow-Ups:
- Re: [Wireshark-users] Error w/ Make command on CentOS 4.5 & wireshark-0.99.6
- From: Stephen Fisher
- Re: [Wireshark-users] Error w/ Make command on CentOS 4.5 & wireshark-0.99.6
- Prev by Date: [Wireshark-users] how to convert g729 RTP stream into any playable format?
- Next by Date: Re: [Wireshark-users] Error w/ Make command on CentOS 4.5 & wireshark-0.99.6
- Previous by thread: Re: [Wireshark-users] how to convert g729 RTPstream into anyplayableformat?
- Next by thread: Re: [Wireshark-users] Error w/ Make command on CentOS 4.5 & wireshark-0.99.6
- Index(es):