Full_Name: Dmitry Ivanov Version: 1.9.0 OS: Slackware-current Submission from: (NULL) (213.182.223.91) Cannot compile R with X11. Compiler is GCC 3.3.3. X11 is XFree86 4.4.0. C library is GLIBC 2.3.2. \begin{errors} make[4]: Entering directory `/home/dimss/pub/software/R/R-1.9.0/src/modules/X11' gcc -I. -I../../../src/include -I../../../src/include -I/usr/X11R6/include -I/usr/local/include -DHAVE_CONFIG_H -D__NO_MATH_INLINES -mieee-fp -fPIC -g -O2 -c dataentry.c -o dataentry.lo In file included from dataentry.c:31: /usr/X11R6/include/X11/Xlib.h:1390: error: parse error before "_Xconst" /usr/X11R6/include/X11/Xlib.h:1478: error: parse error before "char" /usr/X11R6/include/X11/Xlib.h:1506: error: parse error before "_Xconst" /usr/X11R6/include/X11/Xlib.h:1510: error: parse error before "char" /usr/X11R6/include/X11/Xlib.h:1532: error: parse error before "_Xconst" /usr/X11R6/include/X11/Xlib.h:1567: error: parse error before '*' token /usr/X11R6/include/X11/Xlib.h:1576: error: parse error before "_Xconst" /usr/X11R6/include/X11/Xlib.h:1601: error: parse error before "_Xconst" /usr/X11R6/include/X11/Xlib.h:1651: error: parse error before "_Xconst" /usr/X11R6/include/X11/Xlib.h:1657: error: parse error before "_Xconst" /usr/X11R6/include/X11/Xlib.h:1704: error: parse error before "char" /usr/X11R6/include/X11/Xlib.h:1743: error: parse error before "_Xconst" /usr/X11R6/include/X11/Xlib.h:1984: error: parse error before "_Xconst" /usr/X11R6/include/X11/Xlib.h:2068: error: parse error before "_Xconst" /usr/X11R6/include/X11/Xlib.h:2321: error: parse error before "_Xconst" /usr/X11R6/include/X11/Xlib.h:2331: error: parse error before "_Xconst" /usr/X11R6/include/X11/Xlib.h:2403: error: parse error before "_Xconst" /usr/X11R6/include/X11/Xlib.h:2413: error: parse error before "_Xconst" /usr/X11R6/include/X11/Xlib.h:2571: error: parse error before "_Xconst" /usr/X11R6/include/X11/Xlib.h:2586: error: parse error before "_Xconst" /usr/X11R6/include/X11/Xlib.h:2779: error: parse error before "_Xconst" /usr/X11R6/include/X11/Xlib.h:2846: error: parse error before "_Xconst" /usr/X11R6/include/X11/Xlib.h:2851: error: parse error before "char" /usr/X11R6/include/X11/Xlib.h:2965: error: parse error before "_Xconst" /usr/X11R6/include/X11/Xlib.h:2991: error: parse error before "_Xconst" /usr/X11R6/include/X11/Xlib.h:3002: error: parse error before "_Xconst" /usr/X11R6/include/X11/Xlib.h:3027: error: parse error before "_Xconst" /usr/X11R6/include/X11/Xlib.h:3036: error: parse error before "char" /usr/X11R6/include/X11/Xlib.h:3049: error: parse error before "_Xconst" /usr/X11R6/include/X11/Xlib.h:3192: error: parse error before "_Xconst" /usr/X11R6/include/X11/Xlib.h:3241: error: parse error before "_Xconst" /usr/X11R6/include/X11/Xlib.h:3273: error: parse error before "_Xconst" /usr/X11R6/include/X11/Xlib.h:3364: error: parse error before "_Xconst" /usr/X11R6/include/X11/Xlib.h:3371: error: parse error before "_Xconst" /usr/X11R6/include/X11/Xlib.h:3391: error: parse error before "_Xconst" /usr/X11R6/include/X11/Xlib.h:3397: error: parse error before "_Xconst" /usr/X11R6/include/X11/Xlib.h:3409: error: parse error before "_Xconst" /usr/X11R6/include/X11/Xlib.h:3419: error: parse error before "_Xconst" /usr/X11R6/include/X11/Xlib.h:3429: error: parse error before "_Xconst" /usr/X11R6/include/X11/Xlib.h:3435: error: parse error before "_Xconst" /usr/X11R6/include/X11/Xlib.h:3536: error: parse error before "_Xconst" /usr/X11R6/include/X11/Xlib.h:3553: error: parse error before "_Xconst" /usr/X11R6/include/X11/Xlib.h:3604: error: parse error before "_Xconst" /usr/X11R6/include/X11/Xlib.h:3647: error: parse error before "_Xconst" /usr/X11R6/include/X11/Xlib.h:3653: error: parse error before "_Xconst" /usr/X11R6/include/X11/Xlib.h:3659: error: parse error before "_Xconst" /usr/X11R6/include/X11/Xlib.h:3665: error: parse error before "_Xconst" /usr/X11R6/include/X11/Xlib.h:3673: error: parse error before "_Xconst" /usr/X11R6/include/X11/Xlib.h:3681: error: parse error before "_Xconst" /usr/X11R6/include/X11/Xlib.h:3689: error: parse error before "_Xconst" /usr/X11R6/include/X11/Xlib.h:3701: error: parse error before "_Xconst" /usr/X11R6/include/X11/Xlib.h:3713: error: parse error before "_Xconst" /usr/X11R6/include/X11/Xlib.h:3760: error: parse error before "_Xconst" /usr/X11R6/include/X11/Xlib.h:3771: error: parse error before "_Xconst" /usr/X11R6/include/X11/Xlib.h:3782: error: parse error before "_Xconst" /usr/X11R6/include/X11/Xlib.h:3793: error: parse error before "_Xconst" /usr/X11R6/include/X11/Xlib.h:3804: error: parse error before "_Xconst" /usr/X11R6/include/X11/Xlib.h:3815: error: parse error before "_Xconst" In file included from dataentry.c:32: /usr/X11R6/include/X11/Xutil.h:566: error: parse error before "_Xconst" /usr/X11R6/include/X11/Xutil.h:606: error: parse error before "_Xconst" /usr/X11R6/include/X11/Xutil.h:666: error: parse error before "_Xconst" /usr/X11R6/include/X11/Xutil.h:678: error: parse error before "_Xconst" /usr/X11R6/include/X11/Xutil.h:801: error: parse error before "_Xconst" dataentry.c: In function `GetKey': dataentry.c:1272: warning: passing arg 4 of `XLookupString' from incompatible pointer type dataentry.c: In function `GetCharP': dataentry.c:1281: warning: passing arg 4 of `XLookupString' from incompatible pointer type dataentry.c: In function `doControl': dataentry.c:1302: warning: passing arg 4 of `XLookupString' from incompatible pointer type make[4]: *** [dataentry.lo] Error 1 make[4]: Leaving directory `/home/dimss/pub/software/R/R-1.9.0/src/modules/X11' make[3]: *** [R] Error 2 make[3]: Leaving directory `/home/dimss/pub/software/R/R-1.9.0/src/modules/X11' make[2]: *** [R] Error 1 make[2]: Leaving directory `/home/dimss/pub/software/R/R-1.9.0/src/modules' make[1]: *** [R] Error 1 make[1]: Leaving directory `/home/dimss/pub/software/R/R-1.9.0/src' make: *** [R] Error 1 \end{errors}
dimss@solutions.lv writes:> Cannot compile R with X11. Compiler is GCC 3.3.3. X11 is XFree86 4.4.0. C > library is GLIBC 2.3.2.Yes we've heard about that issue a few times before. Perturbation of headers in XFree86 4.4. Fixed in R-patched, I believe. -- O__ ---- Peter Dalgaard Blegdamsvej 3 c/ /'_ --- Dept. of Biostatistics 2200 Cph. N (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk) FAX: (+45) 35327907
Apparently Analagous Threads
- linux: compilation problems with gcc 3.3.3 and xorg (PR#6992)
- R-release.diff + R-1.9 -> success on Fedora Core 2, R RPM available; ess-emacs-5.1.20 also available
- R 1.90 make problem with /usr/X11R6/include/X11/Xutil.h on suse linux 9.1?
- Build problems on Linux SuSE 9.1
- R-1.9.0: make error on slackware-current!