Hi all,
I am running into this problem when making 10.4 on OpenBSD 3.5. Configure
seems to run OK but make fails. The output from these commands is
appended below. I am also appending the list of installed packages which
includes the version numbers for all the prerequisite packages.
I also get the same errors compiling 10.3 both directly and via the ports tree.
Anyone have any suggestions? Oh, and I'm sorry for the long post.
Thanks in advance,
Larry
------------------ pkg_info output
# pkg_info
ORBit2-2.8.3 high-performance CORBA
Object Request Broker
arts-1.2.1 X11 toolkit,
multimedia hub
aspell-0.50.4.1 spell checker designed to eventually
replace Ispell
atk-1.4.1
accessibility toolkit used by gtk+
autoconf-2.59 automatically configure
source code on many Un*x platforms
automake-1.4-p6p1 GNU Standards-compliant Makefile generator
bison-1.35p1 GNU parser generator
bzip2-1.0.2 block-sorting file
compressor, unencumbered
cadaver-0.22.0 command-line WebDAV client
cdparanoia-3.a9.8 CDDA reading utility with extra data verification
features
cgichk-3.6 scans webservers
for vulnerable CGI programs
cidr-2.3 RFC
1878 subnet calculator / helper
db-3.1.17p1 Berkeley DB
package, revision 3
dsniff-2.3 sniffing tools
for penetration testing
esound-0.2.28 sound library for
Enlightenment
ettercap-0.6.b multi-purpose sniffer/interceptor/logger
fragrouter-1.6 tool for testing network IDS
implementations
fribidi-0.10.4 Library implementing the Unicode
Bidirectional Algorithm
gettext-0.10.40p1 GNU gettext
ghostscript-7.05p2 GNU PostScript interpreter
ghostscript-fonts-6.0 35 standard PostScript fonts with Adobe name aliases
glib-1.2.10 useful routines for
C programming
glib2-2.2.3 general-purpose
utility library
gmake-3.80 GNU make
gnome-mime-data-2.4.1 MIME and Application database for GNOME
gtk+-1.2.10p1 General Toolkit for X11 GUI
gtk+2-2.2.4 multi-platform
graphical toolkit
ifstat-1.0 tool to
monitor interface bandwidth usage
imlib-1.9.14p2 image manipulation library for X11
jpeg-6b
IJG's JPEG compression utilities
kdeadmin-3.2.1 X11 toolkit, admin tools
kdebase-3.2.1 X11 toolkit, basic
applications
kdegraphics-3.2.1 X11 toolkit, graphic applications
kdelibs-3.2.1 X11 toolkit, libraries
kdemultimedia-3.2.1 X11 toolkit, multimedia applications
kdenetwork-3.2.1 X11 toolkit, network applications
kdepim-3.2.1 KDE personal information
applications
koffice-1.3 office suite for
KDE
lcms-1.12 color
management library
libIDL-0.8.3 IDL parsing library
libart-2.3.16 high-performance 2D graphics
library
libaudiofile-0.2.5 SGI audiofile library clone
libbonobo-2.4.3 GNOME component and compound document
system
libglade2-2.0.1 library for loading GLADE interface
files at runtime
libgsf-1.8.2 GNOME Structured File
library
libiconv-1.9.1 character set conversion library
libmad-0.15.1b high-quality MPEG audio decoder
libmng-1.0.5p1 Multiple-image Network Graphics
(MNG) reference library
libnet-1.0.2a raw IP packet construction
library
libogg-1.1 Ogg bitstream
library
libtool-1.3.5p3 generic shared library support script
libungif-4.1.0b1 tools and library routines for working with
GIF images
libvorbis-1.0.1 audio compression codec library
libxml-2.6.5 XML parsing library
libxml1-1.8.17 XML parsing library for GNOME
libxslt-1.0.33 XSLT C Library for GNOME
mtr-0.54
Matt's traceroute - network diagnostic tool
nbaudit-1.0 NetBIOS Auditing
Tool / Security Kit
nbtscan-1.5 NetBIOS name
network scanner
nessus-2.0.9 network security scanner
netperf-2.2pl3 Network performance benchmark
netpipe-2.4 self-scaling
network benchmark
netstrain-3.0 tool to measure TCP
throughput
nmap-3.50 scan
ports and fingerprint stack of network hosts
ntp-4.1.1c network time
protocol implementation
openldap-client-2.1.27 Open source LDAP software (client)
oproute-0.7p1 network performance measuring
tool
pango-1.2.5 library for layout
and rendering of text
pchar-1.4p1 Sandia Internet
path characterization tool
pcre-4.5 perl-compatible
regular _expression_ library
pkgconfig-0.15.0 tool for managing library compile/link flags
png-1.2.5p2 library for
manipulating PNG images
popt-1.7 getopt(3)-like
library with a number of enhancements
python-2.3.3 interpreted
object-oriented programming language
qt3-base-2.3 include and docs for qt3
qt3-mt-2.3 C++ X11 GUI
toolkit
samba-2.2.8a SMB and CIFS client and
server for UNIX
tcpreplay-1.0.1 resend network traffic saved by tcpdump
tiff-3.6.1 tools and
library routines for working with TIFF images
ucd-snmp-4.2.6 extendible SNMP implementation
unzip-5.50p2 extract, list & test
files in a ZIP archive
whisker-2.1 stealthy webserver
vulnerability scanner
wv2-0.2.1 library
providing routines to access Microsoft Word/Excel files
xanim-2.80.1p0 X11 animation player with support
for lots of formats
xmms-1.2.7 Multimedia
player for the X Window System
#
------------------- configure output
# ./configure
checking build system type... i386-unknown-openbsd3.5
checking host system type... i386-unknown-openbsd3.5
checking target system type... i386-unknown-openbsd3.5
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
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 ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc
Checking how to run the C preprocessor... gcc -E
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking for a sed that does not truncate output... /usr/bin/sed
checking whether ln -s works... yes
checking how to recognise dependent libraries... file_magic ELF [0-9][0-9]*-bit
[LM]SB shared object
checking command to parse /usr/bin/nm -B output... ok
checking for egrep... grep -E
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... no
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC 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.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... openbsd3.5 ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... Wrong dl
symbols!
no
checking whether -lc should be explicitly linked in... yes
creating libtool
checking for bison... bison -y
checking for flex... flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking for perl... /usr/bin/perl
checking for pod2man... /usr/bin/pod2man
checking for flex... /usr/bin/flex
checking for python... /usr/local/bin/python
checking for pkgproto... no
checking for pkgmk... no
checking for pkgtrans... no
checking for rpm... no
checking to see if we can add '-Wall -W' to CFLAGS... yes
checking for platform-specific compiler flags... none needed
checking whether to use /usr/local for headers and libraries... yes
checking for GNU sed as first sed in PATH... no
checking if profile builds must be generated... no
checking for gtk-config... /usr/local/bin/gtk-config
checking for GTK - version >= 1.2.0... yes
checking for glib-config... /usr/local/bin/glib-config
checking for GLIB - version >= 1.2.0... yes
checking whether GLib supports loadable modules... yes
checking for gethostbyname... yes
checking for connect... yes
checking whether to use libpcap for packet capture... yes
checking for extraneous pcap header directories... not found
checking pcap.h usability... yes
checking pcap.h presence... yes
checking for pcap.h... yes
checking for pcap_open_live in -lpcap... yes
checking whether pcap_version is defined by libpcap... yes
checking for pcap_findalldevs... yes
checking for pcap_lib_version... yes
checking for pcap_open_dead... yes
checking for pcap_datalink_val_to_name... yes
checking for pcap_datalink_name_to_val... yes
checking for pcap_list_datalinks... yes
checking for pcap_set_datalink... yes
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 enable ipv6 name resolution if available... yes
checking ipv6 stack type... "kame, inet6"
checking whether to install ethereal setuid... no
checking for ANSI C header files... (cached) yes
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 netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.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... yes
checking sys/sockio.h presence... yes
checking for sys/sockio.h... yes
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 iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking whether to use SSL library if available... yes
checking for EVP_md5 in -lcrypto... yes
checking whether to use NET-SNMP library if available... yes
checking for net-snmp-config... no
checking whether to use UCD SNMP library if available... yes
checking ucd-snmp/ucd-snmp-config.h usability... yes
checking ucd-snmp/ucd-snmp-config.h presence... yes
checking for ucd-snmp/ucd-snmp-config.h... yes
checking for sprint_realloc_objid in -lsnmp... no
checking for sprint_realloc_objid in -lsnmp... no
checking for sprint_realloc_objid in -lsnmp... no
checking whether to use kerberos/heimdal... no
checking whether to use the GNU ADNS library if available... yes
checking for adns_init in -ladns... no
checking for sa_len in struct sockaddr... yes
checking whether byte ordering is bigendian... no
checking whether gcc needs -traditional... no
checking for snprintf... yes
checking for strerror... yes
checking for strcasecmp... yes
checking for strncasecmp... yes
checking for mkstemp... yes
checking for inet_aton... yes
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
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating epan/Makefile
config.status: creating epan/dfilter/Makefile
config.status: creating epan/ftypes/Makefile
config.status: creating gtk/Makefile
config.status: creating help/Makefile
config.status: creating packaging/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/ethereal.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/acn/Makefile
config.status: creating plugins/artnet/Makefile
config.status: creating plugins/asn1/Makefile
config.status: creating plugins/ciscosm/Makefile
config.status: creating plugins/docsis/Makefile
config.status: creating plugins/enttec/Makefile
config.status: creating plugins/giop/Makefile
config.status: creating plugins/gryphon/Makefile
config.status: creating plugins/irda/Makefile
config.status: creating plugins/lwres/Makefile
config.status: creating plugins/megaco/Makefile
config.status: creating plugins/mgcp/Makefile
config.status: creating plugins/pcli/Makefile
config.status: creating plugins/rdm/Makefile
config.status: creating plugins/rlm/Makefile
config.status: creating plugins/rtnet/Makefile
config.status: creating plugins/rudp/Makefile
config.status: creating plugins/v5ua/Makefile
config.status: creating tools/Makefile
config.status: creating tools/lemon/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
configure: configuring in wiretap
configure: running /bin/sh './configure' --prefix=/usr/local
--cache-file=/dev/null --srcdir=.
checking build system type... i386-unknown-openbsd3.5
checking host system type... i386-unknown-openbsd3.5
checking target system type... i386-unknown-openbsd3.5
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
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 ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc
checking how to run the C preprocessor... gcc -E
checking for bison... bison -y
checking for flex... flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking for a sed that does not truncate output... /usr/bin/sed
checking whether ln -s works... yes
checking how to recognise dependent libraries... file_magic ELF [0-9][0-9]*-bit
[LM]SB shared object
checking command to parse /usr/bin/nm -B output... ok
checking for egrep... grep -E
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... no
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC 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.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... openbsd3.5 ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking whether -lc should be explicitly linked in... yes
creating libtool
checking for flex... /usr/bin/flex
checking to see if we can add '-Wall -W -Wcast-qual' to CFLAGS... yes
checking for platform-specific compiler flags... none needed
checking if profile builds must be generated... no
checking for glib-config... /usr/local/bin/glib-config
checking for GLIB - version >= 1.2.0... yes
checking whether to use /usr/local for headers and libraries... yes
checking for ANSI C header files... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for unistd.h... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for sys/stat.h... (cached) yes
checking for sys/types.h... (cached) yes
checking whether byte ordering is bigendian... no
checking for extraneous pcap header directories... found -- -I/usr/local/include
added to CFLAGS
checking pcap.h usability... yes
checking pcap.h presence... yes
checking for pcap.h... yes
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
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
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 : yes
Use kerberos library : no
Use GNU ADNS library : no
Use IPv6 name resolution
: yes
Use UCD SNMP/NET-SNMP library : no
#
------------------- last few lines of make output
/bin/sh ./libtool --mode=link gcc -DINET6
-D_U_="__attribute__((unused))" -Wall -W -g -O2 -I/usr/local/include
-I/usr/local/include/gtk-1.2 -I/usr/local/include/glib-1.2
-I/usr/X11R6/include -L/usr/local/lib -L/usr/local/lib -o ethereal -export-dynamic
pcap-util-unix.o capture_stop_conditions.o cfile.o conditions.o disabled_protos.o
pcap-util.o range.o ringbuffer.o timestats.o version_info.o alert_box.o
capture.o file.o filters.o g711.o proto_hier_stats.o summary.o
gtk/libui.a wiretap/libwiretap.la
epan/libethereal.la -lcrypto
"-dlopen" self "-dlopen" plugins/acn/acn.la
"-dlopen" plugins/artnet/artnet.la "-dlopen"
plugins/asn1/asn1.la "-dlopen" plugins/ciscosm/ciscosm.la
"-dlopen" plugins/docsis/docsis.la "-dlopen" plugins/enttec/enttec.la
"-dlopen" plugins/giop/cosnaming.la "-dlopen" plugins/giop/coseventcomm.la
"-dlopen" plugins/gryphon/gryphon.la "-dlopen" plugins/irda/irda.la
"-dlopen" plugins/lwres/lwres.la "-dlopen" plugins/megaco/megaco.la
"-dlopen" plugins/mgcp/mgcp.la "-dlopen" plugins/pcli/pcli.la
"-dlopen" plugins/rdm/rdm.la "-dlopen" plugins/rlm/rlm.la
"-dlopen" plugins/rtnet/rtnet.la "-dlopen" plugins/rudp/rudp.la
"-dlopen"
plugins/v5ua/v5ua.la
-lpcre -lpcap
-L/usr/local/lib -L/usr/X11R6/lib -lgtk -lgdk -Wl,-E -lgmodule -lglib -lintl -liconv
-lXi -lXext -lX11 -lm -lz
mkdir .libs
rm -f .libs/ethereal.nm .libs/ethereal.nmS .libs/ethereal.nmT
creating .libs/etherealS.c
(cd .libs && gcc -c -fno-builtin -fno-rtti -fno-exceptions "etherealS.c")
rm -f .libs/etherealS.c .libs/ethereal.nm .libs/ethereal.nmS .libs/ethereal.nmT
gcc -DINET6 "-D_U_=__attribute__((unused))" -Wall -W -g -O2 -I/usr/local/include
-I/usr/local/include/gtk-1.2 -I/usr/local/include/glib-1.2 -I/usr/X11R6/include
-o .libs/ethereal pcap-util-unix.o capture_stop_conditions.o cfile.o conditions.o
disabled_protos.o pcap-util.o range.o ringbuffer.o timestats.o version_info.o alert_box.o
capture.o file.o filters.o g711.o proto_hier_stats.o summary.o .libs/etherealS.o
-Wl,-E -Wl,-E -L/usr/local/lib gtk/libui.a -Lwiretap/.libs -lwiretap -Lepan/.libs
-lethereal -lcrypto -lpcre -lpcap -L/usr/X11R6/lib -lgtk -lgdk -lgmodule -lglib
-lintl -liconv -lXi -lXext -lX11 -lm -lz -Wl,-rpath,/usr/local/lib
epan/.libs/libethereal.so.0.1: undefined reference to `ds_set_int'
epan/.libs/libethereal.so.0.1: undefined reference to `register_mib_handlers'
epan/.libs/libethereal.so.0.1: undefined reference to `ds_set_boolean'
epan/.libs/libethereal.so.0.1: undefined reference to `read_premib_configs'
epan/.libs/libethereal.so.0.1: undefined reference to `sprint_realloc_objid'
epan/.libs/libethereal.so.0.1: undefined reference to `shutdown_mib'
epan/.libs/libethereal.so.0.1: undefined reference to `init_mib'
epan/.libs/libethereal.so.0.1: undefined reference to `sprint_realloc_value'
epan/.libs/libethereal.so.0.1: undefined reference to `read_configs'
collect2: ld returned 1 exit status
*** Error code 1
Stop in /root/ethereal-0.10.4 (line 1274 of Makefile).
*** Error code 1
Stop in /root/ethereal-0.10.4 (line 1547 of Makefile).
*** Error code 1
Stop in /root/ethereal-0.10.4 (line 1201 of Makefile).