[R] Build problem with R-1.4.1 on AM64/Linux

Sivakumar Ramagopal ramagopa at etek.chalmers.se
Tue Jan 18 14:38:45 CET 2005


Hi,

I get the following errors while building R-1.4.1 on AMD64/Linux (SuSE
9.1). R-2.0.1 compiles fine though. I'm building R-1.4.1 because I need to
install SNet (available at
http://cm.bell-labs.com/cm/ms/departments/sia/InternetTraffic/S-Net/SNet_1.0.zip).

The errors I get are:

In file included from dataentry.c:34:
/usr/X11R6/include/X11/Xlib.h:1400: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:1488: error: parse error before "char"

This happens a lot of times in various places in file dataentry.c


dataentry.c: In function `GetKey':
dataentry.c:1249: warning: passing arg 1 of `XLookupString' from
incompatible pointer type
dataentry.c:1249: warning: passing arg 4 of `XLookupString' from
incompatible pointer type
dataentry.c: In function `GetCharP':
dataentry.c:1258: warning: passing arg 1 of `XLookupString' from
incompatible pointer type
dataentry.c:1258: warning: passing arg 4 of `XLookupString' from
incompatible pointer type
dataentry.c: In function `doControl':
dataentry.c:1279: warning: passing arg 1 of `XLookupString' from
incompatible pointer type
dataentry.c:1279: warning: passing arg 4 of `XLookupString' from
incompatible pointer type
dataentry.c: In function `RefreshKeyboardMapping':
dataentry.c:1308: warning: passing arg 1 of `XRefreshKeyboardMapping' from
incompatible pointer type
make[4]: *** [dataentry.lo] Error 1

My guess is I'm missing a few packages but I don't know which ones. How
should I go about from here?

Thanks,
Shiva




More information about the R-help mailing list