#1  
Old 5th June 2006, 16:41
mcrosby mcrosby is offline
Junior Member
 
Join Date: May 2006
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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.
Reply With Quote
Sponsored Links
  #2  
Old 5th June 2006, 18:39
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,721 Times in 2,562 Posts
Default

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?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 5th June 2006, 20:23
mcrosby mcrosby is offline
Junior Member
 
Join Date: May 2006
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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
Reply With Quote
  #4  
Old 6th June 2006, 12:18
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,721 Times in 2,562 Posts
Default

You can search for RH ethereal packages with
Code:
yum search ethereal
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 6th June 2006, 13:57
mcrosby mcrosby is offline
Junior Member
 
Join Date: May 2006
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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?
Reply With Quote
  #6  
Old 7th June 2006, 14:27
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,721 Times in 2,562 Posts
Default

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.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #7  
Old 23rd June 2006, 09:09
geek.de.nz geek.de.nz is offline
Member
 
Join Date: Feb 2006
Posts: 65
Thanks: 0
Thanked 2 Times in 2 Posts
Send a message via ICQ to geek.de.nz Send a message via MSN to geek.de.nz
Default 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?
__________________
Always mention at least your distribution/version! You can add it in your signature if you don't want to always type it. ;-)

Distributions:
Ubuntu 5.10 with custom kernel (2.6.16-suspend2),
Debian Sarge 3.1 and Etch

Please submit your ISP or Webhost to (free)
http://www.ihostnz.com
Reply With Quote
  #8  
Old 24th June 2006, 14:03
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,721 Times in 2,562 Posts
Default

I found this: http://ubuntuforums.org/archive/index.php/t-114153.html
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #9  
Old 25th June 2006, 03:50
geek.de.nz geek.de.nz is offline
Member
 
Join Date: Feb 2006
Posts: 65
Thanks: 0
Thanked 2 Times in 2 Posts
Send a message via ICQ to geek.de.nz Send a message via MSN to geek.de.nz
 
Default

Thanks, that did the trick. :-) Why didn't I find that.
__________________
Always mention at least your distribution/version! You can add it in your signature if you don't want to always type it. ;-)

Distributions:
Ubuntu 5.10 with custom kernel (2.6.16-suspend2),
Debian Sarge 3.1 and Etch

Please submit your ISP or Webhost to (free)
http://www.ihostnz.com
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Trouble sending mail EvdM Installation/Configuration 5 19th February 2006 12:18
Mail trouble web-worlds Installation/Configuration 15 27th January 2006 10:45
Trouble with Webmail users rodriglm Installation/Configuration 5 29th December 2005 09:18
Trouble with sub/co domains allen Installation/Configuration 1 18th December 2005 19:38
Trouble Ticket adamluz Feature Requests 1 17th August 2005 07:21


All times are GMT +2. The time now is 09:35.


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