
Nmap Development mailing list archives
[libdnet-stripped] svn version does not compile because of config.h
From: nmap-bug-tmp () hushmail com
Date: Thu, 14 Jan 2010 02:20:33 +0100
Hello, I was trying to compile the latest version of nmap (in order to get ncat) on my OpenBSD 4.6 stable box, an error is caused by libdnet-stripped/include/config.h. The error is located at the last 3 lines of the header file : #ifndef HAVE_SOCKLEN_T typedef socklen_t int #endif config.h is included in libdnet-stripped/src/addr-util.c right before stdio.h According to the compiler, the error comes from stdio.h, just at the first typedef directive. Maybe someone can figure out why this error is generated, I don't think that the build fails on other OSs like debian or freebsd. Don't ask me why, but I edited the second line like this : #ifndef HAVE_SOCKLEN_T #define socklen_t int #endif And it just works fine. Regards. // user. _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://seclists.org/nmap-dev/
Current thread:
- [libdnet-stripped] svn version does not compile because of config.h nmap-bug-tmp (Jan 13)
- Re: [libdnet-stripped] svn version does not compile because of config.h Michael Pattrick (Jan 13)
- Re: [libdnet-stripped] svn version does not compile because of config.h David Fifield (Jan 13)
- Re: [libdnet-stripped] svn version does not compile because of config.h Michael Pattrick (Jan 13)