Operating System - HP-UX
1833852 Members
1849 Online
110063 Solutions
New Discussion

Re: compile errors nmap 11iv3

 
Billa-User
Regular Advisor

compile errors nmap 11iv3

did anyone try to compile "NMAP" for HPUX 11.31?

At HP-UX URL: http://hpux.connect.org.uk it is no version for 11.31.

so i downloaded the source from http://hpux.connect.org.uk/hppd/cgi-bin/search?package=&term=/nmap-
and installed the Build-time deps like:

product version
gcc 4.2.1
db 4.6.18
libgcc 4.2.1
gdbm 1.8.3
gettext 0.16.1
glib 1.2.10
gtk+ 1.2.10
libiconv 1.11
libpcap 0.9.7
make 3.81
openssl 0.9.8e
pcre 7.2
perl 5.8.8

then i read HPUX.install and did following steps :

1. ./configure --enable-shared
2. change Makefile depending on info's of HPUX.install . i hope i did it right.

3. gmake

then i get some errors and the compiling aborts:

tcpip.h:290: error: extra qualification 'PacketTrace::' on member 'traceArp'
main.cc: In function 'int main(int, char**, char**)':
.
.
main.cc:147: warning: deprecated conversion from string constant to 'char*'
gmake: *** [main.o] Error 1

i haven't enough experience in C to solve the problem.

regards,tom
4 REPLIES 4
Dennis Handly
Acclaimed Contributor

Re: compile errors nmap 11iv3

It would be helpful to show the lines in tcpip.h around 290. Try to number them or point out which is 290.

It appears it shouldn't have that "PacketTrace::".

>i haven't enough experience in C to solve the problem.

This ain't no stinkin' C, it's C++. :-)
Steven E. Protter
Exalted Contributor

Re: compile errors nmap 11iv3

Shalom,

You have to make code changes to fix it. If you don't have the skill's you are going to have to wait for someone else to do it.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Billa-User
Regular Advisor

Re: compile errors nmap 11iv3

hello,

i have now a solution :

i downloaded the version 4.20 from http://packages.qa.debian.org/n/nmap.html

and compiled it under 11.31 and it works.

regards,tom
Billa-User
Regular Advisor

Re: compile errors nmap 11iv3