>From what I understand X11rdp does not build with modern distros. I'm trying >to build it using: Slackware 12.2 kernel - 2.6.27.31 xorg-server - 1.4.2 gcc 4.2.4
I checked out SVN rev. 276 and modified the build script to allow a normal user compile it (added DESTDIR support). Not all of the components build. Specifically, x11, xfont, xorg-server, and x11rdp do not build. Attached is a diff of the build script and my notes on the build process that include the errors I have found. Note, that I temporarily skipped some of the components that would not build to try building the others. I understand that some are dependent on others, so I did not expect everything to build properly after the initial errors. I appreciate any help on this. --phillip _________________________________________________________________ Your E-mail and More On-the-Go. Get Windows Live Hotmail Free. http://clk.atdmt.com/GBL/go/171222985/direct/01/
buildx.sh.diff
Description: Binary data
Checked out revision 276 20091018 heavily modified build script (see patch) ** will not build ** x11 xfont xorg-server x11rdp # x11 make[2]: Leaving directory `/home/USER/tmp/svn-tmp/x11rdp_xorg71/libX11-X11R7.1-1.0.1/src/util' ../src/util/makekeys < /usr//include/X11/keysymdef.h > ks_tables_h /bin/sh: line 1: 19672 Floating point exception../src/util/makekeys </usr//include/X11/keysymdef.h >ks_tables_h make[1]: *** [ks_tables.h] Error 136 make[1]: Leaving directory `/home/USER/tmp/svn-tmp/x11rdp_xorg71/libX11-X11R7.1-1.0.1/src' make: *** [all-recursive] Error 1 # xfont make[4]: Leaving directory `/home/USER/tmp/svn-tmp/x11rdp_xorg71/libXfont-X11R7.1-1.1.0' if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include/X11/fonts -I../../include -I/usr//include/freetype2 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -g -O2 -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/usr//include -D_XOPEN_SOURCE -MT ftfuncs.lo -MD -MP -MF ".deps/ftfuncs.Tpo" -c -o ftfuncs.lo ftfuncs.c; \ then mv -f ".deps/ftfuncs.Tpo" ".deps/ftfuncs.Plo"; else rm -f ".deps/ftfuncs.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include/X11/fonts -I../../include -I/usr//include/freetype2 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -g -O2 -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/usr//include -D_XOPEN_SOURCE -MT ftfuncs.lo -MD -MP -MF .deps/ftfuncs.Tpo -c ftfuncs.c -fPIC -DPIC -o .libs/ftfuncs.o ftfuncs.c:57:10: error: #include expects "FILENAME" or <FILENAME> ftfuncs.c:59:10: error: #include expects "FILENAME" or <FILENAME> ftfuncs.c:60:10: error: #include expects "FILENAME" or <FILENAME> ftfuncs.c: In function 'FreeTypeOpenInstance': ftfuncs.c:467: error: 'TT_Face' undeclared (first use in this function) ftfuncs.c:467: error: (Each undeclared identifier is reported only once ftfuncs.c:467: error: for each function it appears in.) ftfuncs.c:467: error: expected ';' before 'tt_face' ftfuncs.c:471: error: 'SFNT_Service' undeclared (first use in this function) ftfuncs.c:471: error: expected ';' before 'sfnt' ftfuncs.c:472: error: 'tt_face' undeclared (first use in this function) ftfuncs.c:472: error: expected ';' before 'face' ftfuncs.c:486: error: 'sfnt' undeclared (first use in this function) ftfuncs.c:486: error: expected ';' before 'tt_face' ftfuncs.c: In function 'tt_get_metrics': ftfuncs.c:815: error: 'TT_LongMetrics' undeclared (first use in this function) ftfuncs.c:815: error: expected ';' before 'longs_m' ftfuncs.c:824: error: 'longs_m' undeclared (first use in this function) ftfuncs.c:824: error: expected ';' before 'header' ftfuncs.c:829: error: 'TT_ShortMetrics' undeclared (first use in this function) ftfuncs.c:829: error: expected expression before ')' token ftfuncs.c:830: error: expected ')' before 'header' ftfuncs.c: In function 'ft_get_very_lazy_bbox': ftfuncs.c:845: error: 'TT_Face' undeclared (first use in this function) ftfuncs.c:845: error: expected ';' before 'ttface' ftfuncs.c:852: error: 'ttface' undeclared (first use in this function) ftfuncs.c: In function 'FT_Do_SBit_Metrics': ftfuncs.c:914: error: 'SFNT_Service' undeclared (first use in this function) ftfuncs.c:914: error: expected ';' before 'sfnt' ftfuncs.c:915: error: 'TT_Face' undeclared (first use in this function) ftfuncs.c:915: error: expected ';' before 'face' ftfuncs.c:918: error: 'TT_SBit_Strike' undeclared (first use in this function) ftfuncs.c:918: error: expected ';' before 'strike' ftfuncs.c:919: error: 'TT_SBit_Range' undeclared (first use in this function) ftfuncs.c:919: error: expected ';' before 'range' ftfuncs.c:920: error: 'TT_SBit_MetricsRec' undeclared (first use in this function) ftfuncs.c:920: error: expected ';' before 'elem_metrics' ftfuncs.c:931: error: 'face' undeclared (first use in this function) ftfuncs.c:931: error: expected ';' before 'ft_face' ftfuncs.c:932: error: 'sfnt' undeclared (first use in this function) ftfuncs.c:932: error: expected ';' before 'face' ftfuncs.c:938: error: 'range' undeclared (first use in this function) ftfuncs.c:938: error: 'strike' undeclared (first use in this function) ftfuncs.c:955: warning: implicit declaration of function 'FT_STREAM_POS' ftfuncs.c:955: warning: nested extern declaration of 'FT_STREAM_POS' ftfuncs.c:958: warning: implicit declaration of function 'FT_STREAM_SEEK' ftfuncs.c:958: warning: nested extern declaration of 'FT_STREAM_SEEK' ftfuncs.c:961: error: 'elem_metrics' undeclared (first use in this function) ftfuncs.c: In function 'restrict_code_range_by_str': ftfuncs.c:1963: warning: implicit declaration of function 'isspace' make[3]: *** [ftfuncs.lo] Error 1 make[3]: Leaving directory `/home/USER/tmp/svn-tmp/x11rdp_xorg71/libXfont-X11R7.1-1.1.0/src/FreeType' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/USER/tmp/svn-tmp/x11rdp_xorg71/libXfont-X11R7.1-1.1.0/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/USER/tmp/svn-tmp/x11rdp_xorg71/libXfont-X11R7.1-1.1.0' make: *** [all] Error 2 # xorg-server dispatch.c:115:35: error: X11/extensions/Xagsrv.h: No such file or directory dispatch.c:118:1: warning: "XKB_IN_SERVER" redefined In file included from dispatch.c:82: ../include/dix-config.h:346:1: warning: this is the location of the previous definition dispatch.c: In function 'DoGetImage': dispatch.c:2241: warning: implicit declaration of function 'SecurityCensorImage' dispatch.c:2241: warning: nested extern declaration of 'SecurityCensorImage' dispatch.c: In function 'ProcListHosts': dispatch.c:3322: warning: implicit declaration of function 'SecurityAudit' dispatch.c:3322: warning: nested extern declaration of 'SecurityAudit' dispatch.c: In function 'SendConnSetup': dispatch.c:3877: warning: implicit declaration of function 'XagConnectionInfo' dispatch.c:3877: warning: nested extern declaration of 'XagConnectionInfo' make[1]: *** [dispatch.lo] Error 1 make[1]: Leaving directory `/home/USER/tmp/svn-tmp/x11rdp_xorg71/xorg-server-X11R7.1-1.1.0/dix' make: *** [all-recursive] Error 1 # x11rdp cc: ../../dbe/.libs/libdbe.a: No such file or directory cc: ../../dix/.libs/libdix.a: No such file or directory cc: ../../fb/.libs/libfb.a: No such file or directory cc: ../../mfb/.libs/libmfb.a: No such file or directory cc: ../../mi/.libs/libmi.a: No such file or directory cc: ../../os/.libs/libos.a: No such file or directory cc: ../../randr/.libs/librandr.a: No such file or directory cc: ../../record/.libs/librecord.a: No such file or directory cc: ../../render/.libs/librender.a: No such file or directory cc: ../../xkb/.libs/libxkb.a: No such file or directory cc: ../../XTrap/.libs/libxtrap.a: No such file or directory cc: ../../Xext/.libs/libXext.a: No such file or directory cc: ../../Xi/.libs/libXi.a: No such file or directory cc: ../../GL/glx/.libs/libglx.a: No such file or directory cc: ../../GL/mesa/.libs/libGLcore.a: No such file or directory cc: ../../xfixes/.libs/libxfixes.a: No such file or directory cc: ../../dbe/.libs/libdbe.a: No such file or directory cc: ../../dix/.libs/libdix.a: No such file or directory cc: ../../fb/.libs/libfb.a: No such file or directory cc: ../../mfb/.libs/libmfb.a: No such file or directory cc: ../../mi/.libs/libmi.a: No such file or directory cc: ../../os/.libs/libos.a: No such file or directory cc: ../../randr/.libs/librandr.a: No such file or directory cc: ../../record/.libs/librecord.a: No such file or directory cc: ../../render/.libs/librender.a: No such file or directory cc: ../../xkb/.libs/libxkb.a: No such file or directory cc: ../../XTrap/.libs/libxtrap.a: No such file or directory cc: ../../Xext/.libs/libXext.a: No such file or directory cc: ../../Xi/.libs/libXi.a: No such file or directory cc: ../../GL/glx/.libs/libglx.a: No such file or directory cc: ../../GL/mesa/.libs/libGLcore.a: No such file or directory cc: ../../xfixes/.libs/libxfixes.a: No such file or directory make: *** [X11rdp] Error 1
------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference
_______________________________________________ xrdp-devel mailing list xrdp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xrdp-devel