[R-sig-ME] compilation errors on current (r-forge) lme4a
Ben Bolker
bolker at ufl.edu
Tue Dec 8 19:17:56 CET 2009
this is on Ubuntu 8.04 (I think: it's "Intrepid Ibex", I have trouble
keeping track of the numbers):
Linux bolker-lap2 2.6.27-16-generic #1 SMP Tue Dec 1 17:56:54 UTC 2009
i686 GNU/Linux
ben at bolker-lap2:~/lib/R/pkgs/lme4/pkg$ g++ --version
g++ (Ubuntu 4.3.2-1ubuntu12) 4.3.2
I will work on tracking this down later, but wondered if anyone had
run into/solved the same problem ... I've never had trouble compiling
these before, perhaps it's some new Ubuntu bug?
ben at bolker-lap2:~/lib/R/pkgs/lme4/pkg$ sudo R CMD INSTALL lme4a
* installing to library ‘/usr/local/lib/R/site-library’
* installing *source* package ‘lme4a’ ...
** libs
g++ -I/usr/share/R/include -I"/usr/lib/R/library/Matrix/include"
-fpic -g -O2 -c ST.cpp -o ST.o
gcc -std=gnu99 -I/usr/share/R/include
-I"/usr/lib/R/library/Matrix/include" -fpic -g -O2 -c init.c -o init.o
g++ -I/usr/share/R/include -I"/usr/lib/R/library/Matrix/include"
-fpic -g -O2 -c lme4utils.cpp -o lme4utils.o
gcc -std=gnu99 -I/usr/share/R/include
-I"/usr/lib/R/library/Matrix/include" -fpic -g -O2 -c local_stubs.c
-o local_stubs.o
g++ -I/usr/share/R/include -I"/usr/lib/R/library/Matrix/include"
-fpic -g -O2 -c mer.cpp -o mer.o
g++ -I/usr/share/R/include -I"/usr/lib/R/library/Matrix/include"
-fpic -g -O2 -c merenv.cpp -o merenv.o
In file included from lme4utils.hpp:3,
from merenv.cpp:3:
/usr/include/c++/4.3/cstdarg:58: error: expected unqualified-id before
‘namespace’
make: *** [merenv.o] Error 1
ERROR: compilation failed for package ‘lme4a’
* removing ‘/usr/local/lib/R/site-library/lme4a’
--
Ben Bolker
Associate professor, Biology Dep't, Univ. of Florida
bolker at ufl.edu / www.zoology.ufl.edu/bolker
GPG key: www.zoology.ufl.edu/bolker/benbolker-publickey.asc
More information about the R-sig-mixed-models
mailing list