Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xrdp 0.6.2 Compile error on Archlinux #739

Closed
nouman8 opened this issue Apr 30, 2017 · 2 comments
Closed

xrdp 0.6.2 Compile error on Archlinux #739

nouman8 opened this issue Apr 30, 2017 · 2 comments

Comments

@nouman8
Copy link

nouman8 commented Apr 30, 2017

ssl_calls.c: In function 'ssl_mod_exp':
ssl_calls.c:188:10: error: storage size of 'lmod' isn't known
BIGNUM lmod;
^~~~
ssl_calls.c:189:10: error: storage size of 'lexp' isn't known
BIGNUM lexp;
^~~~
ssl_calls.c:190:10: error: storage size of 'lin' isn't known
BIGNUM lin;
^~~
ssl_calls.c:191:10: error: storage size of 'lout' isn't known
BIGNUM lout;
^~~~
ssl_calls.c:209:3: warning: implicit declaration of function 'BN_init' [-Wimplicit-function-declaration]
BN_init(&lmod);
^~~~~~~
In file included from /usr/include/openssl/asn1.h:24:0,
from /usr/include/openssl/objects.h:916,
from /usr/include/openssl/evp.h:27,
from /usr/include/openssl/x509.h:23,
from /usr/include/openssl/ssl.h:50,
from ssl_calls.c:24:
ssl_calls.c: In function 'ssl_gen_key_xrdp1':
ssl_calls.c:333:30: error: dereferencing pointer to incomplete type 'RSA {aka struct rsa_st}'
len = BN_num_bytes(my_key->n);
^
make[2]: *** [Makefile:447: ssl_calls.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
mv -f .deps/trans.Tpo .deps/trans.Plo
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DXRDP_CFG_PATH="/etc/xrdp" -DXRDP_SBIN_PATH="/usr/local/sbin" -DXRDP_SHARE_PATH="/usr/local/share/xrdp" -DXRDP_PID_PATH="/var/run" -g -O2 -MT os_calls.lo -MD -MP -MF .deps/os_calls.Tpo -c os_calls.c -o os_calls.o >/dev/null 2>&1
mv -f .deps/os_calls.Tpo .deps/os_calls.Plo
make[2]: Leaving directory '/home/Downloads/xrdp-0.6.2/common'
make[1]: *** [Makefile:414: all-recursive] Error 1
make[1]: Leaving directory '/home/Downloads/xrdp-0.6.2'
make: *** [Makefile:346: all] Error 2

@nouman8 nouman8 changed the title xrdp 0.6.2 Compile error on Archlinux possibly OpenSSL 1.1.0.e related issue xrdp 0.6.2 Compile error on Archlinux May 25, 2017
@metalefty
Copy link
Member

@nouman8 Can you test #762?

@nouman8
Copy link
Author

nouman8 commented May 26, 2017

i can now compile xrdp 0.6.2 successfully with #762
Thanks!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants