Nmap Development mailing list archives

Solution to "configure: error: Cannot find type for 6th argument to recvfrom()"


From: Fyodor <fyodor () insecure org>
Date: Sat, 3 Jul 2004 23:35:04 -0700

I have received dozens of reports from people receiving the following
error from ./configure:

checking for type of 6th argument to recvfrom()... configure: error: Cannot find type for 6th argument to recvfrom()

In all the cases I have seen so far, the problem is that they don't
have a C++ compiler such as g++.  Admittedly the error message doesn't
exactly make this obvious :).  The solution is to install g++.  If you
already have a C++ compiler, put it in your $PATH or pass configure
the path like: ./configure CXX=/usr/hidden/bin/g++ .  Or you can just
use binaries, such as Linux RPMs.

For the next version of Nmap, I have tried to detect the "no C++
compiler" problem earlier and give an appropriate message.

Cheers,
Fyodor

---------------------------------------------------------------------
For help using this (nmap-dev) mailing list, send a blank email to 
nmap-dev-help () insecure org . List archive: http://seclists.org



Current thread: