Click to See Complete Forum and Search --> : Nmap compile


Legg83
08-18-2001, 12:08 PM
The problem I am having right now is installing nmap.

I have installed both bison and flex, and can ./configure nmap correctly, but it errors during the compile.

In file included from nmap.h:257,
from nmap.c:1:
tcpip.h:358: conflicting types for `inet_aton'
/usr/include/arpa/inet.h:74: previous declaration of `inet_aton'
make: *** [nmap.o] Error 1

I have tried both make and gmake, neither worked. Any suggestions?

Thanks guys.

bdl
08-18-2001, 12:43 PM
First thing I'd suggest is to just grab the package for nmap and not bother compiling, if you don't necessariy have to. I know for a fact that nmap is available in every flavor package you could want: slack-pack, debs (just apt-get it), rpms. As far as your compiling problems, it would appear there is a conflict between the headers on your system and the nmap headers, I'd take it up with the nmap website; they may have a solution posted already. Luck!