[prev in list] [next in list] [prev in thread] [next in thread]
List: nmap-dev
Subject: Nmap-4.85BETA9 compilation problems
From: "Jaroslav Fojtik" <jafojtik () seznam ! cz>
Date: 2009-05-30 10:32:02
Message-ID: 4A210B22.3803.78F295 () jafojtik ! seznam ! cz
[Download RAW message or body]
Dears nmap developpers,
nmap-4.76 gets compiled without any problem.
I am facing this problem during nmap-4.85BETA9 compilation:
--------------------------------------------------------------
make[1]: Entering directory `/USR_SRC/nmap-4.85BETA9/ncat'
gcc -I../libpcap -DHAVE_CONFIG_H -DNCAT_DATADIR="\"/usr/local/share/ncat\"" -
D_FORTIFY_SOURCE=2 -I. -I.. -I../nsock/include/ -I../nbase -g -O2 -c ncat_ssl.c -o
ncat_ssl.o
ncat_ssl.c: In function `cert_match_dnsname':
ncat_ssl.c:130: structure has no member named `it'
ncat_ssl.c:133: structure has no member named `it'
ncat_ssl.c:133: warning: assignment makes pointer from integer without a cast
ncat_ssl.c:137: warning: passing arg 2 of pointer to function from incompatible pointer
type
make[1]: *** [ncat_ssl.o] Error 1
make[1]: Target `all' not remade because of errors.
make[1]: Leaving directory `/USR_SRC/nmap-4.85BETA9/ncat'
--------------------------------------------------------------
I hope that this issue could be trapped by .configure script.
if (method == NULL)
return 0;
#ifdef HAS_METHOD_IT
if (method->it != NULL) {
ext_str = ASN1_item_d2i(NULL,
(const unsigned char **) &ext->value->data,
ext->value->length, ASN1_ITEM_ptr(method->it));
} else
#endif
{
ext_str = method->d2i(NULL,
(const unsigned char **) &ext->value->data,
ext->value->length);
}
I also cannot build nmap-4.85BETA7, but this version is obsolette:
--------------------------------------------------------------
make nmap
make[1]: Entering directory `/USR_SRC/nmap-4.85BETA7'
g++ -c -Iliblua -Ilibdnet-stripped/include -Ilibpcap -Inbase -Insock/include -g -O2 -
Wall -fno-strict-aliasing -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -
DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -
DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 nse_openssl.cc -o
nse_openssl.o
nse_openssl.cc: In function `int l_digest(lua_State*)':
nse_openssl.cc:273: `EVP_MD_CTX_init' undeclared (first use this function)
nse_openssl.cc:273: (Each undeclared identifier is reported only once for each
function it appears in.)
nse_openssl.cc:275: `EVP_DigestInit_ex' undeclared (first use this function)
nse_openssl.cc:277: `EVP_DigestFinal_ex' undeclared (first use this function)
nse_openssl.cc:278: `EVP_MD_CTX_cleanup' undeclared (first use this function)
nse_openssl.cc: In function `int l_supported_digests(lua_State*)':
nse_openssl.cc:328: `OBJ_NAME_do_all_sorted' undeclared (first use this
function)
nse_openssl.cc: In function `int l_encrypt(lua_State*)':
nse_openssl.cc:361: `EVP_MAX_BLOCK_LENGTH' undeclared (first use this function)
nse_openssl.cc:365: `EVP_EncryptInit_ex' undeclared (first use this function)
nse_openssl.cc:366: `EVP_CIPHER_CTX_set_padding' undeclared (first use this
function)
nse_openssl.cc:367: cannot convert `const unsigned char*' to `unsigned char*'
for argument `4' to `int EVP_EncryptUpdate(EVP_CIPHER_CTX*, unsigned char*,
int*, unsigned char*, int)'
nse_openssl.cc:368: `EVP_EncryptFinal_ex' undeclared (first use this function)
nse_openssl.cc: In function `int l_decrypt(lua_State*)':
nse_openssl.cc:404: `EVP_DecryptInit_ex' undeclared (first use this function)
nse_openssl.cc:406: cannot convert `const unsigned char*' to `unsigned char*'
for argument `4' to `int EVP_DecryptUpdate(EVP_CIPHER_CTX*, unsigned char*,
int*, unsigned char*, int)'
nse_openssl.cc:407: `EVP_DecryptFinal_ex' undeclared (first use this function)
nse_openssl.cc: In function `int l_DES_string_to_key(lua_State*)':
nse_openssl.cc:430: `DES_cblock' undeclared (first use this function)
nse_openssl.cc:430: parse error before `;' token
nse_openssl.cc:431: `key' undeclared (first use this function)
nse_openssl.cc:435: `DES_set_odd_parity' undeclared (first use this function)
make[1]: *** [nse_openssl.o] Error 1
make[1]: Leaving directory `/USR_SRC/nmap-4.85BETA7'
make: *** [all] Error 2
-----------------------------------------------------------
thank you
Jara
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic