HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=4)
-   -   Ethereal Trouble (http://www.howtoforge.com/forums/showthread.php?t=4712)

mcrosby 5th June 2006 16:41

Ethereal Trouble
 
hi i am having trouble installing a customized version of ethereal that my company uses. We install it no problem on some of our laptops running Redhat but i am trying to install it on two of our new servers and i am having trouble. I first had trouble because the versions of gtk and glib were not correct and i eventually fixed that problem and now the install configures correctly. Here are the results of the configure.

Quote:


The Ethereal package has been configured with the following options.
Build ethereal : yes
Build tethereal : yes
Build editcap : yes
Build mergecap : yes
Build text2pcap : yes
Build idl2eth : yes
Build randpkt : no
Build dftest : no

Install setuid : no
Use plugins : yes
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 IPv6 name resolution : yes
Use UCD SNMP/NET-SNMP library : no



So everything seems to be configured correctly? I then try and perform the make. The make runs but there are several errors during the procedure. Here is the make out put.


Quote:


[root@wimax_host_b ethereal]# make
/usr/bin/perl ./make-version.pl
This is not a CVS build.
cvsversion.h is up-to-date.
make all-recursive
make[1]: Entering directory `/opt/ethereal'
Making all in tools
make[2]: Entering directory `/opt/ethereal/tools'
Making all in lemon
make[3]: Entering directory `/opt/ethereal/tools/lemon'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/opt/ethereal/tools/lemon'
make[3]: Entering directory `/opt/ethereal/tools'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/opt/ethereal/tools'
make[2]: Leaving directory `/opt/ethereal/tools'
Making all in wiretap
make[2]: Entering directory `/opt/ethereal/wiretap'
make all-am
make[3]: Entering directory `/opt/ethereal/wiretap'
make[3]: Leaving directory `/opt/ethereal/wiretap'
make[2]: Leaving directory `/opt/ethereal/wiretap'
Making all in doc
make[2]: Entering directory `/opt/ethereal/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/opt/ethereal/doc'
Making all in epan
make[2]: Entering directory `/opt/ethereal/epan'
make all-recursive
make[3]: Entering directory `/opt/ethereal/epan'
Making all in ftypes
make[4]: Entering directory `/opt/ethereal/epan/ftypes'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/opt/ethereal/epan/ftypes'
Making all in dfilter
make[4]: Entering directory `/opt/ethereal/epan/dfilter'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/opt/ethereal/epan/dfilter'
make[4]: Entering directory `/opt/ethereal/epan'
source='../packet-wimax-mac.c' object='packet-wimax-mac.lo' libtool=yes \
depfile='.deps/packet-wimax-mac.Plo' tmpdepfile='.deps/packet-wimax-mac.TPlo' \
depmode=gcc3 /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./.. -I/usr/local/include -DINET6 -D_U_="__attribute__((unused))" -Wall -W -g -O2 -I/usr/local/include -I/usr/local/include/gtk-1.2 -I/usr/local/lib/glib/include -I/usr/local/include -I/usr/X11R6/include -c -o packet-wimax-mac.lo `test -f '../packet-wimax-mac.c' || echo './'`../packet-wimax-mac.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./.. -I/usr/local/include -DINET6 "-D_U_=__attribute__((unused))" -Wall -W -g -O2 -I/usr/local/include -I/usr/local/include/gtk-1.2 -I/usr/local/lib/glib/include -I/usr/local/include -I/usr/X11R6/include -c ../packet-wimax-mac.c -MT packet-wimax-mac.lo -MD -MP -MF .deps/packet-wimax-mac.TPlo -fPIC -DPIC -DPIC -o packet-wimax-mac.o
../packet-wimax-mac.c: In function `_dissect_mac_managment_message':
../packet-wimax-mac.c:2545: warning: unused variable `ucd_conf_change_count'
../packet-wimax-mac.c:2906: warning: unused variable `ext_diuc'
../packet-wimax-mac.c:3007: warning: unused variable `ext_diuc'
../packet-wimax-mac.c:3174: warning: unused variable `ul_map_net_entry_item'
../packet-wimax-mac.c:3196: warning: unused variable `ext_uiuc'
../packet-wimax-mac.c:3659: warning: implicit declaration of function `dissect_reg_common_encodings'
../packet-wimax-mac.c:3914: warning: implicit declaration of function `dissect_sbc_common_encodings'
../packet-wimax-mac.c:4649: warning: unused variable `ti'
../packet-wimax-mac.c:4681: warning: unused variable `ti'
../packet-wimax-mac.c:4800: warning: unused variable `tlvi'
../packet-wimax-mac.c:4857: warning: unused variable `tlvi'
../packet-wimax-mac.c:4938: warning: unused variable `start_frm_no'
../packet-wimax-mac.c:4939: warning: unused variable `reserved_1'
../packet-wimax-mac.c:5200: warning: unused variable `operator_id'
../packet-wimax-mac.c:5284: warning: unused variable `ti'
../packet-wimax-mac.c:5169: warning: unused variable `gCount'
../packet-wimax-mac.c:5170: warning: unused variable `mac_msg_item'
../packet-wimax-mac.c:5171: warning: unused variable `mob_nbr_adv_tree'
../packet-wimax-mac.c:5177: warning: unused variable `reserved'
../packet-wimax-mac.c:5205: warning: unused variable `configuration_change_count'
../packet-wimax-mac.c:5209: warning: unused variable `fragmentation_index'
../packet-wimax-mac.c:5211: warning: unused variable `total_fragmentation'
../packet-wimax-mac.c: In function `proto_register_wimax_mac':
../packet-wimax-mac.c:6422: warning: integer constant is too large for "long" type
../packet-wimax-mac.c:6422: warning: large integer implicitly truncated to unsigned type
../packet-wimax-mac.c:6615:31: warning: trigraph ??) ignored, use -trigraphs to enable
../packet-wimax-mac.c:6888: warning: integer constant is too large for "long" type
../packet-wimax-mac.c:6888: warning: large integer implicitly truncated to unsigned type
../packet-wimax-mac.c: In function `dissect_cst_encodings':
../packet-wimax-mac.c:8015: warning: unused variable `n'
../packet-wimax-mac.c:8030: warning: unused variable `n'
../packet-wimax-mac.c:8055: warning: unused variable `n'
../packet-wimax-mac.c:8131: warning: unused variable `phsm_item'
../packet-wimax-mac.c: At top level:
../packet-wimax-mac.c:8162: error: conflicting types for 'dissect_sbc_common_encodings'
../packet-wimax-mac.c:3914: error: previous implicit declaration of 'dissect_sbc_common_encodings' was here
../packet-wimax-mac.c:8207: error: conflicting types for 'dissect_reg_common_encodings'
../packet-wimax-mac.c:3659: error: previous implicit declaration of 'dissect_reg_common_encodings' was here
../packet-wimax-mac.c: In function `dissect_pkm_msg_attrib_encoding':
../packet-wimax-mac.c:8626: warning: unused variable `ti'
../packet-wimax-mac.c:8654: warning: unused variable `ti'
../packet-wimax-mac.c: At top level:
../packet-wimax-mac.c:8162: warning: unused parameter 'pinfo'
../packet-wimax-mac.c:8207: warning: unused parameter 'pinfo'
../packet-wimax-mac.c:8464: warning: unused parameter 'pkm_attr'
../packet-wimax-mac.c:513: warning: 'hf_arq_num_ack_maps_bit' defined but not used
../packet-wimax-mac.c:627: warning: 'hf_ul_map_uiuc_sht' defined but not used
../packet-wimax-mac.c:1071: warning: 'hf_rep_req_code' defined but not used
../packet-wimax-mac.c:1074: warning: 'hf_rep_rsp_code' defined but not used
../packet-wimax-mac.c:1268: warning: 'ett_mob_nbr_adv_subtree' defined but not used
../packet-wimax-mac.c:8262: warning: 'dissect_pkm_msg_encoding' defined but not used
../packet-wimax-mac.c:8243: warning: 'str_bytes_to_bits' defined but not used
../packet-wimax-mac.c:8162: warning: 'dissect_sbc_common_encodings' defined but not used
../packet-wimax-mac.c:8207: warning: 'dissect_reg_common_encodings' defined but not used
make[4]: *** [packet-wimax-mac.lo] Error 1
make[4]: Leaving directory `/opt/ethereal/epan'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/opt/ethereal/epan'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/opt/ethereal/epan'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/ethereal'
make: *** [all] Error 2



Can anyone help me as i need this installed asap. I also forgot to mention that the base installation of ethereal that comes with the package installed no problem.

falko 5th June 2006 18:39

Which distribution do you use?

Quote:

Originally Posted by mcrosby
I also forgot to mention that the base installation of ethereal that comes with the package installed no problem.

Don't the extensions come as packages, too?

mcrosby 5th June 2006 20:23

well my linux box is using Redhat Enterprise Linux ES release 4...i am not sure of the version of ethereal my boss just told me he needs the customized version because it has extra tools that they need that the regular copy does not

falko 6th June 2006 12:18

You can search for RH ethereal packages with
Code:

yum search ethereal

mcrosby 6th June 2006 13:57

hmm no such luck with that command nor do I think i would find the version i need. Can you see the problem in what happened with my make?

falko 7th June 2006 14:27

I don't know where the error during make comes from.
Quote:

../packet-wimax-mac.c:8162: error: conflicting types for 'dissect_sbc_common_encodings'
Never seen that before, and a little too cryptic. :(

geek.de.nz 23rd June 2006 09:09

Ethereal Ubuntu 5.10 with custom kernel
 
This is a different problem, but the title suits.

I've installed ethereal on my Ubuntu 5.10 (I know it's old now) which has a "custom" (vanilla) kernel with hibernate (suspend2) support.

I did the following:
Code:

apt-get install ethereal
apt-get install tethereal

and tried to execute ethereal with
Code:

user:~$ sudo ethereal
# and
root@host:~# tethereal

but both didn't work, giving the error:
Code:

Could not set capabilities: Operation not permitted
However, if I execute ethereal as a normal user, it starts up, but I cannot listen to traffic because I don't have enough rights.
How can I make it work? Does it depend on the kernel? Should I install the sources or is it a different problem?

falko 24th June 2006 14:03

I found this: http://ubuntuforums.org/archive/index.php/t-114153.html

geek.de.nz 25th June 2006 03:50

Thanks, that did the trick. :-) Why didn't I find that.


All times are GMT +2. The time now is 02:42.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.