Ethereal-users: [ethereal-users] I've got a problem

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Tilo Buschmann <buschmat@xxxxxx>
Date: Fri, 24 Dec 1999 15:55:39 +0100
Hello

My Name is Tilo Buschmann and I've got a little problem with the
ethereal. I heard a lot of good opinions of your program, but it does
not want to work. I uses the Red Hat .rpm binary. It starts, but when I
want to begin capturing nothing works at all (the X is already working,
I have to kill the pid of ethereal). A new windows appears but the
orininal window and this window aren't making anything and it is not
possible to change anything (e.g. stopping).
I tried to use a self compiled version, no error while compiling but the
same mistake when I try to use it. Unfortunately the program gives no
hint, what happened (no error in the logfile or anywhere else)
Maybe it is a problem with the libpcap.
So I made a typescript, with all important information (glib, gtk+ and
the installing of libpcap).
Please, I hope you can help me.

Tilo Buschmann

PS: another script:
--cut---
tibu@doors:~ > ethereal -v
ethereal 0.7.9, with GTK+ 1.2.6, with libpcap 0.4, with libz 1.1.3,
without SNMP
--cut---

What does this "SNMP" mean? Maybe it is a hint.

How does this mailinglist work? Is it possible to join? At the moment it
is necessary to email me direcly.
Script started on Fri Dec 24 15:09:05 1999
doors:~ # glib-config --version
1.2.6
doors:~ # gtk-config --version
1.2.6
doors:~ # cd libpcap-0.4/
doors:~/libpcap-0.4 # make clean
rm -f pcap-linux.o pcap.o inet.o gencode.o optimize.o nametoaddr.o etherent.o savefile.o bpf_filter.o bpf_image.o scanner.o grammar.o version.o libpcap.a scanner.c grammar.c version.c tokdefs.h lex.yy.c
doors:~/libpcap-0.4 # ./configure
loading cache ./config.cache
checking host system type... i586-pc-linux-gnu
checking target system type... i586-pc-linux-gnu
checking build system type... i586-pc-linux-gnu
checking for gcc... (cached) gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking gcc version... (cached) 2
checking how to run the C preprocessor... (cached) gcc -E
checking for malloc.h... (cached) yes
checking for sys/ioccom.h... (cached) no
checking for sys/sockio.h... (cached) no
checking for ANSI ioctl definitions... (cached) yes
checking for ether_hostton... (cached) yes
checking for strerror... (cached) yes
checking packet capture type... linux
checking for net/if_arp.h... (cached) yes
checking Linux kernel version... (cached) 2
checking for flex... (cached) flex
checking for flex 2.4 or higher... (cached) yes
checking for bison... (cached) bison
checking for ranlib... (cached) ranlib
checking if sockaddr struct has sa_len member... (cached) no
checking if unaligned accesses fail... (cached) no
checking for a BSD compatible install... (cached) /usr/bin/ginstall -c
creating ./config.status
creating Makefile
doors:~/libpcap-0.4 # make
gcc -O2 -I.  -Ilinux-include -DHAVE_MALLOC_H=1 -DHAVE_ETHER_HOSTTON=1 -DHAVE_STRERROR=1 -DHAVE_NET_IF_ARP_H=1  -c ./pcap-linux.c
gcc -O2 -I.  -Ilinux-include -DHAVE_MALLOC_H=1 -DHAVE_ETHER_HOSTTON=1 -DHAVE_STRERROR=1 -DHAVE_NET_IF_ARP_H=1  -c ./pcap.c
gcc -O2 -I.  -Ilinux-include -DHAVE_MALLOC_H=1 -DHAVE_ETHER_HOSTTON=1 -DHAVE_STRERROR=1 -DHAVE_NET_IF_ARP_H=1  -c ./inet.c
gcc -O2 -I.  -Ilinux-include -DHAVE_MALLOC_H=1 -DHAVE_ETHER_HOSTTON=1 -DHAVE_STRERROR=1 -DHAVE_NET_IF_ARP_H=1  -c ./gencode.c
gcc -O2 -I.  -Ilinux-include -DHAVE_MALLOC_H=1 -DHAVE_ETHER_HOSTTON=1 -DHAVE_STRERROR=1 -DHAVE_NET_IF_ARP_H=1  -c ./optimize.c
gcc -O2 -I.  -Ilinux-include -DHAVE_MALLOC_H=1 -DHAVE_ETHER_HOSTTON=1 -DHAVE_STRERROR=1 -DHAVE_NET_IF_ARP_H=1  -c ./nametoaddr.c
gcc -O2 -I.  -Ilinux-include -DHAVE_MALLOC_H=1 -DHAVE_ETHER_HOSTTON=1 -DHAVE_STRERROR=1 -DHAVE_NET_IF_ARP_H=1  -c ./etherent.c
gcc -O2 -I.  -Ilinux-include -DHAVE_MALLOC_H=1 -DHAVE_ETHER_HOSTTON=1 -DHAVE_STRERROR=1 -DHAVE_NET_IF_ARP_H=1  -c ./savefile.c
gcc -O2 -I.  -Ilinux-include -DHAVE_MALLOC_H=1 -DHAVE_ETHER_HOSTTON=1 -DHAVE_STRERROR=1 -DHAVE_NET_IF_ARP_H=1  -c ./bpf_filter.c
gcc -O2 -I.  -Ilinux-include -DHAVE_MALLOC_H=1 -DHAVE_ETHER_HOSTTON=1 -DHAVE_STRERROR=1 -DHAVE_NET_IF_ARP_H=1  -c ./bpf_image.c
flex -Ppcap_ -t scanner.l > $$.scanner.c; mv $$.scanner.c scanner.c
bison -y -p pcap_ -d grammar.y
mv y.tab.c grammar.c
mv y.tab.h tokdefs.h
gcc -O2 -I.  -Ilinux-include -DHAVE_MALLOC_H=1 -DHAVE_ETHER_HOSTTON=1 -DHAVE_STRERROR=1 -DHAVE_NET_IF_ARP_H=1  -c ./scanner.c
gcc -O2 -I.  -Ilinux-include -DHAVE_MALLOC_H=1 -DHAVE_ETHER_HOSTTON=1 -DHAVE_STRERROR=1 -DHAVE_NET_IF_ARP_H=1  -Dyylval=pcap_lval -c grammar.c
sed -e 's/.*/char pcap_version[] = "&";/' ./VERSION > version.c
gcc -O2 -I.  -Ilinux-include -DHAVE_MALLOC_H=1 -DHAVE_ETHER_HOSTTON=1 -DHAVE_STRERROR=1 -DHAVE_NET_IF_ARP_H=1  -c ./version.c
ar rc libpcap.a pcap-linux.o pcap.o inet.o gencode.o optimize.o nametoaddr.o etherent.o savefile.o bpf_filter.o bpf_image.o scanner.o grammar.o version.o
ranlib libpcap.a
doors:~/libpcap-0.4 # #####     make install
/usr/bin/ginstall -c -m 444 -o bin -g bin libpcap.a /usr/local/lib/libpcap.a
ranlib /usr/local/lib/libpcap.a
doors:~/libpcap-0.4 # make install-incl
/usr/bin/ginstall -c -m 444 -o bin -g bin ./pcap.h \
    /usr/local/include/pcap.h
/usr/bin/ginstall -c -m 444 -o bin -g bin ./pcap-namedb.h \
    /usr/local/include/pcap-namedb.h
/usr/bin/ginstall -c -m 444 -o bin -g bin ./net/bpf.h \
    /usr/local/include/net/bpf.h
doors:~/libpcap-0.4 # make install-man
/usr/bin/ginstall -c -m 444 -o bin -g bin ./pcap.3 \
    /usr/local/man/man3/pcap.3
doors:~/libpcap-0.4 #