#68 Cannot compile secure.c (CVS)

closed
nobody
5
2005-10-29
2003-10-22
Thomas Au
No

~/rdesktop$ ./configure --without-openssl
rdesktop build configuration script

X Window System:
includes /usr/X11R6/include
libraries /usr/X11R6/lib

Sound support enabled: Open Sound System

configure complete - now run make
d3012026@cslinux3:~/rdesktop$ make
gcc
-DKEYMAP_PATH=\"/usr/local/share/rdesktop/keymaps/\"
-Wall -O2 -I/usr/X11R6/include -DWITH_RDPSND -o
secure.o -c secure.c
secure.c:52: parse error before `*'
secure.c:52: warning: type defaults to `int' in
declaration of `server_public_key'
secure.c:52: warning: data definition has no type or
storage class
secure.c:533: parse error before `*'
secure.c: In function `sec_parse_x509_key':
secure.c:535: `EVP_PKEY' undeclared (first use in
this function)
secure.c:535: (Each undeclared identifier is reported
only once
secure.c:535: for each function it appears in.)
secure.c:535: `epk' undeclared (first use in this
function)
secure.c:541: warning: implicit declaration of
function `OBJ_obj2nid'
secure.c:541: `cert' undeclared (first use in this
function)
secure.c:541: `NID_md5WithRSAEncryption' undeclared
(first use in this function)
secure.c:544: warning: implicit declaration of
function `OBJ_nid2obj'
secure.c:544: `NID_rsaEncryption' undeclared (first
use in this function)
secure.c:546: warning: implicit declaration of
function `X509_get_pubkey'
secure.c:553: `RSA' undeclared (first use in this
function)
secure.c:553: parse error before `)'
secure.c: In function `sec_parse_crypt_info':
secure.c:566: `X509' undeclared (first use in this
function)
secure.c:566: `cacert' undeclared (first use in this
function)
secure.c:566: `server_cert' undeclared (first use in
this function)
secure.c:566: warning: left-hand operand of comma
expression has no effect
secure.c:567: parse error before `tag'
secure.c:586: `end' undeclared (first use in this
function)
secure.c:598: `tag' undeclared (first use in this
function)
secure.c:599: `length' undeclared (first use in this
function)
secure.c:601: `next_tag' undeclared (first use in
this function)
secure.c:606: warning: unreachable code at beginning
of switch statement
secure.c:642: warning: implicit declaration of
function `d2i_X509'
secure.c: In function `sec_process_crypt_info':
secure.c:721: warning: implicit declaration of
function `RSA_public_encrypt'
secure.c:722: `RSA_NO_PADDING' undeclared (first use
in this function)

Discussion

  • Ilya Konstantinov

    • status: open --> closed
     
  • Ilya Konstantinov

    Logged In: YES
    user_id=335423

    Complaint about CVS from 2003. Should be irrelevant today.