Søren Højsgaard
2008-Dec-02 09:30 UTC
[R] Rcmd build problem: gcc.exe no input files (R.2.8.0 on Win XP)
Building a package using R.2.8.0 on Windows XP gives problems when compiling C code: Trying to run 'rcmd build' on R.2.8.0 on Windows XP gives ... ---------- Making package gRbase ------------ adding build stamp to DESCRIPTION making DLL ... gcc -std=gnu99 -Ic:/Programs/R/current/include ------------------------------------ gcc.exe: no input files make[3]: *** [setops.o] Error 1 make[2]: *** [srcDynlib] Error 2 make[1]: *** [all] Error 2 make: *** [pkg-gRbase] Error 2 *** Installation of gRbase failed *** whereas running 'rcmd build' on R.2.7.1 I get ... ---------- Making package gRbase ------------ adding build stamp to DESCRIPTION making DLL ... gcc -std=gnu99 -Ic:/programs/R/prev/include -O3 -Wall -c setops.c -o setops.o gcc -std=gnu99 -Ic:/programs/R/prev/include -O3 -Wall -c triangmcwh.c -o triangmcwh.o windres --preprocessor="gcc -E -xc -DRC_INVOKED" -I c:/programs/R/prev/include -i gRbase_res.rc -o gRbase_res.o gcc -std=gnu99 -shared -s -o gRbase.dll gRbase.def setops.o triangmcwh.o gRbase_res.o -Lc:/programs/R/prev/bin -Lc:/programs/R/prev/bin -lRlapack -Lc:/programs/R/prev/bin -lRblas -lgfortran -lR ... DLL made - so the old version works fine. Would anyone have an idea what goes wrong? Thanks Søren [[alternative HTML version deleted]]