[Rprotobuf-yada] Build errors

Dirk Eddelbuettel edd at debian.org
Wed Nov 11 21:20:45 CET 2009


edd at ron:~/svn/rprotobuf> R CMD INSTALL pkg
* installing to library ‘/usr/local/lib/R/site-library’
* installing *source* package ‘RProtoBuf’ ...
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking for R... yes
checking for Rscript... yes
checking for protoc... yes
checking for ProtoBuf headers and library... yes
configure: creating ./config.status
config.status: creating src/Makevars
Completed configuration and ready to build.
** libs
g++ -I/usr/share/R/include -I/usr/local/lib/R/site-library/Rcpp/lib -I/usr/include     -fpic  -g -O3 -Wall -pipe -c mutators.cpp -o mutators.o
mutators.cpp: In function ‘SEXPREC* rprotobuf::setMessageField(SEXPREC*, SEXPREC*, SEXPREC*)’:
mutators.cpp:198: warning: enumeration value ‘TYPE_DOUBLE’ not handled in switch
mutators.cpp:198: warning: enumeration value ‘TYPE_FLOAT’ not handled in switch
mutators.cpp:198: warning: enumeration value ‘TYPE_INT64’ not handled in switch
mutators.cpp:198: warning: enumeration value ‘TYPE_UINT64’ not handled in switch
mutators.cpp:198: warning: enumeration value ‘TYPE_INT32’ not handled in switch
mutators.cpp:198: warning: enumeration value ‘TYPE_FIXED64’ not handled in switch
mutators.cpp:198: warning: enumeration value ‘TYPE_FIXED32’ not handled in switch
mutators.cpp:198: warning: enumeration value ‘TYPE_BOOL’ not handled in switch
mutators.cpp:198: warning: enumeration value ‘TYPE_STRING’ not handled in switch
mutators.cpp:198: warning: enumeration value ‘TYPE_BYTES’ not handled in switch
mutators.cpp:198: warning: enumeration value ‘TYPE_UINT32’ not handled in switch
mutators.cpp:198: warning: enumeration value ‘TYPE_SFIXED32’ not handled in switch
mutators.cpp:198: warning: enumeration value ‘TYPE_SFIXED64’ not handled in switch
mutators.cpp:198: warning: enumeration value ‘TYPE_SINT32’ not handled in switch
mutators.cpp:198: warning: enumeration value ‘TYPE_SINT64’ not handled in switch
mutators.cpp:198: warning: enumeration value ‘MAX_TYPE’ not handled in switch
mutators.cpp:312: error: ‘const class google::protobuf::Reflection’ has no member named ‘RemoveLast’
mutators.cpp:175: warning: unused variable ‘desc’
make: *** [mutators.o] Error 1
ERROR: compilation failed for package ‘RProtoBuf’
* removing ‘/usr/local/lib/R/site-library/RProtoBuf’
* restoring previous ‘/usr/local/lib/R/site-library/RProtoBuf’
edd at ron:~/svn/rprotobuf> 

I'll take a peek.

Dirk

-- 
Three out of two people have difficulties with fractions.


More information about the Rprotobuf-yada mailing list