Hi All, I am trying to build the X11rdp server (because mainly I do not want to use vncserver)
I followed the instructions here to download the code and compile - and I am getting the same error: http://www.linuxquestions.org/questions/linux-server-73/xrdp-authenticates-but-does-not-load-x-server-rdp-592138/ I am doing this on FreeBSD 7.2 so this really isn't a platform-specific bug, it has something to do with printproto - I have printproto-1.0.4 installed on the server. This exact same bug is also noted in Gentoo: http://bugs.gentoo.org/show_bug.cgi?id=217339 their "workaround" was to revert to printproto-1.0.3 I think. Here is the error: gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -I../include -I../include -I../include -I../include -I../include -I../hw/xfree86/dixmods/extmod -D_GNU_SOURCE -DHAVE_DIX_CONFIG_H -DXFree86Server -DXFree86LOADER -DDEFAULTPOLICYFILE=\"/usr/local/lib/xserver/SecurityPolicy\" -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/freetype2 -I../include -I../include -I../Xext -I../composite -I../damageext -I../xfixes -I../Xi -I../mi -I../miext/shadow -I../miext/damage -I../render -I../randr -I../fb -g -O2 -MT xprint.lo -MD -MP -MF .deps/xprint.Tpo -c xprint.c -fPIC -DPIC -o .libs/xprint.o In file included from xprint.c:87: /usr/local/include/X11/extensions/Printstr.h:761: error: expected specifier-qualifier-list before 'PrivateRec' xprint.c: In function 'ProcXpGetPageDimensions': xprint.c:761: error: 'struct _XpContext' has no member named 'funcs' xprint.c:762: error: 'struct _XpContext' has no member named 'funcs' xprint.c:765: error: 'struct _XpContext' has no member named 'funcs' xprint.c:769: error: 'struct _XpContext' has no member named 'funcs' xprint.c: In function 'ProcXpSetImageResolution': xprint.c:823: error: 'struct _XpContext' has no member named 'imageRes' xprint.c:824: error: 'struct _XpContext' has no member named 'funcs' xprint.c:825: error: 'struct _XpContext' has no member named 'funcs' xprint.c: In function 'ProcXpGetImageResolution': xprint.c:874: error: 'struct _XpContext' has no member named 'imageRes' xprint.c: In function 'ProcXpCreateContext': xprint.c:979: error: 'struct _XpContext' has no member named 'clientSlept' xprint.c:980: error: 'struct _XpContext' has no member named 'imageRes' xprint.c:982: error: 'struct _XpContext' has no member named 'funcs' xprint.c:983: error: 'struct _XpContext' has no member named 'funcs' xprint.c:984: error: 'struct _XpContext' has no member named 'funcs' xprint.c:985: error: 'struct _XpContext' has no member named 'funcs' xprint.c:986: error: 'struct _XpContext' has no member named 'funcs' xprint.c:987: error: 'struct _XpContext' has no member named 'funcs' xprint.c:988: error: 'struct _XpContext' has no member named 'funcs' xprint.c:989: error: 'struct _XpContext' has no member named 'funcs' xprint.c:990: error: 'struct _XpContext' has no member named 'funcs' xprint.c:991: error: 'struct _XpContext' has no member named 'funcs' xprint.c:992: error: 'struct _XpContext' has no member named 'funcs' xprint.c:993: error: 'struct _XpContext' has no member named 'funcs' xprint.c:994: error: 'struct _XpContext' has no member named 'funcs' xprint.c:995: error: 'struct _XpContext' has no member named 'funcs' xprint.c:996: error: 'struct _XpContext' has no member named 'funcs' xprint.c:997: error: 'struct _XpContext' has no member named 'funcs' xprint.c: In function 'XpFreeContext': xprint.c:1218: error: 'struct _XpContext' has no member named 'funcs' xprint.c:1227: error: 'struct _XpContext' has no member named 'funcs' xprint.c:1232: error: 'struct _XpContext' has no member named 'funcs' xprint.c:1234: error: 'struct _XpContext' has no member named 'funcs' xprint.c:1245: error: 'struct _XpContext' has no member named 'funcs' xprint.c:1246: error: 'struct _XpContext' has no member named 'funcs' xprint.c: In function 'XpFreePage': xprint.c:1368: error: 'struct _XpContext' has no member named 'funcs' xprint.c:1369: error: 'struct _XpContext' has no member named 'funcs' xprint.c: In function 'InitContextPrivates': xprint.c:1399: error: 'struct _XpContext' has no member named 'devPrivates' xprint.c: At top level: xprint.c:1427: warning: no previous prototype for 'XpAllocateContextPrivateIndex' xprint.c:1433: warning: no previous prototype for 'XpAllocateContextPrivate' xprint.c: In function 'ProcXpStartJob': xprint.c:1520: error: 'struct _XpContext' has no member named 'funcs' xprint.c:1521: error: 'struct _XpContext' has no member named 'funcs' xprint.c: In function 'ProcXpEndJob': xprint.c:1569: error: 'struct _XpContext' has no member named 'funcs' xprint.c:1570: error: 'struct _XpContext' has no member named 'funcs' xprint.c:1584: error: 'struct _XpContext' has no member named 'funcs' xprint.c:1585: error: 'struct _XpContext' has no member named 'funcs' xprint.c:1592: error: 'struct _XpContext' has no member named 'funcs' xprint.c:1593: error: 'struct _XpContext' has no member named 'funcs' xprint.c: In function 'DoStartDoc': xprint.c:1619: error: 'struct _XpContext' has no member named 'clientSlept' xprint.c:1624: error: 'struct _XpContext' has no member named 'funcs' xprint.c:1625: error: 'struct _XpContext' has no member named 'funcs' xprint.c: In function 'ProcXpEndDoc': xprint.c:1707: error: 'struct _XpContext' has no member named 'funcs' xprint.c:1708: error: 'struct _XpContext' has no member named 'funcs' xprint.c:1723: error: 'struct _XpContext' has no member named 'funcs' xprint.c:1724: error: 'struct _XpContext' has no member named 'funcs' xprint.c: In function 'DoStartPage': xprint.c:1756: error: 'struct _XpContext' has no member named 'clientSlept' xprint.c:1764: error: 'struct _XpContext' has no member named 'funcs' xprint.c:1765: error: 'struct _XpContext' has no member named 'funcs' xprint.c:1814: error: 'struct _XpContext' has no member named 'funcs' xprint.c:1815: error: 'struct _XpContext' has no member named 'funcs' xprint.c: In function 'ProcXpEndPage': xprint.c:1897: error: 'struct _XpContext' has no member named 'funcs' xprint.c:1898: error: 'struct _XpContext' has no member named 'funcs' xprint.c: In function 'ProcXpPutDocumentData': xprint.c:1969: error: 'struct _XpContext' has no member named 'funcs' xprint.c:1971: error: 'struct _XpContext' has no member named 'funcs' xprint.c: In function 'ProcXpGetDocumentData': xprint.c:2006: error: 'struct _XpContext' has no member named 'funcs' xprint.c:2019: error: 'struct _XpContext' has no member named 'funcs' xprint.c:2042: error: 'struct _XpContext' has no member named 'clientSlept' xprint.c:2044: error: 'struct _XpContext' has no member named 'clientSlept' xprint.c:2045: error: 'struct _XpContext' has no member named 'clientSlept' xprint.c:2046: error: 'struct _XpContext' has no member named 'clientSlept' xprint.c: In function 'ProcXpGetAttributes': xprint.c:2089: error: 'struct _XpContext' has no member named 'funcs' xprint.c:2091: error: 'struct _XpContext' has no member named 'funcs' xprint.c: In function 'ProcXpSetAttributes': xprint.c:2161: error: 'struct _XpContext' has no member named 'funcs' xprint.c:2183: error: 'struct _XpContext' has no member named 'funcs' xprint.c:2185: error: 'struct _XpContext' has no member named 'funcs' xprint.c: In function 'ProcXpGetOneAttribute': xprint.c:2241: error: 'struct _XpContext' has no member named 'funcs' xprint.c:2243: error: 'struct _XpContext' has no member named 'funcs' make[1]: *** [xprint.lo] Error 1 make[1]: Leaving directory `/usr/ports/distfiles/manual-build/x11rdp_xorg71/xorg-server-X11R7.1-1.1.0/Xext' make: *** [all-recursive] Error 1 error make xorg-server web-mail# FreeBSD has a port for xrdp but not for the x11rdp server. Thanks! Ted ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ xrdp-devel mailing list xrdp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xrdp-devel