Home page logo
/

nmap-dev logo Nmap Development mailing list archives

Compile error with RedHat 9.0
From: Luigi Rosa <lrosa () mail hypertrek info>
Date: Thu, 9 Oct 2003 13:35:12 +0200

Hello,

I am trying to compile nmap 3.48 on a RedHat 9 linux box.

I configured with

#./configure  --with-openssl=/usr/include

And I made the program with a simple #make, but I get the following error.
Please note that I have installed both OpenSSL and Kerberos development
packages.

I tried to go to line 72 of /usr/include/openssl/kssl.h and hardcode the
position of krb5.h (whic is in /usr/kerberos/include/krb5.h) but I get other
errors regarding not found files.


Any suggestion?


Thanks in advance.

Ciao,
luigi






make[2]: Leaving directory `/usr/src/nmap-3.48/nbase'
gcc -c  -g -O2 -Wall  -I../../nbase  -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.01\"  -I../include nsock_connect.c -o 
nsock_connect.o
In file included from /usr/include/openssl/ssl.h:179,
                 from nsock_ssl.h:60,
                 from nsock_internal.h:69,
                 from nsock_connect.c:50:
/usr/include/openssl/kssl.h:72:18: krb5.h: No such file or directory
In file included from /usr/include/openssl/ssl.h:179,
                 from nsock_ssl.h:60,
                 from nsock_internal.h:69,
                 from nsock_connect.c:50:
/usr/include/openssl/kssl.h:134: parse error before "krb5_enctype"
/usr/include/openssl/kssl.h:136: parse error before '*' token
/usr/include/openssl/kssl.h:137: parse error before '}' token
/usr/include/openssl/kssl.h:149: parse error before "kssl_ctx_setstring"
/usr/include/openssl/kssl.h:149: parse error before '*' token
/usr/include/openssl/kssl.h:150: parse error before '*' token
/usr/include/openssl/kssl.h:151: parse error before '*' token
/usr/include/openssl/kssl.h:151: parse error before '*' token
/usr/include/openssl/kssl.h:152: parse error before '*' token
/usr/include/openssl/kssl.h:153: parse error before "kssl_ctx_setprinc"
/usr/include/openssl/kssl.h:153: parse error before '*' token
/usr/include/openssl/kssl.h:155: parse error before "kssl_cget_tkt"
/usr/include/openssl/kssl.h:155: parse error before '*' token
/usr/include/openssl/kssl.h:157: parse error before "kssl_sget_tkt"
/usr/include/openssl/kssl.h:157: parse error before '*' token
/usr/include/openssl/kssl.h:159: parse error before "kssl_ctx_setkey"
/usr/include/openssl/kssl.h:159: parse error before '*' token
/usr/include/openssl/kssl.h:161: parse error before "context"
/usr/include/openssl/kssl.h:162: parse error before "kssl_build_principal_2"
/usr/include/openssl/kssl.h:162: parse error before "context"
/usr/include/openssl/kssl.h:165: parse error before "kssl_validate_times"
/usr/include/openssl/kssl.h:165: parse error before "atime"
/usr/include/openssl/kssl.h:167: parse error before "kssl_check_authent"
/usr/include/openssl/kssl.h:167: parse error before '*' token
/usr/include/openssl/kssl.h:169: parse error before "enctype"
In file included from nsock_ssl.h:60,
                 from nsock_internal.h:69,
                 from nsock_connect.c:50:
/usr/include/openssl/ssl.h:909: parse error before "KSSL_CTX"
/usr/include/openssl/ssl.h:931: parse error before '}' token
make[1]: *** [nsock_connect.o] Error 1
make[1]: Leaving directory `/usr/src/nmap-3.48/nsock/src'
make: *** [nsock/src/libnsock.a] Error 2
  


-- 
Radioactive cats have 18 half-lives. 


---------------------------------------------------------------------
For help using this (nmap-dev) mailing list, send a blank email to 
nmap-dev-help () insecure org . List run by ezmlm-idx (www.ezmlm.org).



  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]
AlienVault