Wireshark-dev: [Wireshark-dev] Help! Compile failed!
From: 欧灿荣 <oucanrong@xxxxxxxxxx>
Date: Fri, 11 Jun 2010 20:54:18 +0800
i'm
trying to compile the latest version of wireshark on fedora 13.i switch
to root account and issue ./configure,and then some error occur .
[root@localhost wireshark-1.2.8]# ./configure checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking how to create a ustar tar archive... gnutar checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking whether gcc and cc understand -c and -o together... yes checking how to run the C preprocessor... gcc -E checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1966080 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for ar... ar checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... no checking for shl_load in -ldld... no checking for dlopen... no checking for dlopen in -ldl... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... no checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for perl... /usr/bin/perl checking for bison... bison -y checking for bison... /usr/bin/bison checking for flex... flex checking lex output file root... lex.yy checking lex library... -lfl checking whether yytext is a pointer... yes checking for flex... /usr/bin/flex checking for pod2man... /usr/bin/pod2man checking for pod2html... /usr/bin/pod2html checking for xdg-open... /usr/bin/xdg-open checking for flex... /usr/bin/flex checking for python... /usr/bin/python checking for doxygen... /usr/bin/doxygen checking for doxygen... yes checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for LIBGNUTLS... yes gnuTLS found, enabling ssl decryption checking for libgcrypt-config... /usr/bin/libgcrypt-config checking for LIBGCRYPT - version >= 1.1.92... yes libgcrypt found, enabling ipsec decryption checking for libsmi >= 2... yes checking for xsltproc... /usr/bin/xsltproc checking for xsltproc... yes checking for xmllint... /usr/bin/xmllint checking for xmllint... yes checking for fop... /usr/bin/fop checking for fop... yes checking for hhc.exe... no checking for hhc.exe... no checking for pkgproto... no checking for pkgmk... no checking for pkgtrans... no checking for rpm... yes checking to see if we can redefine _topdir... yes checking for dpkg-buildpackage... no checking for xcodebuild... no checking for hdiutil... no checking for bless... yes checking whether we can add -Wall -W to CFLAGS... yes checking whether we can add -Wdeclaration-after-statement to CFLAGS... yes checking whether we can add -Wendif-labels to CFLAGS... yes checking whether we can add -Wpointer-arith to CFLAGS... yes checking whether we can add -Wno-pointer-sign to CFLAGS... yes checking whether we can add -Warray-bounds to CFLAGS... yes checking whether we can add -Wcast-align to CFLAGS... yes checking whether we can add -Wformat-security to CFLAGS... yes checking whether we should treat compiler warnings as errors... no checking for platform-specific compiler flags... none needed checking for platform-specific linker flags... none needed checking whether to use NONE for headers and libraries... no checking whether to use /usr/local for headers and libraries... yes checking for GNU sed as first sed in PATH... yes checking if profile builds must be generated... no checking for pkg-config... /usr/bin/pkg-config checking for GTK+ - version >= 2.4.0... yes (version 2.20.1) checking for pkg-config... (cached) /usr/bin/pkg-config checking for GLIB - version >= 2.4.0... yes (version 2.24.1) checking whether GLib supports loadable modules... yes checking whether dladdr can be used to find the pathname of an executable... no checking whether to use IGE Mac integration functions... yes checking for ige_mac_menu_set_menu_bar in -lGtk... no checking for ige_mac_menu_set_menu_bar in -ligemacintegration... no checking for gethostbyname... yes checking for connect... yes checking whether to use libpcap for packet capture... yes checking for pcap-config... /usr/bin/pcap-config checking for broken pcap-config... no checking pcap.h usability... yes checking pcap.h presence... yes checking for pcap.h... yes checking whether pcap_version is defined by libpcap... yes checking for pcap_open_dead... yes checking for pcap_freecode... yes checking whether pcap_breakloop is present... yes checking whether pcap_findalldevs is present and usable... yes checking for pcap_datalink_val_to_name... yes checking for pcap_datalink_name_to_val... yes checking for pcap_datalink_val_to_description... yes checking for pcap_list_datalinks... yes checking for pcap_set_datalink... yes checking for pcap_lib_version... yes checking for pcap_get_selectable_fd... yes checking for pcap_free_datalinks... yes checking whether to build dumpcap... yes checking whether to build rawshark... yes checking whether to use libpcap remote capturing feature... no checking whether to use zlib for reading compressed capture files... yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking for gzgets in -lz... yes checking for gzgets missing when linking with X11... no checking whether to use libpcre for regular expressions in dfilters... yes checking pcre.h usability... yes checking pcre.h presence... yes checking for pcre.h... yes checking for pcre_compile in -lpcre... yes checking whether to use liblua for the lua scripting plugin... yes checking lua.h usability... yes checking lua.h presence... yes checking for lua.h... yes checking lualib.h usability... yes checking lualib.h presence... yes checking for lualib.h... yes checking lauxlib.h usability... yes checking lauxlib.h presence... yes checking for lauxlib.h... yes checking for luaL_register in -llua... yes checking whether to use libportaudio for the rtp_player... yes checking portaudio.h usability... yes checking portaudio.h presence... yes checking for portaudio.h... yes checking for PortAudioStream... no checking for Pa_Initialize in -lportaudio... yes checking whether to enable ipv6 name resolution if available... yes checking ipv6 stack type... "linux-glibc, inet6" checking whether to install dumpcap setuid... no checking for setresuid... yes checking for setresgid... yes checking whether to use the libcap capabilities library... yes checking for cap_set_flag in -lcap... no checking direct.h usability... no checking direct.h presence... no checking for direct.h... no checking dirent.h usability... yes checking dirent.h presence... yes checking for dirent.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking grp.h usability... yes checking grp.h presence... yes checking for grp.h... yes checking for inttypes.h... (cached) yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for unistd.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/sockio.h usability... no checking sys/sockio.h presence... no checking for sys/sockio.h... no checking for sys/stat.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for sys/types.h... (cached) yes checking sys/utsname.h usability... yes checking sys/utsname.h presence... yes checking for sys/utsname.h... yes checking sys/wait.h usability... yes checking sys/wait.h presence... yes checking for sys/wait.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking arpa/nameser.h usability... yes checking arpa/nameser.h presence... yes checking for arpa/nameser.h... yes checking whether to use SSL library... no checking whether to use kerberos... yes checking for krb5-config... /usr/kerberos/bin/krb5-config checking krb5.h usability... yes checking krb5.h presence... yes checking for krb5.h... yes checking whether the Kerberos library is Heimdal or MIT... MIT checking whether MIT includes krb5_kt_resolve... yes checking whether krb5.h defines KEYTYPE_ARCFOUR_56... no checking whether to use the c-ares library if available... yes checking for ares_init in -lcares... yes checking whether to use the GNU ADNS library if available... no checking whether to use the GeoIP IP address mapping library if available... yes checking for GeoIP_new in -lGeoIP... yes checking for sa_len in struct sockaddr... no checking whether byte ordering is bigendian... no checking whether gcc needs -traditional... no checking for getopt... yes checking for strerror... yes checking for strcasecmp... yes checking for strncasecmp... yes checking for mkstemp... yes checking for mkdtemp... yes checking for library containing inet_aton... none required checking for library containing inet_pton... none required checking for broken inet_pton... ok checking for library containing inet_ntop... none required checking for inet_ntop prototype... yes checking for strptime... yes checking for getprotobynumber... yes checking for gethostbyname2... yes checking for issetugid... no checking for mmap... yes checking for mprotect... yes checking for sysconf... yes checking for strtoll... yes configure: creating ./config.status config.status: creating Makefile config.status: creating doxygen.cfg config.status: creating asn1/Makefile config.status: creating asn1/acp133/Makefile config.status: creating asn1/acse/Makefile config.status: creating asn1/ansi_map/Makefile config.status: creating asn1/ansi-tcap/Makefile config.status: creating asn1/camel/Makefile config.status: creating asn1/cdt/Makefile config.status: creating asn1/charging_ase/Makefile config.status: creating asn1/cmip/Makefile config.status: creating asn1/cms/Makefile config.status: creating asn1/dap/Makefile config.status: creating asn1/disp/Makefile config.status: creating asn1/dop/Makefile config.status: creating asn1/dsp/Makefile config.status: creating asn1/ess/Makefile config.status: creating asn1/ftam/Makefile config.status: creating asn1/gnm/Makefile config.status: creating asn1/goose/Makefile config.status: creating asn1/gsmmap/Makefile config.status: creating asn1/h225/Makefile config.status: creating asn1/h235/Makefile config.status: creating asn1/h245/Makefile config.status: creating asn1/h248/Makefile config.status: creating asn1/h282/Makefile config.status: creating asn1/h283/Makefile config.status: creating asn1/h323/Makefile config.status: creating asn1/h450/Makefile config.status: creating asn1/h450-ros/Makefile config.status: creating asn1/h460/Makefile config.status: creating asn1/h501/Makefile config.status: creating asn1/inap/Makefile config.status: creating asn1/ldap/Makefile config.status: creating asn1/logotype-cert-extn/Makefile config.status: creating asn1/lte-rrc/Makefile config.status: creating asn1/mms/Makefile config.status: creating asn1/mpeg-audio/Makefile config.status: creating asn1/mpeg-pes/Makefile config.status: creating asn1/nbap/Makefile config.status: creating asn1/ns-cert-exts/Makefile config.status: creating asn1/ocsp/Makefile config.status: creating asn1/p7/Makefile config.status: creating asn1/pcap/Makefile config.status: creating asn1/pkcs1/Makefile config.status: creating asn1/pkcs12/Makefile config.status: creating asn1/pkinit/Makefile config.status: creating asn1/pkix1explicit/Makefile config.status: creating asn1/pkix1implicit/Makefile config.status: creating asn1/pkixcmp/Makefile config.status: creating asn1/pkixcrmf/Makefile config.status: creating asn1/pkixproxy/Makefile config.status: creating asn1/pkixqualified/Makefile config.status: creating asn1/pkixtsp/Makefile config.status: creating asn1/pres/Makefile config.status: creating asn1/q932/Makefile config.status: creating asn1/q932-ros/Makefile config.status: creating asn1/qsig/Makefile config.status: creating asn1/ranap/Makefile config.status: creating asn1/rnsap/Makefile config.status: creating asn1/ros/Makefile config.status: creating asn1/rrc/Makefile config.status: creating asn1/rrlp/Makefile config.status: creating asn1/rtse/Makefile config.status: creating asn1/s1ap/Makefile config.status: creating asn1/s4406/Makefile config.status: creating asn1/sabp/Makefile config.status: creating asn1/smrse/Makefile config.status: creating asn1/snmp/Makefile config.status: creating asn1/spnego/Makefile config.status: creating asn1/t125/Makefile config.status: creating asn1/t38/Makefile config.status: creating asn1/tcap/Makefile config.status: creating asn1/ulp/Makefile config.status: creating asn1/wlancertextn/Makefile config.status: creating asn1/x2ap/Makefile config.status: creating asn1/x411/Makefile config.status: creating asn1/x420/Makefile config.status: creating asn1/x509af/Makefile config.status: creating asn1/x509ce/Makefile config.status: creating asn1/x509if/Makefile config.status: creating asn1/x509sat/Makefile config.status: creating asn1/x721/Makefile config.status: creating doc/Makefile config.status: creating epan/Makefile config.status: creating epan/crc/Makefile config.status: creating epan/crypt/Makefile config.status: creating epan/doxygen.cfg config.status: creating epan/dfilter/Makefile config.status: creating epan/dissectors/Makefile config.status: creating epan/ftypes/Makefile config.status: creating epan/wslua/Makefile config.status: creating codecs/Makefile config.status: creating gtk/Makefile config.status: creating gtk/doxygen.cfg config.status: creating help/Makefile config.status: creating packaging/Makefile config.status: creating packaging/macosx/Info.plist config.status: creating packaging/macosx/Makefile config.status: creating packaging/nsis/Makefile config.status: creating packaging/rpm/Makefile config.status: creating packaging/rpm/SPECS/Makefile config.status: creating packaging/rpm/SPECS/wireshark.spec config.status: creating packaging/svr4/Makefile config.status: creating packaging/svr4/checkinstall config.status: creating packaging/svr4/pkginfo config.status: creating plugins/Makefile config.status: creating plugins/asn1/Makefile config.status: creating plugins/docsis/Makefile config.status: creating plugins/ethercat/Makefile config.status: creating plugins/giop/Makefile config.status: creating plugins/gryphon/Makefile config.status: creating plugins/irda/Makefile config.status: creating plugins/m2m/Makefile config.status: creating plugins/mate/Makefile config.status: creating plugins/opcua/Makefile config.status: creating plugins/profinet/Makefile config.status: creating plugins/sercosiii/Makefile config.status: creating plugins/stats_tree/Makefile config.status: creating plugins/unistim/Makefile config.status: creating plugins/wimax/Makefile config.status: creating plugins/wimaxasncp/Makefile config.status: creating tools/Makefile config.status: creating tools/idl2wrs.sh config.status: creating tools/lemon/Makefile config.status: creating wiretap/Makefile config.status: creating wsutil/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands The Wireshark package has been configured with the following options. Build wireshark : yes 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 Build rawshark : yes Install dumpcap setuid : no Use plugins : yes Use lua library : yes Build rtp_player : yes Use threads : no Build profile binaries : no Use pcap library : yes Use zlib library : yes Use pcre library : yes Use kerberos library : yes (MIT) Use c-ares library : yes Use GNU ADNS library : no Use SMI MIB library : yes Use GNU crypto library : yes Use SSL crypto library : no Use IPv6 name resolution : yes Use gnutls library : yes Use POSIX capabilities library : no Use GeoIP library : yes [root@localhost wireshark-1.2.8]#make /usr/bin/ld:
gtk/libui.a(sctp_byte_graph_dlg.o): undefined reference to symbol
'ceil@@GLIBC_2.2.5'
/usr/bin/ld: note: 'ceil@@GLIBC_2.2.5' is defined in DSO /lib64/libm.so.6 so try adding it to the linker command line /lib64/libm.so.6: could not read symbols: Invalid operation collect2: ld returned 1 exit status make[2]: *** [wireshark] error 1 make[2]: Leaving directory `/home/oucanrong/wireshark-1.2.8' make[1]: *** [all-recursive] error 1 make[1]: Leaving directory `/home/oucanrong/wireshark-1.2.8' make: *** [all] error 2 what's the problem ?how to fix it? |
- Follow-Ups:
- Re: [Wireshark-dev] Help! Compile failed!
- From: Jakub Zawadzki
- Re: [Wireshark-dev] Help! Compile failed!
- From: Bill Meier
- Re: [Wireshark-dev] Help! Compile failed! - Fedora 13 linking problem
- From: Jose Pedro Oliveira
- Re: [Wireshark-dev] Help! Compile failed!
- Prev by Date: [Wireshark-dev] buildbot failure in Wireshark (development) on Ubuntu-10.04-x64
- Next by Date: Re: [Wireshark-dev] Help! Compile failed!
- Previous by thread: Re: [Wireshark-dev] capturing from a named pipe - other file formats
- Next by thread: Re: [Wireshark-dev] Help! Compile failed!
- Index(es):