Nmap Development mailing list archives

Re: patches for HP-UX 11.11compilation problems


From: Fyodor <fyodor () insecure org>
Date: Sun, 18 Jun 2006 20:28:46 -0700

On Sat, Jun 17, 2006 at 04:21:24PM +0400, Zakharov Mikhail wrote:

Ok, I fixed the bug with pcap_parse() at least on HP-UX. Here is the
patch which adds this string:

#define yyparse pcap_parse

to libpcap/grammar.c file. Environment is the same, HP-UX 11.11, C110
9000/777, GCC-4.1.0, nmap-4.10

I try to avoid patching grammar.c since it is auto-generated by YACC.
If you remove grammar.c from the libpcap directory, then run 'make' in
that directory to regenerate it, does that version work for you?  If
not, do you see a way to fix that problem (which won't adversely
affect other platforms) by changing grammar.y or the Makefile.in?
Also, will you try compling libpcap 0.9.4 from tcpdump.org ?  If that
works, maybe we can make the same change from Nmap.  If it doesn't
work, the patch should be sent there for incorporation too.

Thanks,
-F


_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev


Current thread: