make -C vnc
make[1]: Entering directory `/home/tsuser/Downloads/xrdp-0.4.1/vnc'
gcc -shared -o libvnc.so vnc.o os_calls.o d3des.o -ldl
make[1]: Leaving directory `/home/tsuser/Downloads/xrdp-0.4.1/vnc'
make -C libxrdp
make[1]: Entering directory `/home/tsuser/Downloads/xrdp-0.4.1/libxrdp'
gcc -shared -o libxrdp.so libxrdp.o xrdp_tcp.o xrdp_iso.o xrdp_mcs.o xrdp_sec.o xrdp_rdp.o xrdp_orders.o xrdp_bitmap_compress.o xrdp_channel.o os_calls.o ssl_calls.o file.o -ldl -lcrypto
make[1]: Leaving directory `/home/tsuser/Downloads/xrdp-0.4.1/libxrdp'
make -C xrdp
make[1]: Entering directory `/home/tsuser/Downloads/xrdp-0.4.1/xrdp'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/tsuser/Downloads/xrdp-0.4.1/xrdp'
make -C rdp
make[1]: Entering directory `/home/tsuser/Downloads/xrdp-0.4.1/rdp'
gcc -shared -o librdp.so ssl_calls.o os_calls.o rdp.o rdp_tcp.o rdp_iso.o rdp_mcs.o rdp_sec.o rdp_orders.o rdp_bitmap.o rdp_rdp.o rdp_lic.o -ldl -lcrypto
make[1]: Leaving directory `/home/tsuser/Downloads/xrdp-0.4.1/rdp'
make -C xup
make[1]: Entering directory `/home/tsuser/Downloads/xrdp-0.4.1/xup'
gcc -shared -o libxup.so os_calls.o xup.o -ldl
make[1]: Leaving directory `/home/tsuser/Downloads/xrdp-0.4.1/xup'
make -C sesman
make[1]: Entering directory `/home/tsuser/Downloads/xrdp-0.4.1/sesman'
make -C libscp
make[2]: Entering directory `/home/tsuser/Downloads/xrdp-0.4.1/sesman/libscp'
gcc -shared -L/usr/gnu/lib -L/usr/lib/nptl -lpthread -o libscp.so libscp_vX.o libscp_v0.o libscp_v1s.o libscp_v1c.o libscp_init.o libscp_lock.o libscp_tcp.o os_calls.o
make[2]: Leaving directory `/home/tsuser/Downloads/xrdp-0.4.1/sesman/libscp'
gcc -Wall -O2 -I../common -I/usr/include/nptl -I./libscp -DSESMAN_CFG_FILE=\"/etc/xrdp/sesman.ini\" -DSESMAN_PID_FILE=\"/var/run/sesman.pid\" -DSESMAN_SESSVC_FILE=\"sessvc\" -c -o verify_user_pam.o verify_user_pam.c
verify_user_pam.c:32:31: error: security/pam_appl.h: No such file or directory
verify_user_pam.c:45: error: field ‘pamc’ has incomplete type
verify_user_pam.c:46: error: expected specifier-qualifier-list before ‘pam_handle_t’
verify_user_pam.c:52: warning: ‘struct pam_response’ declared inside parameter list
verify_user_pam.c:52: warning: its scope is only this definition or declaration, which is probably not what you want
verify_user_pam.c:52: warning: ‘struct pam_message’ declared inside parameter list
verify_user_pam.c: In function ‘verify_pam_conv’:
verify_user_pam.c:58: error: invalid application of ‘sizeof’ to incomplete type ‘struct pam_response’
verify_user_pam.c:61: error: dereferencing pointer to incomplete type
verify_user_pam.c:63: error: ‘PAM_PROMPT_ECHO_ON’ undeclared (first use in this function)
verify_user_pam.c:63: error: (Each undeclared identifier is reported only once
verify_user_pam.c:63: error: for each function it appears in.)
verify_user_pam.c:65: error: invalid use of undefined type ‘struct pam_response’
verify_user_pam.c:65: error: dereferencing pointer to incomplete type
verify_user_pam.c:66: error: invalid use of undefined type ‘struct pam_response’
verify_user_pam.c:66: error: dereferencing pointer to incomplete type
verify_user_pam.c:66: error: ‘PAM_SUCCESS’ undeclared (first use in this function)
verify_user_pam.c:68: error: ‘PAM_PROMPT_ECHO_OFF’ undeclared (first use in this function)
verify_user_pam.c:70: error: invalid use of undefined type ‘struct pam_response’
verify_user_pam.c:70: error: dereferencing pointer to incomplete type
verify_user_pam.c:71: error: invalid use of undefined type ‘struct pam_response’
verify_user_pam.c:71: error: dereferencing pointer to incomplete type
verify_user_pam.c:76: error: ‘PAM_CONV_ERR’ undeclared (first use in this function)
verify_user_pam.c: In function ‘auth_userpass’:
verify_user_pam.c:113: warning: implicit declaration of function ‘pam_start’
verify_user_pam.c:113: error: ‘struct t_auth_info’ has no member named ‘ph’
verify_user_pam.c:114: error: ‘PAM_SUCCESS’ undeclared (first use in this function)
verify_user_pam.c:116: warning: implicit declaration of function ‘pam_strerror’
verify_user_pam.c:116: error: ‘struct t_auth_info’ has no member named ‘ph’
verify_user_pam.c:120: warning: implicit declaration of function ‘pam_authenticate’
verify_user_pam.c:120: error: ‘struct t_auth_info’ has no member named ‘ph’
verify_user_pam.c:124: error: ‘struct t_auth_info’ has no member named ‘ph’
verify_user_pam.c:128: warning: implicit declaration of function ‘pam_acct_mgmt’
verify_user_pam.c:128: error: ‘struct t_auth_info’ has no member named ‘ph’
verify_user_pam.c:132: error: ‘struct t_auth_info’ has no member named ‘ph’
verify_user_pam.c: In function ‘auth_start_session’:
verify_user_pam.c:150: warning: implicit declaration of function ‘pam_set_item’
verify_user_pam.c:150: error: ‘struct t_auth_info’ has no member named ‘ph’
verify_user_pam.c:150: error: ‘PAM_TTY’ undeclared (first use in this function)
verify_user_pam.c:151: error: ‘PAM_SUCCESS’ undeclared (first use in this function)
verify_user_pam.c:153: error: ‘struct t_auth_info’ has no member named ‘ph’
verify_user_pam.c:156: warning: implicit declaration of function ‘pam_setcred’
verify_user_pam.c:156: error: ‘struct t_auth_info’ has no member named ‘ph’
verify_user_pam.c:156: error: ‘PAM_ESTABLISH_CRED’ undeclared (first use in this function)
verify_user_pam.c:159: error: ‘struct t_auth_info’ has no member named ‘ph’
verify_user_pam.c:163: warning: implicit declaration of function ‘pam_open_session’
verify_user_pam.c:163: error: ‘struct t_auth_info’ has no member named ‘ph’
verify_user_pam.c:167: error: ‘struct t_auth_info’ has no member named ‘ph’
verify_user_pam.c: In function ‘auth_end’:
verify_user_pam.c:185: error: ‘struct t_auth_info’ has no member named ‘ph’
verify_user_pam.c:189: warning: implicit declaration of function ‘pam_close_session’
verify_user_pam.c:189: error: ‘struct t_auth_info’ has no member named ‘ph’
verify_user_pam.c:193: error: ‘struct t_auth_info’ has no member named ‘ph’
verify_user_pam.c:193: error: ‘PAM_DELETE_CRED’ undeclared (first use in this function)
verify_user_pam.c:195: warning: implicit declaration of function ‘pam_end’
verify_user_pam.c:195: error: ‘struct t_auth_info’ has no member named ‘ph’
verify_user_pam.c:195: error: ‘PAM_SUCCESS’ undeclared (first use in this function)
verify_user_pam.c:196: error: ‘struct t_auth_info’ has no member named ‘ph’
verify_user_pam.c: In function ‘auth_set_env’:
verify_user_pam.c:220: warning: implicit declaration of function ‘pam_getenvlist’
verify_user_pam.c:220: error: ‘struct t_auth_info’ has no member named ‘ph’
verify_user_pam.c:220: warning: assignment makes pointer from integer without a cast
make[1]: *** [verify_user_pam.o] Error 1
make[1]: Leaving directory `/home/tsuser/Downloads/xrdp-0.4.1/sesman'
make: *** [world] Error 2