#14 XRDP on MAC OS

open
nobody
None
5
2011-01-16
2011-01-16
Anonymous
No

i' m trying to compile xrdp on a mac but i got the error

make -C vnc
make[1]: Entering directory `/Users/.../Downloads/xrdp-0.4.2/vnc'
gcc -shared -o libvnc.so vnc.o os_calls.o d3des.o -ldl
Undefined symbols:
"_environ", referenced from:
_g_clearenv in os_calls.o

i got rid of this error by defining
# define environ (*_NSGetEnviron())
in os_calls.c

now i get the following error:

make -C 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
Undefined symbols:
"_list_get_item", referenced from:
_libxrdp_get_channel_id in libxrdp.o
_libxrdp_query_channel in libxrdp.o
_xrdp_mcs_delete in xrdp_mcs.o
_xrdp_sec_create in xrdp_sec.o
_xrdp_sec_create in xrdp_sec.o
_xrdp_rdp_create in xrdp_rdp.o
_xrdp_rdp_create in xrdp_rdp.o
_xrdp_channel_get_item in xrdp_channel.o
"_list_clear", referenced from:
_file_read_section in file.o
_file_read_section in file.o
_file_read_sections in file.o
"_list_delete", referenced from:
_xrdp_mcs_delete in xrdp_mcs.o
_xrdp_sec_create in xrdp_sec.o
_xrdp_sec_create in xrdp_sec.o
_xrdp_rdp_create in xrdp_rdp.o
_xrdp_rdp_create in xrdp_rdp.o
"_list_add_item", referenced from:
_xrdp_sec_process_mcs_data in xrdp_sec.o
_file_read_section in file.o
_file_read_section in file.o
_file_read_sections in file.o
"_list_create", referenced from:
_xrdp_mcs_create in xrdp_mcs.o
_xrdp_sec_create in xrdp_sec.o
_xrdp_sec_create in xrdp_sec.o
_xrdp_rdp_create in xrdp_rdp.o
_xrdp_rdp_create in xrdp_rdp.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[1]: *** [libxrdp] Error 1
make: *** [base] Error 2

anny idea how to fix this?

Discussion

  • nicolar
    nicolar
    2011-01-17

    Hi, please compile latest git sources and let us know if you get problems again