Home page logo

nmap-dev logo Nmap Development mailing list archives

Problems building nmap-3.5 on Solaris 8, and OpenSSL on Redhat Linux 9
From: Pete Young <pete () alien bt co uk>
Date: Wed, 03 Mar 2004 14:45:35 +0000


I'm having some difficulty building  nmap-3.50 on Solaris 8, and with
OpenSSL support on Redhat Linux 9. I wonder if anyone is able to shed
any light on the following:

Solaris 8, gcc 3.2.2 (Sun Freeware).

configure --without-openssl fails at the following point:

g++ -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 -lposix4 -lsocket -lnsl -lm -lnbase -lnsock libpcre/libpcre.a -lpcap
Undefined                       first referenced
 symbol                             in file
std::__default_alloc_template<(bool)1, (int)0>::_S_force_newoutput.o
ld: fatal: Symbol referencing errors. No output written to nmap
collect2: ld returned 1 exit status
make: *** [nmap] Error 1

Some kind of problem with ld ? - this happens with /usr/ccs/bin/ld
or the gnu ld in /usr/local.

I'm able to build nmap-3.50 without Openssl support on Redhat 9, but
if I build with defaults or specify --with-openssl=yes , configure
tests on openssl/ssl.h .

It looks as though these tests fail because openssl/ssl.h includes
openssl/kssl.h which attempts in turn to include
krb5.h and cant find it. The krb5-libs and krb5-devel packages are
on the system, located in /usr/kerberos . Adding
--includedir=/usr/kerberos to ./configure doesn't help.

Kind regards,


  Pete Young          pete () alien bt co uk        Phone +44 1473 642740
      "Just another crouton, floating on the bouillabaisse of life"

For help using this (nmap-dev) mailing list, send a blank email to nmap-dev-help () insecure org . List archive: http://seclists.org

  By Date           By Thread  

Current thread:
  • Problems building nmap-3.5 on Solaris 8, and OpenSSL on Redhat Linux 9 Pete Young (Mar 03)
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]