Hi again, I am trying to building ff on solaris x64 10u7, and failed with the following result:
-bash-3.00$ R CMD INSTALL ff * installing to library '/opt/R/R2-11-1/lib/R/library' * installing *source* package 'ff' ... checking for gcc... /opt/sunstudio12.1/bin/cc -m64 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... no checking whether /opt/sunstudio12.1/bin/cc -m64 accepts -g... yes checking for /opt/sunstudio12.1/bin/cc -m64 option to accept ISO C89... none needed checking how to run the C preprocessor... /opt/sunstudio12.1/bin/cc -m64 -E checking for grep that handles long lines and -e... /usr/sfw/bin/ggrep checking for egrep... /usr/sfw/bin/ggrep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking sys/vfs.h usability... yes checking sys/vfs.h presence... yes checking for sys/vfs.h... yes checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking for sys/stat.h... (cached) yes checking for unistd.h... (cached) yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/mount.h usability... yes checking sys/mount.h presence... yes checking for sys/mount.h... yes checking for struct statfs.f_iosize... no checking sys/statfs.h usability... yes checking sys/statfs.h presence... yes checking for sys/statfs.h... yes checking for struct statfs.f_iosize... (cached) no checking sys/statvfs.h usability... yes checking sys/statvfs.h presence... yes checking for sys/statvfs.h... yes checking for off_t... yes checking for size_t... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for _LARGEFILE_SOURCE value needed for large files... no checking for fseeko... yes configure: creating ./config.status config.status: creating src/ac_config.h ** libs /opt/sunstudio12.1/bin/CC -m64 -lCrun -I/opt/R/R2-11-1/lib/R/include -I/opt/R/R2-11-1/include -I/usr/sfw/include -I/opt/sfw/include -I/usr/openwin/share/include -KPIC -xO3 -c Error.cpp -o Error.o /opt/sunstudio12.1/bin/CC -m64 -lCrun -I/opt/R/R2-11-1/lib/R/include -I/opt/R/R2-11-1/include -I/usr/sfw/include -I/opt/sfw/include -I/usr/openwin/share/include -KPIC -xO3 -c FSInfo_statfs.cpp -o FSInfo_statfs.o "FSInfo_statfs.cpp", line 50: Error: Could not find a match for statfs(const char*, statfs*) needed in ff::getFSInfo(const char*, ff::FSInfo&). "FSInfo_statfs.cpp", line 52: Error: f_bavail is not a member of statfs. "FSInfo_statfs.cpp", line 53: Warning: The variable sfs has not yet been assigned a value. 2 Error(s) and 1 Warning(s) detected. *** Error code 2 make: Fatal error: Command failed for target `FSInfo_statfs.o' ERROR: compilation failed for package 'ff' * removing '/opt/R/R2-11-1/lib/R/library/ff' -bash-3.00$ [[alternative HTML version deleted]] ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel