[R] With which version of XFree86 can R compile?

Susumu Tanimura/谷村 晋 stanimura-ngs at umin.ac.jp
Fri Mar 26 16:51:33 CET 2004


Hi there,

No information was found which version of XFree86 get along with R.  I
could not compile R version 1.8.1 with XFree86 4.3.99.902.

Here is error message.

gcc -I. -I../../../src/include -I../../../src/include -DI18N_MB -I/usr/X11R6/include -I/usr/local/include -DHAVE_CONFIG_H -D__NO_MATH_INLINES -mieee-fp -fPIC  -O2 -pipe -march=i386 -mcpu=i686 -c dataentry_mb.c -o dataentry_mb.lo
In file included from dataentry_mb.c:35:
/usr/X11R6/include/X11/Xlib.h:1389: error: syntax error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:1477: error: syntax error before "char"
/usr/X11R6/include/X11/Xlib.h:1505: error: syntax error before "_Xconst"
[snip]
/usr/X11R6/include/X11/Xutil.h:678: error: syntax error before "_Xconst"
/usr/X11R6/include/X11/Xutil.h:801: error: syntax error before "_Xconst"
In file included from xrm.h:5,
                 from dataentry_mb.c:41:
/usr/X11R6/include/X11/Xresource.h:94: error: syntax error before "char"
/usr/X11R6/include/X11/Xresource.h:98: error: syntax error before "char"
/usr/X11R6/include/X11/Xresource.h:122: error: syntax error before "char"
/usr/X11R6/include/X11/Xresource.h:127: error: syntax error before "char"
/usr/X11R6/include/X11/Xresource.h:194: error: syntax error before "_Xconst"
/usr/X11R6/include/X11/Xresource.h:203: error: syntax error before "_Xconst"
/usr/X11R6/include/X11/Xresource.h:208: error: syntax error before "_Xconst"
/usr/X11R6/include/X11/Xresource.h:214: error: syntax error before "_Xconst"
/usr/X11R6/include/X11/Xresource.h:227: error: syntax error before "_Xconst"
/usr/X11R6/include/X11/Xresource.h:269: error: syntax error before "char"
/usr/X11R6/include/X11/Xresource.h:273: error: syntax error before "char"
/usr/X11R6/include/X11/Xresource.h:279: error: syntax error before "char"
/usr/X11R6/include/X11/Xresource.h:284: error: syntax error before "_Xconst"
/usr/X11R6/include/X11/Xresource.h:352: error: syntax error before "_Xconst"
dataentry_mb.c: In function `GetKey':
dataentry_mb.c:1276: warning: passing arg 1 of `XLookupString' from incompatible pointer type
dataentry_mb.c:1276: warning: passing arg 4 of `XLookupString' from incompatible pointer type
dataentry_mb.c: In function `GetCharP':
dataentry_mb.c:1285: warning: passing arg 1 of `XLookupString' from incompatible pointer type
dataentry_mb.c:1285: warning: passing arg 4 of `XLookupString' from incompatible pointer type
dataentry_mb.c: In function `doControl':
dataentry_mb.c:1306: warning: passing arg 1 of `XLookupString' from incompatible pointer type
dataentry_mb.c:1306: warning: passing arg 4 of `XLookupString' from incompatible pointer type
dataentry_mb.c: In function `RefreshKeyboardMapping':
dataentry_mb.c:1335: warning: passing arg 1 of `XRefreshKeyboardMapping' from incompatible pointer type
make[4]: *** [dataentry_mb.lo] Error 1
make[4]: Leaving directory `/home/hoge/rpm/BUILD/R-1.8.1/src/modules/X11'
make[3]: *** [R] Error 2
make[3]: Leaving directory `/home/hoge/rpm/BUILD/R-1.8.1/src/modules/X11'
make[2]: *** [R] Error 1
make[2]: Leaving directory `/home/hoge/rpm/BUILD/R-1.8.1/src/modules'
make[1]: *** [R] Error 1
make[1]: Leaving directory `/home/hoge/rpm/BUILD/R-1.8.1/src'
make: *** [R] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.85917 (%build)
 
RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.85917 (%build)




More information about the R-help mailing list