[R] Build problem with R-1.4.1 on AM64/Linux
Liaw, Andy
andy_liaw at merck.com
Tue Jan 18 15:10:14 CET 2005
When R-1.4.1 was released, AMD64 did not exist yet. You are likely to do
better by trying to update the package to the current version of R. The
first step of that is to change all the `_' for assignment to `<-' in the R
code. Some functions might be deprecated, and if so need to be replaced.
It is possible that you may run into more problems, but those problems, I'd
guess, are easier to solve than trying to get R-1.4.1 to compile correctly
on a current AMD64 Linux installation.
Just my 0.01532326 Euro (as of 2005-01-18)...
Andy
> From: Sivakumar Ramagopal
>
> 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
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide!
> http://www.R-project.org/posting-guide.html
>
>
More information about the R-help
mailing list