Nmap Development mailing list archives

Re: NMAP 3.50 installation problem in HP-UX 11.11 machine


From: "Saravanan" <saravanan_kovai () HotPop com>
Date: Fri, 30 Jan 2004 09:56:48 +0530


HEllo All,

Finally I solved this problem by making slight changes with compilation options issued. ( library positions are changed 
in position resolves this problem ).

Before chaging the library symbol positions :

g++ -L/opt/iexpress/libpcap/lib  -L/opt/iexpress/libpcap/lib -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
mapOutputTable.o  -lm  -lssl -lcrypto  -lnbase -lnsock
ibpcre/libpcre.a  -lpcap

After changing lib symbols ( Success build option )

g++ -L/opt/iexpress/libpcap/lib  -L/opt/iexpress/libpcap/lib -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  -lm  -lnbase -lnsock
libpcre/libpcre.a  -lssl -lcrypto -lpcap


Thanks,
Saravanan






----- Original Message ----- 
From: "Saravanan" <saravanan_kovai () HotPop com>
To: <nmap-dev () insecure org>
Cc: "Fyodor" <fyodor () insecure org>
Sent: Saturday, January 24, 2004 2:42 PM
Subject: NMAP 3.50 installation problem in HP-UX 11.11 machine


Hello All,

I tried to install the NMAP 3.50 version in my HP-UX 11.11 PA-RISC machine. I downloaded the source from insecure.org 
and proceeded.

1) ./configure --prefix=DIR --with-openssl=DIR --with-libpcap=DIR

It is configured successfully.

2) Then  gmake

It gives the following error.


# gmake
---
---
Compiling nmap
rm -f nmap
g++ -L/opt/iexpress/libpcap/lib  -L/opt/iexpress/libpcap/lib -Lnbase -Lnsock/src
/  -o nmap main.o nmap.o targets.o tcpip.o nmap_error.o utils.o idle_scan.o ossc
an.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  -lm  -lssl -lcrypto -lnbase -lnsock libpcre/libpcre.a -lpca
p
/usr/ccs/bin/ld: Unsatisfied symbols:
   SSLv23_client_method (code)
   SSL_load_error_strings (code)
   SSL_library_init (code)
collect2: ld returned 1 exit status
gmake: *** [nmap] Error 1

# nm nsock/src/libnsock.a | grep SSLv23_client_method
SSLv23_client_method|          |undef |code   |

# nm nsock/src/libnsock.a | grep SSL_load_error_strings
SSL_load_error_strings|          |undef |code   |

# nm nsock/src/libnsock.a | grep SSL_library_init
SSL_library_init    |          |undef |code   |
#

The unstasified sysmbols are chked thru strings comamnd. Those are available in library    (nsock/src/libnsock.a).  Can 
anyone help me to away from this problem. But nmap 3.48 version is installed successfully in my 11.11 machine.

Thanks,
Saravanan





---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.572 / Virus Database: 362 - Release Date: 1/27/2004

Current thread: