Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 91267 - Unable to emerge nmap and others that link to openssl
Summary: Unable to emerge nmap and others that link to openssl
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Daniel Ahlberg (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-02 21:43 UTC by Carlos Benevides
Modified: 2005-05-04 08:29 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Output of `emerge nmap >& Config.log` (Config.log,41.33 KB, text/plain)
2005-05-03 10:34 UTC, Carlos Benevides
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Carlos Benevides 2005-05-02 21:43:36 UTC
After a recent emerge of the latest of OpenSSL(0.9.7e) for AMD64 several other apps that link against openssl won't emerge.  One is nmpa another is evolution.

Reproducible: Always
Steps to Reproduce:
1.emerge sync
2.emerge nmap
3.

Actual Results:  
86_64-pc-linux-gnu-g++ -Llibpcap-possiblymodified  -Lnbase -Lnsock/src/  -o nmap
main.o nmap.o targets.o tcpip.o nmap_error.o utils.o idle_scan.o osscan.o
output.o scan_engine.o timing.o charpool.o services.o protocols.o nmap_rpc.o
portlist.o NmapOps.o TargetGroup.o Target.o FingerPrintResults.o service_scan.o
NmapOutputTable.o MACLookup.o  -lnbase -lnsock -lpcre -lpcap  -lm
service_scan.o(.text+0x1881): In function `ServiceNFO::~ServiceNFO()':
: undefined reference to `SSL_SESSION_free'
service_scan.o(.text+0x1911): In function `ServiceNFO::~ServiceNFO()':
: undefined reference to `SSL_SESSION_free'
service_scan.o(.text+0x3e9d): In function `servicescan_connect_handler(void*,
void*, void*)':
: undefined reference to `SSL_SESSION_free'
nbase/libnbase.a(nbase_rnd.o)(.text+0x40): In function `get_random_bytes':
: undefined reference to `RAND_seed'
nbase/libnbase.a(nbase_rnd.o)(.text+0x45): In function `get_random_bytes':
: undefined reference to `RAND_status'
nbase/libnbase.a(nbase_rnd.o)(.text+0xf1): In function `get_random_bytes':
: undefined reference to `RAND_bytes'
nbase/libnbase.a(nbase_rnd.o)(.text+0x106): In function `get_random_bytes':
: undefined reference to `RAND_pseudo_bytes'
nsock/src//libnsock.a(nsock_core.o)(.text+0x1c3): In function
`handle_connect_result':
: undefined reference to `SSL_connect'
nsock/src//libnsock.a(nsock_core.o)(.text+0x247): In function
`handle_connect_result':
: undefined reference to `SSL_get_error'
nsock/src//libnsock.a(nsock_core.o)(.text+0x311): In function
`handle_connect_result':
: undefined reference to `SSL_set_session'
nsock/src//libnsock.a(nsock_core.o)(.text+0x338): In function
`handle_connect_result':
: undefined reference to `SSL_new'
nsock/src//libnsock.a(nsock_core.o)(.text+0x354): In function
`handle_connect_result':
: undefined reference to `SSL_set_fd'
nsock/src//libnsock.a(nsock_core.o)(.text+0x361): In function
`handle_connect_result':
: undefined reference to `ERR_get_error'
nsock/src//libnsock.a(nsock_core.o)(.text+0x36b): In function
`handle_connect_result':
: undefined reference to `ERR_error_string'
nsock/src//libnsock.a(nsock_core.o)(.text+0x3e0): In function
`handle_connect_result':
: undefined reference to `ERR_get_error'
nsock/src//libnsock.a(nsock_core.o)(.text+0x3ea): In function
`handle_connect_result':
: undefined reference to `ERR_error_string'
nsock/src//libnsock.a(nsock_core.o)(.text+0x4db): In function `handle_write_result':
: undefined reference to `SSL_write'
nsock/src//libnsock.a(nsock_core.o)(.text+0x5a5): In function `handle_write_result':
: undefined reference to `SSL_get_error'
nsock/src//libnsock.a(nsock_core.o)(.text+0xaa2): In function `handle_read_result':
: undefined reference to `SSL_read'
nsock/src//libnsock.a(nsock_core.o)(.text+0xf36): In function `handle_read_result':
: undefined reference to `SSL_get_error'
nsock/src//libnsock.a(nsock_core.o)(.text+0xfab): In function `handle_read_result':
: undefined reference to `ERR_reason_error_string'
nsock/src//libnsock.a(nsock_iod.o)(.text+0x2ac): In function `nsi_delete':
: undefined reference to `SSL_shutdown'
nsock/src//libnsock.a(nsock_iod.o)(.text+0x2bf): In function `nsi_delete':
: undefined reference to `SSL_free'
nsock/src//libnsock.a(nsock_iod.o)(.text+0x2fd): In function `nsi_delete':
: undefined reference to `SSL_get_error'
nsock/src//libnsock.a(nsock_iod.o)(.text+0x305): In function `nsi_delete':
: undefined reference to `ERR_reason_error_string'
nsock/src//libnsock.a(nsock_iod.o)(.text+0x398): In function `nsi_get1_ssl_session':
: undefined reference to `SSL_get1_session'
nsock/src//libnsock.a(nsock_iod.o)(.text+0x3a8): In function `nsi_get0_ssl_session':
: undefined reference to `SSL_get_session'
nsock/src//libnsock.a(nsock_ssl.o)(.text+0x27): In function `Nsock_SSL_Init':
: undefined reference to `SSL_load_error_strings'
nsock/src//libnsock.a(nsock_ssl.o)(.text+0x2c): In function `Nsock_SSL_Init':
: undefined reference to `SSL_library_init'
nsock/src//libnsock.a(nsock_ssl.o)(.text+0x46): In function `Nsock_SSL_Init':
: undefined reference to `RAND_seed'
nsock/src//libnsock.a(nsock_ssl.o)(.text+0x52): In function `Nsock_SSL_Init':
: undefined reference to `SSLv23_client_method'
nsock/src//libnsock.a(nsock_ssl.o)(.text+0x5a): In function `Nsock_SSL_Init':
: undefined reference to `SSL_CTX_new'
nsock/src//libnsock.a(nsock_ssl.o)(.text+0x7a): In function `Nsock_SSL_Init':
: undefined reference to `SSL_CTX_set_verify'
nsock/src//libnsock.a(nsock_ssl.o)(.text+0x95): In function `Nsock_SSL_Init':
: undefined reference to `SSL_CTX_ctrl'
nsock/src//libnsock.a(nsock_ssl.o)(.text+0xa9): In function `Nsock_SSL_Init':
: undefined reference to `SSL_CTX_set_cipher_list'
nsock/src//libnsock.a(nsock_ssl.o)(.text+0xc8): In function `Nsock_SSL_Init':
: undefined reference to `SSL_CTX_ctrl'
nsock/src//libnsock.a(nsock_ssl.o)(.text+0xe3): In function `Nsock_SSL_Init':
: undefined reference to `SSL_CTX_ctrl'
nsock/src//libnsock.a(nsock_ssl.o)(.text+0xf7): In function `Nsock_SSL_Init':
: undefined reference to `SSL_CTX_set_timeout'
nsock/src//libnsock.a(nsock_ssl.o)(.text+0x102): In function `Nsock_SSL_Init':
: undefined reference to `ERR_get_error'
nsock/src//libnsock.a(nsock_ssl.o)(.text+0x10c): In function `Nsock_SSL_Init':
: undefined reference to `ERR_error_string'
nsock/src//libnsock.a(nsock_ssl.o)(.text+0x12c): In function `Nsock_SSL_Init':
: undefined reference to `ERR_get_error'
nsock/src//libnsock.a(nsock_ssl.o)(.text+0x136): In function `Nsock_SSL_Init':
: undefined reference to `ERR_error_string'
collect2: ld returned 1 exit status
make: *** [nmap] Error 1

!!! ERROR: net-analyzer/nmap-3.75 failed.
!!! Function src_compile, Line 23, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

Expected Results:  
packaged emerged.

Portage 2.0.51.19 (default-linux/amd64/2004.3, gcc-3.4.3,
glibc-2.3.4.20041102-r1, 2.6.9-gentoo-r12 x86_64)
=================================================================
System uname: 2.6.9-gentoo-r12 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 21 2005, 19:19:54)]
dev-lang/python:     2.3.4-r1
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r4
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref
/usr/share/config /var/bind /var/qmail/alias /var/qmail/control
/var/vpopmail/domains /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig candy ccache distlocks sandbox strict"
GENTOO_MIRRORS="http://gentoo.seren.com/gentoo/
http://cudlug.udenver.edu/gentoo/ http://gentoo.mirrors.pair.com/
http://gentoo.ccccom.com/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac acpi alsa amd64 apache2 arts avi berkdb bitmap-fonts cdr crypt curl
dvd dvdr encode esd fam flac font-server fortran gdbm gif gnome gpm gstreamer
gtk gtk2 gtkhtml imagemagick imap imlib ipv6 java jp2 jpeg junit kde libwww lzw
lzw-tiff mad maildir mikmod motif mozilla mp3 mpeg mysql ncurses nls ogg opengl
oss pam pdflib perl png python qt quicktime readline samba sdl slang ssl tcltk
tcpd tiff truetype truetype-fonts type1-fonts usb userlocales vhosts vorbis xml2
xmms xpm xrandr xv xvid zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 SpanKY gentoo-dev 2005-05-03 05:29:24 UTC
you're going to have to post a full build log ... what you've shown is that nmap didnt even try to link against openssl so theres no wonder it's ending up with missing symbols

run `emerge nmap >& log` and post the log as an attachment
Comment 2 Carlos Benevides 2005-05-03 08:45:10 UTC
Here's the full log.

Calculating dependencies  >>> Unpacking source...
>>> Unpacking nmap-3.75.tar.bz2 to /var/tmp/portage/nmap-3.75/work
>>> Source unpacked.
 * econf: updating nmap-3.75/nsock/src/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating nmap-3.75/nsock/src/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating nmap-3.75/libpcre/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating nmap-3.75/libpcre/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating nmap-3.75/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating nmap-3.75/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating nmap-3.75/libpcap-possiblymodified/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating nmap-3.75/libpcap-possiblymodified/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib --with-nmapfe --enable-ipv6
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-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 x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ANSI C... none needed
checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++
checking whether we are using the GNU C++ compiler... yes
checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes
checking for x86_64-pc-linux-gnu-g++... AVAILABLE
checking for inline... inline
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
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... yes
checking for unistd.h... yes
checking for string.h... (cached) yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for strings.h... (cached) yes
checking for memory.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/sockio.h usability... no
checking sys/sockio.h presence... no
checking for sys/sockio.h... no
checking bstring.h usability... no
checking bstring.h presence... no
checking for bstring.h... no
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking for unistd.h... (cached) yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking for net/if.h... yes
checking for netinet/if_ether.h... yes
checking whether time.h and sys/time.h may both be included... yes
checking for main in -lm... yes
checking for library containing gethostent... none required
checking for library containing setsockopt... none required
checking for library containing nanosleep... none required
checking openssl/ssl.h usability... yes
checking openssl/ssl.h presence... yes
checking for openssl/ssl.h... yes
checking openssl/err.h usability... yes
checking openssl/err.h presence... yes
checking for openssl/err.h... yes
checking openssl/rand.h usability... yes
checking openssl/rand.h presence... yes
checking for openssl/rand.h... yes
checking for BIO_int_ctrl in -lcrypto... yes
checking for SSL_new in -lssl... no
configure: WARNING: Failed to find libssl so OpenSSL will not be used. If it is installed you can try the --with-openssl=DIR argument
checking pcap.h usability... yes
checking pcap.h presence... yes
checking for pcap.h... yes
checking for pcap_datalink in -lpcap... yes
checking pcre.h usability... yes
checking pcre.h presence... yes
checking for pcre.h... yes
checking for pcre_version in -lpcre... yes
checking struct ip... yes
checking ip_v in struct ip... yes
checking if sockaddr{} has sa_len member... no
checking whether byte ordering is bigendian... no
checking if struct in_addr is a wacky huge structure (some Sun boxes)... no
checking if struct icmp exists... yes
checking if struct ip exists... yes
checking if struct ip has ip_sum member... yes
checking for bzero... yes
checking for memcpy... yes
checking for nanosleep... yes
checking for strerror... yes
checking for strcasestr... yes
checking for inet_aton... yes
checking for getopt_long_only... yes
checking for usleep... yes
checking for type of 6th argument to recvfrom()... socklen_t
checking for gtk-config... /usr/bin/gtk-config
checking If you have GTK+ installed... 1.2.10
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
configure: configuring in nbase
configure: running /bin/sh './configure' --prefix=/usr  '--prefix=/usr' '--host=x86_64-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--libdir=/usr/lib' '--with-nmapfe' '--enable-ipv6' 'CFLAGS=-march=k8 -O2 -pipe -fomit-frame-pointer' 'CXXFLAGS=-march=k8 -O2 -pipe -fomit-frame-pointer' 'host_alias=x86_64-pc-linux-gnu' --cache-file=/dev/null --srcdir=.
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-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 x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ANSI C... none needed
checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
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... yes
checking for unistd.h... yes
checking for string.h... (cached) yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for strings.h... (cached) yes
checking for memory.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking bstring.h usability... no
checking bstring.h presence... no
checking for bstring.h... no
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking for sys/types.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking sys/sockio.h usability... no
checking sys/sockio.h presence... no
checking for sys/sockio.h... no
checking rpc/types.h usability... yes
checking rpc/types.h presence... yes
checking for rpc/types.h... 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 arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking for sys/stat.h... (cached) yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking libiberty.h usability... yes
checking libiberty.h presence... yes
checking for libiberty.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for net/if.h... yes
checking for netinet/if_ether.h... yes
checking whether time.h and sys/time.h may both be included... yes
checking for inline... inline
checking for __attribute__... yes
checking whether byte ordering is bigendian... no
checking for gethostent... yes
checking for setsockopt... yes
checking for char... yes
checking size of char... 1
checking for short... yes
checking size of short... 2
checking for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 8
checking for bzero... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for memcpy... yes
checking for nanosleep... yes
checking for strerror... yes
checking for strcasestr... yes
checking for strcasecmp... yes
checking for strncasecmp... yes
checking for signal... yes
checking for inet_aton... yes
checking for vsnprintf... (cached) yes
checking for snprintf... (cached) yes
checking for asprintf... yes
checking for asnprintf... no
checking for vasprintf... yes
checking for vasnprintf... no
checking for usleep... yes
checking for gettimeofday... yes
checking for sleep... yes
checking for getopt_long_only... yes
checking for strcasecmp... (cached) yes
checking for strncasecmp... (cached) yes
checking openssl/ssl.h usability... yes
checking openssl/ssl.h presence... yes
checking for openssl/ssl.h... yes
checking openssl/err.h usability... yes
checking openssl/err.h presence... yes
checking for openssl/err.h... yes
checking openssl/rand.h usability... yes
checking openssl/rand.h presence... yes
checking for openssl/rand.h... yes
checking for BIO_int_ctrl in -lcrypto... yes
checking for SSL_new in -lssl... yes
checking for library containing getaddrinfo... none required
checking for library containing gai_strerror... none required
checking for library containing getnameinfo... none required
checking for gai_strerror... yes
checking for inet_ntop... yes
checking for inet_pton... yes
checking for working getaddrinfo... yes
checking for working getnameinfo... yes
checking for sockaddr_in6... yes
checking for sockaddr_storage... yes
checking for AF_INET6 definition... yes
checking for IPv6 support... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating nbase_config.h
configure: configuring in libpcap-possiblymodified
configure: running /bin/sh './configure' --prefix=/usr  '--prefix=/usr' '--host=x86_64-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--libdir=/usr/lib' '--with-nmapfe' '--enable-ipv6' 'CFLAGS=-march=k8 -O2 -pipe -fomit-frame-pointer' 'CXXFLAGS=-march=k8 -O2 -pipe -fomit-frame-pointer' 'host_alias=x86_64-pc-linux-gnu' --cache-file=/dev/null --srcdir=.
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-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 x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ANSI C... none needed
checking gcc version... 3
checking for inline... inline
checking for __attribute__... yes
checking for u_int8_t using x86_64-pc-linux-gnu-gcc... yes
checking for u_int16_t using x86_64-pc-linux-gnu-gcc... yes
checking for u_int32_t using x86_64-pc-linux-gnu-gcc... yes
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
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... yes
checking for unistd.h... yes
checking sys/ioccom.h usability... no
checking sys/ioccom.h presence... no
checking for sys/ioccom.h... no
checking sys/sockio.h usability... no
checking sys/sockio.h presence... no
checking for sys/sockio.h... no
checking ifaddrs.h usability... yes
checking ifaddrs.h presence... yes
checking for ifaddrs.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for netinet/if_ether.h... yes
checking for ANSI ioctl definitions... yes
checking for ether_hostton... yes
checking for strerror... yes
checking for strlcpy... no
checking for vsnprintf... yes
checking for snprintf... yes
checking if --disable-protochain option is specified... enabled
checking packet capture type... linux
checking for getifaddrs... yes
checking if --enable-ipv6 option is specified... yes
checking whether to build optimizer debugging code... no
checking whether to build parser debugging code... no
checking Linux kernel version... 2
checking if if_packet.h has tpacket_stats defined... yes
checking whether we have /proc/net/dev... yes
checking whether we have DAG API... no
checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib
checking if sockaddr struct has sa_len member... no
checking if sockaddr_storage struct exists... yes
checking if dl_hp_ppa_info_t struct has dl_module_id_1 member... no
checking if unaligned accesses fail... no
checking for a BSD-compatible install... /bin/install -c
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
configure: configuring in nsock/src
configure: running /bin/sh './configure' --prefix=/usr  '--prefix=/usr' '--host=x86_64-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--libdir=/usr/lib' '--with-nmapfe' '--enable-ipv6' 'CFLAGS=-march=k8 -O2 -pipe -fomit-frame-pointer' 'CXXFLAGS=-march=k8 -O2 -pipe -fomit-frame-pointer' 'host_alias=x86_64-pc-linux-gnu' --cache-file=/dev/null --srcdir=.
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-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 x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ANSI C... none needed
checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for gethostent... yes
checking for setsockopt... yes
checking for nanosleep... yes
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
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... yes
checking for unistd.h... yes
checking openssl/ssl.h usability... yes
checking openssl/ssl.h presence... yes
checking for openssl/ssl.h... yes
checking openssl/err.h usability... yes
checking openssl/err.h presence... yes
checking for openssl/err.h... yes
checking openssl/rand.h usability... yes
checking openssl/rand.h presence... yes
checking for openssl/rand.h... yes
checking for BIO_int_ctrl in -lcrypto... yes
checking for SSL_new in -lssl... yes
checking struct ip... yes
checking ip_v in struct ip... yes
checking if sockaddr{} has sa_len member... no
checking if struct icmp exists... yes
checking if struct ip exists... yes
checking if struct ip has ip_sum member... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating nsock_config.h
configure: configuring in nmapfe
configure: running /bin/sh './configure' --prefix=/usr  '--prefix=/usr' '--host=x86_64-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--libdir=/usr/lib' '--with-nmapfe' '--enable-ipv6' 'CFLAGS=-march=k8 -O2 -pipe -fomit-frame-pointer' 'CXXFLAGS=-march=k8 -O2 -pipe -fomit-frame-pointer' 'host_alias=x86_64-pc-linux-gnu' --cache-file=/dev/null --srcdir=.
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-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 x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ANSI C... none needed
checking for gtk-config... /usr/bin/gtk-config
checking for GTK - version >= 1.0.0... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-pc-linux-gnu
configure: creating ./config.status
config.status: creating Makefile
Compiling libpcap
make[1]: Entering directory `/u02/var/tmp/portage/nmap-3.75/work/nmap-3.75/libpcap-possiblymodified'
x86_64-pc-linux-gnu-gcc -g -O2 -march=k8 -O2 -pipe -fomit-frame-pointer -I.  -DHAVE_CONFIG_H  -D_U_="__attribute__((unused))" -c ./pcap-linux.c
x86_64-pc-linux-gnu-gcc -g -O2 -march=k8 -O2 -pipe -fomit-frame-pointer -I.  -DHAVE_CONFIG_H  -D_U_="__attribute__((unused))" -c ./fad-getad.c
x86_64-pc-linux-gnu-gcc -g -O2 -march=k8 -O2 -pipe -fomit-frame-pointer -I.  -DHAVE_CONFIG_H  -D_U_="__attribute__((unused))" -c ./pcap.c
x86_64-pc-linux-gnu-gcc -g -O2 -march=k8 -O2 -pipe -fomit-frame-pointer -I.  -DHAVE_CONFIG_H  -D_U_="__attribute__((unused))" -c ./inet.c
x86_64-pc-linux-gnu-gcc -g -O2 -march=k8 -O2 -pipe -fomit-frame-pointer -I.  -DHAVE_CONFIG_H  -D_U_="__attribute__((unused))" -c ./gencode.c
x86_64-pc-linux-gnu-gcc -g -O2 -march=k8 -O2 -pipe -fomit-frame-pointer -I.  -DHAVE_CONFIG_H  -D_U_="__attribute__((unused))" -c ./optimize.c
x86_64-pc-linux-gnu-gcc -g -O2 -march=k8 -O2 -pipe -fomit-frame-pointer -I.  -DHAVE_CONFIG_H  -D_U_="__attribute__((unused))" -c ./nametoaddr.c
x86_64-pc-linux-gnu-gcc -g -O2 -march=k8 -O2 -pipe -fomit-frame-pointer -I.  -DHAVE_CONFIG_H  -D_U_="__attribute__((unused))" -c ./etherent.c
x86_64-pc-linux-gnu-gcc -g -O2 -march=k8 -O2 -pipe -fomit-frame-pointer -I.  -DHAVE_CONFIG_H  -D_U_="__attribute__((unused))" -c ./savefile.c
rm -f bpf_filter.c
ln -s ./bpf/net/bpf_filter.c bpf_filter.c
x86_64-pc-linux-gnu-gcc -g -O2 -march=k8 -O2 -pipe -fomit-frame-pointer -I.  -DHAVE_CONFIG_H  -D_U_="__attribute__((unused))" -c bpf_filter.c
x86_64-pc-linux-gnu-gcc -g -O2 -march=k8 -O2 -pipe -fomit-frame-pointer -I.  -DHAVE_CONFIG_H  -D_U_="__attribute__((unused))" -c ./bpf_image.c
x86_64-pc-linux-gnu-gcc -g -O2 -march=k8 -O2 -pipe -fomit-frame-pointer -I.  -DHAVE_CONFIG_H  -D_U_="__attribute__((unused))" -c ./bpf_dump.c
x86_64-pc-linux-gnu-gcc -g -O2 -march=k8 -O2 -pipe -fomit-frame-pointer -I.  -DHAVE_CONFIG_H  -D_U_="__attribute__((unused))" -c scanner.c
x86_64-pc-linux-gnu-gcc -g -O2 -march=k8 -O2 -pipe -fomit-frame-pointer -I.  -DHAVE_CONFIG_H  -D_U_="__attribute__((unused))" -Dyylval=pcap_lval -c grammar.c
sed -e 's/.*/char pcap_version[] = "&";/' ./VERSION > version.c
x86_64-pc-linux-gnu-gcc -g -O2 -march=k8 -O2 -pipe -fomit-frame-pointer -I.  -DHAVE_CONFIG_H  -D_U_="__attribute__((unused))" -c version.c
ar rc libpcap.a pcap-linux.o fad-getad.o pcap.o inet.o gencode.o optimize.o nametoaddr.o etherent.o savefile.o bpf_filter.o bpf_image.o bpf_dump.o  scanner.o grammar.o version.o  
x86_64-pc-linux-gnu-ranlib libpcap.a
make[1]: Leaving directory `/u02/var/tmp/portage/nmap-3.75/work/nmap-3.75/libpcap-possiblymodified'
Compiling libnbase
cd nbase && make
make[1]: Entering directory `/u02/var/tmp/portage/nmap-3.75/work/nmap-3.75/nbase'
x86_64-pc-linux-gnu-gcc -march=k8 -O2 -pipe -fomit-frame-pointer -Wall    -DHAVE_CONFIG_H -DNCRACK_VERSION=\"\" -DHAVE_CONFIG_H=1    -c -o snprintf.o snprintf.c
x86_64-pc-linux-gnu-gcc -march=k8 -O2 -pipe -fomit-frame-pointer -Wall    -DHAVE_CONFIG_H -DNCRACK_VERSION=\"\" -DHAVE_CONFIG_H=1    -c -o nbase_str.o nbase_str.c
x86_64-pc-linux-gnu-gcc -march=k8 -O2 -pipe -fomit-frame-pointer -Wall    -DHAVE_CONFIG_H -DNCRACK_VERSION=\"\" -DHAVE_CONFIG_H=1    -c -o nbase_misc.o nbase_misc.c
x86_64-pc-linux-gnu-gcc -march=k8 -O2 -pipe -fomit-frame-pointer -Wall    -DHAVE_CONFIG_H -DNCRACK_VERSION=\"\" -DHAVE_CONFIG_H=1    -c -o nbase_memalloc.o nbase_memalloc.c
x86_64-pc-linux-gnu-gcc -march=k8 -O2 -pipe -fomit-frame-pointer -Wall    -DHAVE_CONFIG_H -DNCRACK_VERSION=\"\" -DHAVE_CONFIG_H=1    -c -o nbase_rnd.o nbase_rnd.c
Compiling libnbase
rm -f libnbase.a
ar cr libnbase.a snprintf.o nbase_str.o nbase_misc.o nbase_memalloc.o nbase_rnd.o
x86_64-pc-linux-gnu-ranlib libnbase.a
make[1]: Leaving directory `/u02/var/tmp/portage/nmap-3.75/work/nmap-3.75/nbase'
Compiling libnsock
cd nsock/src && make
make[1]: Entering directory `/u02/var/tmp/portage/nmap-3.75/work/nmap-3.75/nsock/src'
x86_64-pc-linux-gnu-gcc -c  -march=k8 -O2 -pipe -fomit-frame-pointer -Wall  -I../../nbase  -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.01\"  -I../include error.c -o error.o
x86_64-pc-linux-gnu-gcc -c  -march=k8 -O2 -pipe -fomit-frame-pointer -Wall  -I../../nbase  -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.01\"  -I../include filespace.c -o filespace.o
x86_64-pc-linux-gnu-gcc -c  -march=k8 -O2 -pipe -fomit-frame-pointer -Wall  -I../../nbase  -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.01\"  -I../include gh_list.c -o gh_list.o
x86_64-pc-linux-gnu-gcc -c  -march=k8 -O2 -pipe -fomit-frame-pointer -Wall  -I../../nbase  -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.01\"  -I../include nsock_connect.c -o nsock_connect.o
x86_64-pc-linux-gnu-gcc -c  -march=k8 -O2 -pipe -fomit-frame-pointer -Wall  -I../../nbase  -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.01\"  -I../include nsock_core.c -o nsock_core.o
x86_64-pc-linux-gnu-gcc -c  -march=k8 -O2 -pipe -fomit-frame-pointer -Wall  -I../../nbase  -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.01\"  -I../include nsock_iod.c -o nsock_iod.o
x86_64-pc-linux-gnu-gcc -c  -march=k8 -O2 -pipe -fomit-frame-pointer -Wall  -I../../nbase  -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.01\"  -I../include nsock_read.c -o nsock_read.o
x86_64-pc-linux-gnu-gcc -c  -march=k8 -O2 -pipe -fomit-frame-pointer -Wall  -I../../nbase  -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.01\"  -I../include nsock_timers.c -o nsock_timers.o
x86_64-pc-linux-gnu-gcc -c  -march=k8 -O2 -pipe -fomit-frame-pointer -Wall  -I../../nbase  -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.01\"  -I../include nsock_write.c -o nsock_write.o
x86_64-pc-linux-gnu-gcc -c  -march=k8 -O2 -pipe -fomit-frame-pointer -Wall  -I../../nbase  -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.01\"  -I../include nsock_ssl.c -o nsock_ssl.o
x86_64-pc-linux-gnu-gcc -c  -march=k8 -O2 -pipe -fomit-frame-pointer -Wall  -I../../nbase  -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.01\"  -I../include nsock_utils.c -o nsock_utils.o
x86_64-pc-linux-gnu-gcc -c  -march=k8 -O2 -pipe -fomit-frame-pointer -Wall  -I../../nbase  -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.01\"  -I../include nsock_event.c -o nsock_event.o
x86_64-pc-linux-gnu-gcc -c  -march=k8 -O2 -pipe -fomit-frame-pointer -Wall  -I../../nbase  -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.01\"  -I../include nsock_pool.c -o nsock_pool.o
x86_64-pc-linux-gnu-gcc -c  -march=k8 -O2 -pipe -fomit-frame-pointer -Wall  -I../../nbase  -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.01\"  -I../include netutils.c -o netutils.o
Compiling libnsock
rm -f libnsock.a
ar cr libnsock.a error.o filespace.o gh_list.o nsock_connect.o nsock_core.o nsock_iod.o nsock_read.o nsock_timers.o nsock_write.o nsock_ssl.o nsock_utils.o nsock_event.o nsock_pool.o netutils.o 
x86_64-pc-linux-gnu-ranlib libnsock.a
make[1]: Leaving directory `/u02/var/tmp/portage/nmap-3.75/work/nmap-3.75/nsock/src'
x86_64-pc-linux-gnu-g++ -c  -march=k8 -O2 -pipe -fomit-frame-pointer -Wall  -Ilibpcap-possiblymodified -Inbase -Insock/include  -DHAVE_CONFIG_H -DNMAP_VERSION=\"3.75\" -DNMAP_NAME=\"nmap\" -DNMAP_URL=\"http://www.insecure.org/nmap/\" -DNMAP_PLATFORM=\"x86_64-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/share/nmap\" -Ilibpcap-possiblymodified  main.cc -o main.o
x86_64-pc-linux-gnu-g++ -c  -march=k8 -O2 -pipe -fomit-frame-pointer -Wall  -Ilibpcap-possiblymodified -Inbase -Insock/include  -DHAVE_CONFIG_H -DNMAP_VERSION=\"3.75\" -DNMAP_NAME=\"nmap\" -DNMAP_URL=\"http://www.insecure.org/nmap/\" -DNMAP_PLATFORM=\"x86_64-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/share/nmap\" -Ilibpcap-possiblymodified  nmap.cc -o nmap.o
x86_64-pc-linux-gnu-g++ -c  -march=k8 -O2 -pipe -fomit-frame-pointer -Wall  -Ilibpcap-possiblymodified -Inbase -Insock/include  -DHAVE_CONFIG_H -DNMAP_VERSION=\"3.75\" -DNMAP_NAME=\"nmap\" -DNMAP_URL=\"http://www.insecure.org/nmap/\" -DNMAP_PLATFORM=\"x86_64-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/share/nmap\" -Ilibpcap-possiblymodified  targets.cc -o targets.o
x86_64-pc-linux-gnu-g++ -c  -march=k8 -O2 -pipe -fomit-frame-pointer -Wall  -Ilibpcap-possiblymodified -Inbase -Insock/include  -DHAVE_CONFIG_H -DNMAP_VERSION=\"3.75\" -DNMAP_NAME=\"nmap\" -DNMAP_URL=\"http://www.insecure.org/nmap/\" -DNMAP_PLATFORM=\"x86_64-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/share/nmap\" -Ilibpcap-possiblymodified  tcpip.cc -o tcpip.o
x86_64-pc-linux-gnu-g++ -c  -march=k8 -O2 -pipe -fomit-frame-pointer -Wall  -Ilibpcap-possiblymodified -Inbase -Insock/include  -DHAVE_CONFIG_H -DNMAP_VERSION=\"3.75\" -DNMAP_NAME=\"nmap\" -DNMAP_URL=\"http://www.insecure.org/nmap/\" -DNMAP_PLATFORM=\"x86_64-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/share/nmap\" -Ilibpcap-possiblymodified  nmap_error.cc -o nmap_error.o
x86_64-pc-linux-gnu-g++ -c  -march=k8 -O2 -pipe -fomit-frame-pointer -Wall  -Ilibpcap-possiblymodified -Inbase -Insock/include  -DHAVE_CONFIG_H -DNMAP_VERSION=\"3.75\" -DNMAP_NAME=\"nmap\" -DNMAP_URL=\"http://www.insecure.org/nmap/\" -DNMAP_PLATFORM=\"x86_64-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/share/nmap\" -Ilibpcap-possiblymodified  utils.cc -o utils.o
x86_64-pc-linux-gnu-g++ -c  -march=k8 -O2 -pipe -fomit-frame-pointer -Wall  -Ilibpcap-possiblymodified -Inbase -Insock/include  -DHAVE_CONFIG_H -DNMAP_VERSION=\"3.75\" -DNMAP_NAME=\"nmap\" -DNMAP_URL=\"http://www.insecure.org/nmap/\" -DNMAP_PLATFORM=\"x86_64-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/share/nmap\" -Ilibpcap-possiblymodified  idle_scan.cc -o idle_scan.o
x86_64-pc-linux-gnu-g++ -c  -march=k8 -O2 -pipe -fomit-frame-pointer -Wall  -Ilibpcap-possiblymodified -Inbase -Insock/include  -DHAVE_CONFIG_H -DNMAP_VERSION=\"3.75\" -DNMAP_NAME=\"nmap\" -DNMAP_URL=\"http://www.insecure.org/nmap/\" -DNMAP_PLATFORM=\"x86_64-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/share/nmap\" -Ilibpcap-possiblymodified  osscan.cc -o osscan.o
osscan.cc: In function `FingerPrint* get_fingerprint(Target*, seq_info*)':
osscan.cc:229: warning: comparison is always true due to limited range of data type
osscan.cc:235: warning: comparison is always false due to limited range of data type
osscan.cc:240: warning: comparison is always true due to limited range of data type
osscan.cc:360: warning: comparison is always true due to limited range of data type
osscan.cc:713: warning: comparison is always true due to limited range of data type
x86_64-pc-linux-gnu-g++ -c  -march=k8 -O2 -pipe -fomit-frame-pointer -Wall  -Ilibpcap-possiblymodified -Inbase -Insock/include  -DHAVE_CONFIG_H -DNMAP_VERSION=\"3.75\" -DNMAP_NAME=\"nmap\" -DNMAP_URL=\"http://www.insecure.org/nmap/\" -DNMAP_PLATFORM=\"x86_64-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/share/nmap\" -Ilibpcap-possiblymodified  output.cc -o output.o
x86_64-pc-linux-gnu-g++ -c  -march=k8 -O2 -pipe -fomit-frame-pointer -Wall  -Ilibpcap-possiblymodified -Inbase -Insock/include  -DHAVE_CONFIG_H -DNMAP_VERSION=\"3.75\" -DNMAP_NAME=\"nmap\" -DNMAP_URL=\"http://www.insecure.org/nmap/\" -DNMAP_PLATFORM=\"x86_64-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/share/nmap\" -Ilibpcap-possiblymodified  scan_engine.cc -o scan_engine.o
scan_engine.cc: In function `void printAnyStats(UltraScanInfo*)':
scan_engine.cc:1955: warning: int format, different type arg (arg 7)
scan_engine.cc: In function `void ultra_scan(std::vector<Target*, std::allocator<Target*> >&, scan_lists*, stype)':
scan_engine.cc:2719: warning: int format, different type arg (arg 4)
scan_engine.cc:2719: warning: int format, different type arg (arg 4)
scan_engine.cc:2744: warning: int format, different type arg (arg 5)
x86_64-pc-linux-gnu-g++ -c  -march=k8 -O2 -pipe -fomit-frame-pointer -Wall  -Ilibpcap-possiblymodified -Inbase -Insock/include  -DHAVE_CONFIG_H -DNMAP_VERSION=\"3.75\" -DNMAP_NAME=\"nmap\" -DNMAP_URL=\"http://www.insecure.org/nmap/\" -DNMAP_PLATFORM=\"x86_64-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/share/nmap\" -Ilibpcap-possiblymodified  timing.cc -o timing.o
x86_64-pc-linux-gnu-g++ -c  -march=k8 -O2 -pipe -fomit-frame-pointer -Wall  -Ilibpcap-possiblymodified -Inbase -Insock/include  -DHAVE_CONFIG_H -DNMAP_VERSION=\"3.75\" -DNMAP_NAME=\"nmap\" -DNMAP_URL=\"http://www.insecure.org/nmap/\" -DNMAP_PLATFORM=\"x86_64-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/share/nmap\" -Ilibpcap-possiblymodified  charpool.cc -o charpool.o
x86_64-pc-linux-gnu-g++ -c  -march=k8 -O2 -pipe -fomit-frame-pointer -Wall  -Ilibpcap-possiblymodified -Inbase -Insock/include  -DHAVE_CONFIG_H -DNMAP_VERSION=\"3.75\" -DNMAP_NAME=\"nmap\" -DNMAP_URL=\"http://www.insecure.org/nmap/\" -DNMAP_PLATFORM=\"x86_64-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/share/nmap\" -Ilibpcap-possiblymodified  services.cc -o services.o
x86_64-pc-linux-gnu-g++ -c  -march=k8 -O2 -pipe -fomit-frame-pointer -Wall  -Ilibpcap-possiblymodified -Inbase -Insock/include  -DHAVE_CONFIG_H -DNMAP_VERSION=\"3.75\" -DNMAP_NAME=\"nmap\" -DNMAP_URL=\"http://www.insecure.org/nmap/\" -DNMAP_PLATFORM=\"x86_64-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/share/nmap\" -Ilibpcap-possiblymodified  protocols.cc -o protocols.o
x86_64-pc-linux-gnu-g++ -c  -march=k8 -O2 -pipe -fomit-frame-pointer -Wall  -Ilibpcap-possiblymodified -Inbase -Insock/include  -DHAVE_CONFIG_H -DNMAP_VERSION=\"3.75\" -DNMAP_NAME=\"nmap\" -DNMAP_URL=\"http://www.insecure.org/nmap/\" -DNMAP_PLATFORM=\"x86_64-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/share/nmap\" -Ilibpcap-possiblymodified  nmap_rpc.cc -o nmap_rpc.o
x86_64-pc-linux-gnu-g++ -c  -march=k8 -O2 -pipe -fomit-frame-pointer -Wall  -Ilibpcap-possiblymodified -Inbase -Insock/include  -DHAVE_CONFIG_H -DNMAP_VERSION=\"3.75\" -DNMAP_NAME=\"nmap\" -DNMAP_URL=\"http://www.insecure.org/nmap/\" -DNMAP_PLATFORM=\"x86_64-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/share/nmap\" -Ilibpcap-possiblymodified  portlist.cc -o portlist.o
x86_64-pc-linux-gnu-g++ -c  -march=k8 -O2 -pipe -fomit-frame-pointer -Wall  -Ilibpcap-possiblymodified -Inbase -Insock/include  -DHAVE_CONFIG_H -DNMAP_VERSION=\"3.75\" -DNMAP_NAME=\"nmap\" -DNMAP_URL=\"http://www.insecure.org/nmap/\" -DNMAP_PLATFORM=\"x86_64-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/share/nmap\" -Ilibpcap-possiblymodified  NmapOps.cc -o NmapOps.o
x86_64-pc-linux-gnu-g++ -c  -march=k8 -O2 -pipe -fomit-frame-pointer -Wall  -Ilibpcap-possiblymodified -Inbase -Insock/include  -DHAVE_CONFIG_H -DNMAP_VERSION=\"3.75\" -DNMAP_NAME=\"nmap\" -DNMAP_URL=\"http://www.insecure.org/nmap/\" -DNMAP_PLATFORM=\"x86_64-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/share/nmap\" -Ilibpcap-possiblymodified  TargetGroup.cc -o TargetGroup.o
x86_64-pc-linux-gnu-g++ -c  -march=k8 -O2 -pipe -fomit-frame-pointer -Wall  -Ilibpcap-possiblymodified -Inbase -Insock/include  -DHAVE_CONFIG_H -DNMAP_VERSION=\"3.75\" -DNMAP_NAME=\"nmap\" -DNMAP_URL=\"http://www.insecure.org/nmap/\" -DNMAP_PLATFORM=\"x86_64-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/share/nmap\" -Ilibpcap-possiblymodified  Target.cc -o Target.o
x86_64-pc-linux-gnu-g++ -c  -march=k8 -O2 -pipe -fomit-frame-pointer -Wall  -Ilibpcap-possiblymodified -Inbase -Insock/include  -DHAVE_CONFIG_H -DNMAP_VERSION=\"3.75\" -DNMAP_NAME=\"nmap\" -DNMAP_URL=\"http://www.insecure.org/nmap/\" -DNMAP_PLATFORM=\"x86_64-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/share/nmap\" -Ilibpcap-possiblymodified  FingerPrintResults.cc -o FingerPrintResults.o
x86_64-pc-linux-gnu-g++ -c  -march=k8 -O2 -pipe -fomit-frame-pointer -Wall  -Ilibpcap-possiblymodified -Inbase -Insock/include  -DHAVE_CONFIG_H -DNMAP_VERSION=\"3.75\" -DNMAP_NAME=\"nmap\" -DNMAP_URL=\"http://www.insecure.org/nmap/\" -DNMAP_PLATFORM=\"x86_64-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/share/nmap\" -Ilibpcap-possiblymodified  service_scan.cc -o service_scan.o
service_scan.cc: In function `int service_scan(std::vector<Target*, std::allocator<Target*> >&)':
service_scan.cc:2090: warning: int format, different type arg (arg 4)
service_scan.cc:2090: warning: int format, different type arg (arg 4)
service_scan.cc:2095: warning: int format, different type arg (arg 3)
service_scan.cc:2130: warning: int format, different type arg (arg 4)
service_scan.cc:2130: warning: int format, different type arg (arg 6)
x86_64-pc-linux-gnu-g++ -c  -march=k8 -O2 -pipe -fomit-frame-pointer -Wall  -Ilibpcap-possiblymodified -Inbase -Insock/include  -DHAVE_CONFIG_H -DNMAP_VERSION=\"3.75\" -DNMAP_NAME=\"nmap\" -DNMAP_URL=\"http://www.insecure.org/nmap/\" -DNMAP_PLATFORM=\"x86_64-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/share/nmap\" -Ilibpcap-possiblymodified  NmapOutputTable.cc -o NmapOutputTable.o
x86_64-pc-linux-gnu-g++ -c  -march=k8 -O2 -pipe -fomit-frame-pointer -Wall  -Ilibpcap-possiblymodified -Inbase -Insock/include  -DHAVE_CONFIG_H -DNMAP_VERSION=\"3.75\" -DNMAP_NAME=\"nmap\" -DNMAP_URL=\"http://www.insecure.org/nmap/\" -DNMAP_PLATFORM=\"x86_64-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/share/nmap\" -Ilibpcap-possiblymodified  MACLookup.cc -o MACLookup.o
Compiling nmap
rm -f nmap
x86_64-pc-linux-gnu-g++ -Llibpcap-possiblymodified  -Lnbase -Lnsock/src/  -o nmap main.o nmap.o targets.o tcpip.o nmap_error.o utils.o idle_scan.o osscan.o output.o scan_engine.o timing.o charpool.o services.o protocols.o nmap_rpc.o portlist.o NmapOps.o TargetGroup.o Target.o FingerPrintResults.o service_scan.o NmapOutputTable.o MACLookup.o  -lnbase -lnsock -lpcre -lpcap  -lm 
service_scan.o(.text+0x1881): In function `ServiceNFO::~ServiceNFO()':
: undefined reference to `SSL_SESSION_free'
service_scan.o(.text+0x1911): In function `ServiceNFO::~ServiceNFO()':
: undefined reference to `SSL_SESSION_free'
service_scan.o(.text+0x3e9d): In function `servicescan_connect_handler(void*, void*, void*)':
: undefined reference to `SSL_SESSION_free'
nbase/libnbase.a(nbase_rnd.o)(.text+0x40): In function `get_random_bytes':
: undefined reference to `RAND_seed'
nbase/libnbase.a(nbase_rnd.o)(.text+0x45): In function `get_random_bytes':
: undefined reference to `RAND_status'
nbase/libnbase.a(nbase_rnd.o)(.text+0xf1): In function `get_random_bytes':
: undefined reference to `RAND_bytes'
nbase/libnbase.a(nbase_rnd.o)(.text+0x106): In function `get_random_bytes':
: undefined reference to `RAND_pseudo_bytes'
nsock/src//libnsock.a(nsock_core.o)(.text+0x1c3): In function `handle_connect_result':
: undefined reference to `SSL_connect'
nsock/src//libnsock.a(nsock_core.o)(.text+0x247): In function `handle_connect_result':
: undefined reference to `SSL_get_error'
nsock/src//libnsock.a(nsock_core.o)(.text+0x311): In function `handle_connect_result':
: undefined reference to `SSL_set_session'
nsock/src//libnsock.a(nsock_core.o)(.text+0x338): In function `handle_connect_result':
: undefined reference to `SSL_new'
nsock/src//libnsock.a(nsock_core.o)(.text+0x354): In function `handle_connect_result':
: undefined reference to `SSL_set_fd'
nsock/src//libnsock.a(nsock_core.o)(.text+0x361): In function `handle_connect_result':
: undefined reference to `ERR_get_error'
nsock/src//libnsock.a(nsock_core.o)(.text+0x36b): In function `handle_connect_result':
: undefined reference to `ERR_error_string'
nsock/src//libnsock.a(nsock_core.o)(.text+0x3e0): In function `handle_connect_result':
: undefined reference to `ERR_get_error'
nsock/src//libnsock.a(nsock_core.o)(.text+0x3ea): In function `handle_connect_result':
: undefined reference to `ERR_error_string'
nsock/src//libnsock.a(nsock_core.o)(.text+0x4db): In function `handle_write_result':
: undefined reference to `SSL_write'
nsock/src//libnsock.a(nsock_core.o)(.text+0x5a5): In function `handle_write_result':
: undefined reference to `SSL_get_error'
nsock/src//libnsock.a(nsock_core.o)(.text+0xaa2): In function `handle_read_result':
: undefined reference to `SSL_read'
nsock/src//libnsock.a(nsock_core.o)(.text+0xf36): In function `handle_read_result':
: undefined reference to `SSL_get_error'
nsock/src//libnsock.a(nsock_core.o)(.text+0xfab): In function `handle_read_result':
: undefined reference to `ERR_reason_error_string'
nsock/src//libnsock.a(nsock_iod.o)(.text+0x2ac): In function `nsi_delete':
: undefined reference to `SSL_shutdown'
nsock/src//libnsock.a(nsock_iod.o)(.text+0x2bf): In function `nsi_delete':
: undefined reference to `SSL_free'
nsock/src//libnsock.a(nsock_iod.o)(.text+0x2fd): In function `nsi_delete':
: undefined reference to `SSL_get_error'
nsock/src//libnsock.a(nsock_iod.o)(.text+0x305): In function `nsi_delete':
: undefined reference to `ERR_reason_error_string'
nsock/src//libnsock.a(nsock_iod.o)(.text+0x398): In function `nsi_get1_ssl_session':
: undefined reference to `SSL_get1_session'
nsock/src//libnsock.a(nsock_iod.o)(.text+0x3a8): In function `nsi_get0_ssl_session':
: undefined reference to `SSL_get_session'
nsock/src//libnsock.a(nsock_ssl.o)(.text+0x27): In function `Nsock_SSL_Init':
: undefined reference to `SSL_load_error_strings'
nsock/src//libnsock.a(nsock_ssl.o)(.text+0x2c): In function `Nsock_SSL_Init':
: undefined reference to `SSL_library_init'
nsock/src//libnsock.a(nsock_ssl.o)(.text+0x46): In function `Nsock_SSL_Init':
: undefined reference to `RAND_seed'
nsock/src//libnsock.a(nsock_ssl.o)(.text+0x52): In function `Nsock_SSL_Init':
: undefined reference to `SSLv23_client_method'
nsock/src//libnsock.a(nsock_ssl.o)(.text+0x5a): In function `Nsock_SSL_Init':
: undefined reference to `SSL_CTX_new'
nsock/src//libnsock.a(nsock_ssl.o)(.text+0x7a): In function `Nsock_SSL_Init':
: undefined reference to `SSL_CTX_set_verify'
nsock/src//libnsock.a(nsock_ssl.o)(.text+0x95): In function `Nsock_SSL_Init':
: undefined reference to `SSL_CTX_ctrl'
nsock/src//libnsock.a(nsock_ssl.o)(.text+0xa9): In function `Nsock_SSL_Init':
: undefined reference to `SSL_CTX_set_cipher_list'
nsock/src//libnsock.a(nsock_ssl.o)(.text+0xc8): In function `Nsock_SSL_Init':
: undefined reference to `SSL_CTX_ctrl'
nsock/src//libnsock.a(nsock_ssl.o)(.text+0xe3): In function `Nsock_SSL_Init':
: undefined reference to `SSL_CTX_ctrl'
nsock/src//libnsock.a(nsock_ssl.o)(.text+0xf7): In function `Nsock_SSL_Init':
: undefined reference to `SSL_CTX_set_timeout'
nsock/src//libnsock.a(nsock_ssl.o)(.text+0x102): In function `Nsock_SSL_Init':
: undefined reference to `ERR_get_error'
nsock/src//libnsock.a(nsock_ssl.o)(.text+0x10c): In function `Nsock_SSL_Init':
: undefined reference to `ERR_error_string'
nsock/src//libnsock.a(nsock_ssl.o)(.text+0x12c): In function `Nsock_SSL_Init':
: undefined reference to `ERR_get_error'
nsock/src//libnsock.a(nsock_ssl.o)(.text+0x136): In function `Nsock_SSL_Init':
: undefined reference to `ERR_error_string'
collect2: ld returned 1 exit status
make: *** [nmap] Error 1

!!! ERROR: net-analyzer/nmap-3.75 failed.
!!! Function src_compile, Line 23, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

  ...done!
>>> emerge (1 of 1) net-analyzer/nmap-3.75 to /
>>> md5 files   ;-) nmap-3.80.ebuild
>>> md5 files   ;-) nmap-3.50-r1.ebuild
>>> md5 files   ;-) nmap-3.55.ebuild
>>> md5 files   ;-) nmap-3.75.ebuild
>>> md5 files   ;-) nmap-3.81.ebuild
>>> md5 files   ;-) ChangeLog
>>> md5 files   ;-) metadata.xml
>>> md5 files   ;-) files/digest-nmap-3.55
>>> md5 files   ;-) files/digest-nmap-3.75
>>> md5 files   ;-) files/digest-nmap-3.80
>>> md5 files   ;-) files/digest-nmap-3.81
>>> md5 files   ;-) files/digest-nmap-3.50-r1
>>> md5 src_uri ;-) nmap-3.75.tar.bz2
Comment 3 SpanKY gentoo-dev 2005-05-03 10:09:57 UTC
checking for SSL_new in -lssl... no
configure: WARNING: Failed to find libssl so OpenSSL will not be used. If it is installed you can try the --with-openssl=DIR argument

post the config.log as an *attachment* not as a comment
Comment 4 Carlos Benevides 2005-05-03 10:34:23 UTC
Created attachment 57944 [details]
Output of  `emerge nmap >& Config.log`
Comment 5 SpanKY gentoo-dev 2005-05-03 22:31:03 UTC
no, i mean after your build fails, post this file:
/var/tmp/portage/nmap-3.75/work/nmap-3.75/config.log
Comment 6 Carlos Benevides 2005-05-04 08:29:02 UTC
Found I had sym link /lib/libcrypto.so.0.9.7 to /lib/libcrypt-2.3.4.so. Not sure if I created this myself or something else did.  Removed it and all other packages now build sucessfully.