wsgate compilation error Ubuntu 14.04 LTS
Hi !
I've been able to compile most of things in Ubuntu 14.04 (mostly caused by casablanca : You should make a snapshot of a working casablanca trunk)
Now I'm stuck on the build of wsfage. Here is the current error:
~# LC_ALL=C make [ 5%] Built target bindhelper [ 10%] Building CXX object CMakeFiles/wsgate.dir/wsgate_main.cpp.o In file included from /home/X/FreeRDP-WebConnect/wsgate/wsgate_main.cpp:80:0: /home/X/FreeRDP-WebConnect/wsgate/btexception.hpp:176:3: warning: #warning Neither libbfd nor libdwarf are available, so no backtracing enabled [-Wcpp]
warning Neither libbfd nor libdwarf are available, so no backtracing enabled
^ In file included from /usr/include/freerdp/codecs.h:27:0, from /usr/include/freerdp/freerdp.h:44, from /usr/include/freerdp/input.h:26, from /home/X/FreeRDP-WebConnect/wsgate/rdpcommon.hpp:28, from /home/X/FreeRDP-WebConnect/wsgate/RDP.hpp:29, from /home/X/FreeRDP-WebConnect/wsgate/myrawsocket.hpp:23, from /home/X/FreeRDP-WebConnect/wsgate/wsgate_main.cpp:86: /usr/include/freerdp/codec/rfx.h:23:14: error: use of enum '_RLGR_MODE' without previous declaration typedef enum RLGR_MODE RLGR_MODE; ^ /usr/include/freerdp/codec/rfx.h:23:34: error: invalid type in declaration before ';' token typedef enum RLGR_MODE RLGR_MODE; ^ /home/X/FreeRDP-WebConnect/wsgate/wsgate_main.cpp: In function 'int main(int, char*)': /home/X/FreeRDP-WebConnect/wsgate/wsgate_main.cpp:1724:41: warning: ignoring return value of 'int chdir(const char)', declared with attribute warn_unused_result -Wunused-resultchdir("/"); ^ make[2]: *** [CMakeFiles/wsgate.dir/wsgate_main.cpp.o] Error 1 make[1]: *** [CMakeFiles/wsgate.dir/all] Error 2 make: *** [all] Error 2
Can you help me on this ?
Thank you !