Nmap Development mailing list archives

Ответ: Re: patches for HP-UX 11.11compilation problems


From: Zakharov Mikhail <zmey20000 () yahoo com>
Date: Mon, 19 Jun 2006 21:40:51 +0400 (MSD)


--- Fyodor <fyodor () insecure org> пишет:

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

Ok, at last it's everything fine with current version of nmap, libpcap
and grammar.c/grammar.y the after digging alittle inside sources I
found the problem was with installed bison, which I took someday from
http://hpux.cs.utah.edu (The porting and archiving centre for HP-UX). 
So I replaced it with the "true" version from ftp.gnu.org and
succesfully compiled nmap-4.10. Heh, it's not a first bug with ported
software from hpux.cs.utah.edu, so I prefer to build everything from
scratch.

Good luck,
Mikhail


        

        
                
________________________________________________________
Вы уже с Yahoo!? 
Испытайте обновленную и улучшенную. Yahoo! Почту! http://ru.mail.yahoo.com


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

Current thread: