#5 problem compiling in ubuntu 6.10

closed
Jay Sorg
None
5
2008-08-01
2006-12-26
MVarrieur
No

here is the error(s) I am getting:

root@mythbox:/home/mvarrieur/Desktop/xrdp# make
make -C vnc
make[1]: Entering directory `/home/mvarrieur/Desktop/xrdp/vnc'
gcc -shared -o libvnc.so vnc.o os_calls.o d3des.o -ldl
make[1]: Leaving directory `/home/mvarrieur/Desktop/xrdp/vnc'
make -C libxrdp
make[1]: Entering directory `/home/mvarrieur/Desktop/xrdp/libxrdp'
gcc -Wall -O2 -I../common -fPIC -DXRDP_CFG_FILE=\"/etc/xrdp/xrdp.ini\" -DXRDP_KEY_FILE=\"/etc/xrdp/rsakeys.ini\" -c ../common/ssl_calls.c
../common/ssl_calls.c:27:25: error: openssl/rc4.h: No such file or directory
../common/ssl_calls.c:28:25: error: openssl/md5.h: No such file or directory
../common/ssl_calls.c:29:25: error: openssl/sha.h: No such file or directory
../common/ssl_calls.c:30:24: error: openssl/bn.h: No such file or directory
../common/ssl_calls.c: In function ‘ssl_rc4_info_create’:
../common/ssl_calls.c:38: error: ‘RC4_KEY’ undeclared (first use in this function)
../common/ssl_calls.c:38: error: (Each undeclared identifier is reported only once
../common/ssl_calls.c:38: error: for each function it appears in.)
../common/ssl_calls.c: In function ‘ssl_rc4_set_key’:
../common/ssl_calls.c:52: warning: implicit declaration of function ‘RC4_set_key’
../common/ssl_calls.c:52: error: ‘RC4_KEY’ undeclared (first use in this function)
../common/ssl_calls.c:52: error: expected expression before ‘)’ token
../common/ssl_calls.c: In function ‘ssl_rc4_crypt’:
../common/ssl_calls.c:59: warning: implicit declaration of function ‘RC4’
../common/ssl_calls.c:59: error: ‘RC4_KEY’ undeclared (first use in this function)
../common/ssl_calls.c:59: error: expected expression before ‘)’ token
../common/ssl_calls.c: In function ‘ssl_sha1_info_create’:
../common/ssl_calls.c:68: error: ‘SHA_CTX’ undeclared (first use in this function)
../common/ssl_calls.c: In function ‘ssl_sha1_clear’:
../common/ssl_calls.c:82: warning: implicit declaration of function ‘SHA1_Init’
../common/ssl_calls.c:82: error: ‘SHA_CTX’ undeclared (first use in this function)
../common/ssl_calls.c:82: error: expected expression before ‘)’ token
../common/ssl_calls.c: In function ‘ssl_sha1_transform’:
../common/ssl_calls.c:89: warning: implicit declaration of function ‘SHA1_Update’
../common/ssl_calls.c:89: error: ‘SHA_CTX’ undeclared (first use in this function)
../common/ssl_calls.c:89: error: expected expression before ‘)’ token
../common/ssl_calls.c: In function ‘ssl_sha1_complete’:
../common/ssl_calls.c:96: warning: implicit declaration of function ‘SHA1_Final’
../common/ssl_calls.c:96: error: ‘SHA_CTX’ undeclared (first use in this function)
../common/ssl_calls.c:96: error: expected expression before ‘)’ token
../common/ssl_calls.c: In function ‘ssl_md5_info_create’:
../common/ssl_calls.c:105: error: ‘MD5_CTX’ undeclared (first use in this function)
../common/ssl_calls.c: In function ‘ssl_md5_clear’:
../common/ssl_calls.c:119: warning: implicit declaration of function ‘MD5_Init’
../common/ssl_calls.c:119: error: ‘MD5_CTX’ undeclared (first use in this function)
../common/ssl_calls.c:119: error: expected expression before ‘)’ token
../common/ssl_calls.c: In function ‘ssl_md5_transform’:
../common/ssl_calls.c:126: warning: implicit declaration of function ‘MD5_Update’
../common/ssl_calls.c:126: error: ‘MD5_CTX’ undeclared (first use in this function)
../common/ssl_calls.c:126: error: expected expression before ‘)’ token
../common/ssl_calls.c: In function ‘ssl_md5_complete’:
../common/ssl_calls.c:133: warning: implicit declaration of function ‘MD5_Final’
../common/ssl_calls.c:133: error: ‘MD5_CTX’ undeclared (first use in this function)
../common/ssl_calls.c:133: error: expected expression before ‘)’ token
../common/ssl_calls.c: In function ‘ssl_mod_exp’:
../common/ssl_calls.c:161: error: ‘BN_CTX’ undeclared (first use in this function)
../common/ssl_calls.c:161: error: ‘ctx’ undeclared (first use in this function)
../common/ssl_calls.c:162: error: ‘BIGNUM’ undeclared (first use in this function)
../common/ssl_calls.c:162: error: expected ‘;’ before ‘lmod’
../common/ssl_calls.c:163: error: expected ‘;’ before ‘lexp’
../common/ssl_calls.c:164: error: expected ‘;’ before ‘lin’
../common/ssl_calls.c:165: error: expected ‘;’ before ‘lout’
../common/ssl_calls.c:182: warning: implicit declaration of function ‘BN_CTX_new’
../common/ssl_calls.c:183: warning: implicit declaration of function ‘BN_init’
../common/ssl_calls.c:183: error: ‘lmod’ undeclared (first use in this function)
../common/ssl_calls.c:184: error: ‘lexp’ undeclared (first use in this function)
../common/ssl_calls.c:185: error: ‘lin’ undeclared (first use in this function)
../common/ssl_calls.c:186: error: ‘lout’ undeclared (first use in this function)
../common/ssl_calls.c:187: warning: implicit declaration of function ‘BN_bin2bn’
../common/ssl_calls.c:190: warning: implicit declaration of function ‘BN_mod_exp’
../common/ssl_calls.c:191: warning: implicit declaration of function ‘BN_bn2bin’
../common/ssl_calls.c:201: warning: implicit declaration of function ‘BN_free’
../common/ssl_calls.c:205: warning: implicit declaration of function ‘BN_CTX_free’
make[1]: *** [ssl_calls.o] Error 1
make[1]: Leaving directory `/home/mvarrieur/Desktop/xrdp/libxrdp'
make: *** [base] Error 2

Discussion

  • Kiran Lightpaw

    Kiran Lightpaw - 2007-01-02

    Logged In: YES
    user_id=1681127
    Originator: NO

    I just came up against this and solved it. This is actually not a bug; you don't have the requires libssh headers available on your system.

    To install, use Synaptic to install the "libssl-dev" package (which isn't installed by default and isn't mentioned in the Ubuntu Forums post about xrdp.

     
  • Jay Sorg

    Jay Sorg - 2007-04-26
    • assigned_to: nobody --> jsorg71
     
  • Nobody/Anonymous

    Logged In: NO

    Same problem

     
  • MVarrieur

    MVarrieur - 2008-08-01
    • status: open --> closed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks