Ethereal-users: [Ethereal-users] Problem With Compile of Ethereal

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

From: "Lucus Allen" <lucusa@xxxxxxxxxxxxx>
Date: Thu, 26 Feb 2004 16:51:56 -0600

I am doing a ./configure --without-plugins then editing the Makefile to allow for:

 

 tethereal_LDFLAGS = -Wl,-static -all-static

 

to be uncommented(and commenting dynamic).

 

In any event here is the error that I get:

 

/usr/lib/libgtk.a(gtkfilesel.o)(.text+0x53d2): In function `get_pwdb':

: Using 'endpwent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking

/usr/lib/libglib.a(gutils.o)(.text+0x774): In function `g_get_any_init':

: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking

/usr/local/ssl/lib/libpcap.a(nametoaddr.o)(.text+0xb5): In function `pcap_nametoaddrinfo':

: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking

epan/libethereal.a(resolv.o)(.text+0x22e): In function `host_name_lookup':

/root/ethereal-0.9.16/epan/resolv.c:369: Using 'gethostbyaddr' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking

epan/libethereal.a(resolv.o)(.text+0x1b21): In function `get_host_ipaddr':

/root/ethereal-0.9.16/epan/resolv.c:1839: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking

/usr/local/ssl/lib/libpcap.a(nametoaddr.o)(.text+0xeb): In function `pcap_nametonetaddr':

: Using 'getnetbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking

ipproto.o(.text+0x51): In function `ipprotostr':

/root/ethereal-0.9.16/ipproto.c:200: Using 'getprotobynumber' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking

/usr/local/ssl/lib/libpcap.a(nametoaddr.o)(.text+0x1db): In function `pcap_nametoproto':

: Using 'getprotobyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking

/usr/local/ssl/lib/libpcap.a(nametoaddr.o)(.text+0x13c): In function `pcap_nametoport':

: Using 'getservbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking

epan/libethereal.a(resolv.o)(.text+0x98): In function `serv_name_lookup':

/root/ethereal-0.9.16/epan/resolv.c:272: Using 'getservbyport' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking

/usr/X11R6/lib/libX11.a(XlibInt.o)(.text+0x85a): In function `_XEventsQueued':

: undefined reference to `pthread_equal'

/usr/X11R6/lib/libX11.a(XlibInt.o)(.text+0xc21): In function `_XEventsQueued':

: undefined reference to `pthread_equal'

/usr/X11R6/lib/libX11.a(XlibInt.o)(.text+0xc3a): In function `_XEventsQueued':

: undefined reference to `pthread_equal'

/usr/X11R6/lib/libX11.a(XlibInt.o)(.text+0xc56): In function `_XEventsQueued':

: undefined reference to `pthread_equal'

/usr/X11R6/lib/libX11.a(XlibInt.o)(.text+0xc73): In function `_XEventsQueued':

: undefined reference to `pthread_equal'

/usr/X11R6/lib/libX11.a(XlibInt.o)(.text+0xd06): more undefined references to `pthread_equal' follow

collect2: ld returned 1 exit status

make[2]: *** [ethereal] Error 1

make[2]: Leaving directory `/root/ethereal-0.9.16'

make[1]: *** [all-recursive] Error 1

make[1]: Leaving directory `/root/ethereal-0.9.16'

make: *** [all] Error 2

 

Any help would be greatly appreciated!