Ethereal-users: [Ethereal-users] 0.10.9 source install failed.

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

From: Yoshihiro Oyama <y.oyama@xxxxxxxxxxxxxx>
Date: Thu, 27 Jan 2005 22:27:10 +0900
hi. I try source install ethereal 0.10.9 using follow options,
but it failed. what is wrong ?

Yoshihiro Oyama <y.oyama at netagent.co.jp>

#########################################

OS: Debian woody
GCC: 2.95.4

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

                    Install setuid : no
                       Use plugins : yes
               Use GTK+ v2 library : no
                  Use pcap library : no
                  Use zlib library : yes
                  Use pcre library : yes
              Use kerberos library : no
              Use GNU ADNS library : no
            Use SSL crypto library : yes
          Use IPv6 name resolution : yes
     Use UCD SNMP/NET-SNMP library : yes (net-snmp)

#########################################

# pcre-5.0
./configure --prefix=/home/oyama/local --enable-shared=no \
   --enable-utf8 --enable-unicode-properties
make && make install

# openssl-0.9.7e
./config no-shared --prefix=/home/oyama/local
make && make test && make install

# net-snmp-5.2.1
./configure --prefix=/home/oyama/local  --enable-shared=no --enable-static=yes \
  --disable-agent --disable-applications --disable-manuals --disable-scripts \
  --disable-mibs --disable-mib-loading --enable-internal-md5  --with-mib-modules=\"\" \
  --with-zlib --with-openssl=/home/oyama/local
make clean && make && make install

# ethereal-0.10.9
./configure --prefix=/home/oyama/local2 \
   --enable-shared=no --enable-static=yes --disable-gtk2 \
   --with-pcap=no --with-zlib --with-ssl=/home/oyama/local --with-pcre=/home/oyama/local --with-net-snmp --with-plugins
make

#########################################
[Error 1]
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I./../.. -I./.. -I/usr/local/include -I/home/oyama/local/include -g -O2 -Dlinux -I/home/oyama/local/include -I. -I/home/oyama/local/include -DINET6 "-D_U_=__attribute__((unused))" -Wall -W -g -O2 -I/usr/local/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/home/oyama/local/include -g -O2 -Dlinux -I/home/oyama/local/include -I. -I/home/oyama/local/include -c packet-cops.c -Wp,-MD,.deps/packet-cops.TPlo -o packet-cops.o
In file included from packet-cops.c:71:
/home/oyama/local/include/net-snmp/net-snmp-config.h:931: warning: `PACKAGE_BUGREPORT' redefined
../../config.h:200: warning: this is the location of the previous definition
/home/oyama/local/include/net-snmp/net-snmp-config.h:934: warning: `PACKAGE_NAME' redefined
../../config.h:203: warning: this is the location of the previous definition
/home/oyama/local/include/net-snmp/net-snmp-config.h:937: warning: `PACKAGE_STRING' redefined
../../config.h:206: warning: this is the location of the previous definition
/home/oyama/local/include/net-snmp/net-snmp-config.h:940: warning: `PACKAGE_TARNAME' redefined
../../config.h:209: warning: this is the location of the previous definition
/home/oyama/local/include/net-snmp/net-snmp-config.h:943: warning: `PACKAGE_VERSION' redefined
../../config.h:212: warning: this is the location of the previous definition
In file included from /home/oyama/local/include/net-snmp/types.h:41,
                 from /home/oyama/local/include/net-snmp/mib_api.h:8,
                 from packet-cops.c:72:
/usr/include/netinet/in.h:198: warning: `s6_addr' redefined
../../epan/ipv6-utils.h:58: warning: this is the location of the previous definition
/usr/include/netinet/in.h:199: warning: `s6_addr16' redefined
../../epan/ipv6-utils.h:56: warning: this is the location of the previous definition
/usr/include/netinet/in.h:200: warning: `s6_addr32' redefined
../../epan/ipv6-utils.h:55: warning: this is the location of the previous definition
packet-cops.c: In function `format_asn_value':
packet-cops.c:1299: dereferencing pointer to incomplete type
packet-cops.c:1309: dereferencing pointer to incomplete type
packet-cops.c:1311: dereferencing pointer to incomplete type
packet-cops.c:1311: dereferencing pointer to incomplete type
make[4]: *** [packet-cops.lo] Error 1
make[4]: Leaving directory `/plog/0/home/oyama/inst/ethereal-0.10.9/epan/dissectors'


[Error 2]
plugins/irda/packet-irda.o: In function `dissect_iap_request':
/home/oyama/inst/ethereal-0.10.9/plugins/irda/packet-irda.c:682: undefined reference to `data_handle'
plugins/irda/packet-irda.o: In function `dissect_iap_result':
/home/oyama/inst/ethereal-0.10.9/plugins/irda/packet-irda.c:941: undefined reference to `data_handle'
plugins/irda/packet-irda.o: In function `dissect_appl_proto':
/home/oyama/inst/ethereal-0.10.9/plugins/irda/packet-irda.c:1059: undefined reference to `data_handle'
plugins/irda/packet-irda.o: In function `dissect_irlmp':
/home/oyama/inst/ethereal-0.10.9/plugins/irda/packet-irda.c:1216: undefined reference to `data_handle'
/home/oyama/inst/ethereal-0.10.9/plugins/irda/packet-irda.c:1230: undefined reference to `data_handle'
plugins/irda/packet-irda.o:/home/oyama/inst/ethereal-0.10.9/plugins/irda/packet-irda.c:1916: more undefined references to `data_handle' follow
plugins/irda/packet-irda.o: In function `dissect_iap_result':
/home/oyama/inst/ethereal-0.10.9/plugins/irda/packet-irda.c:709: undefined reference to `ircomm_attr_dissector'
/home/oyama/inst/ethereal-0.10.9/plugins/irda/packet-irda.c:713: undefined reference to `irlpt_attr_dissector'