jsmith665 <jsmith665@hotmail.com> wrote:
> I am attempting to compile nmap v4.03 under HP-UX 11.11, using GNU
> standard tools (e.g., gcc v4.0.2, gmake v3.80, binutils v2.16.1),
> libpcap v0.9.4, and pcre v6.6. For a number of reasons, I can not use
> a binary and must compile from the source.
> The following configure runs to completion with no problems:
> # CC=gcc ./configure --without-nmapfe --without-openssl
> But the follow on make fails:
> # make
> <snip>
> Compiling nmap
> rm -f nmap
> 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 MACLookup.o nmap_tty.o nmap_dns.o -lnbase -lnsock
> -lpcre -lpcap libdnet-stripped/src/.libs/libdnet.a -lm
> /usr/ccs/bin/ld: Unsatisfied symbols:
> close_mib (first referenced in
> libdnet-stripped/src/.libs/libdnet.a(arp-ioctl.o)) (code)
> open_mib (first referenced in
> libdnet-stripped/src/.libs/libdnet.a(arp-ioctl.o)) (code)
> get_mib_info (first referenced in
> libdnet-stripped/src/.libs/libdnet.a(arp-ioctl.o)) (code)
> collect2: ld returned 1 exit status
> make: *** [nmap] Error 1
> I have also installed libdnet v1.11 and re-configured:
> # CC=gcc ./configure --without-nmapfe --without-openssl
> --with-libdnet=/usr/local
I assume that libdnet is what is expected to provide those routines?
If so, are you certain those routines are indeed still in that library?
rick jones
--
portable adj, code that compiles under more than one compiler
these opinions are mine, all mine; HP might not want them anyway...

feel free to post, OR email to rick.jones2 in hp.com but NOT BOTH...