http://sourceforge.net/projects/jfsrec/ Linux thinkpad 2.6.32-42-generic #95-Ubuntu SMP Wed Jul 25 15:57:54 UTC 2012 i686 GNU/Linux First I installed this: sudo apt-get install gcc autoconf automake boost-build libboost-dev libboost-regex-dev libboost-filesystem-dev libboost-program-options-dev root@thinkpad:~/jfsrec/jfsrec# ./configure checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes 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 for style of include used by make... GNU checking dependency style of g++... gcc3 checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for gcc... gcc checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... gcc3 checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking how to run the C preprocessor... gcc -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 dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking how to run the C++ preprocessor... g++ -E checking for g77... no checking for xlf... no checking for f77... no checking for frt... no checking for pgf77... no checking for cf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for xlf90... no checking for f90... no checking for pgf90... no checking for pghpf... no checking for epcf90... no checking for gfortran... no checking for g95... no checking for xlf95... no checking for f95... no checking for fort... no checking for ifort... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for ftn... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/nm -B output from gcc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking for correct ltmain.sh version... yes checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ static flag -static works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate appending configuration tag "F77" to libtool checking boost/progress.hpp usability... yes checking boost/progress.hpp presence... yes checking for boost/progress.hpp... yes checking boost/regex.hpp usability... yes checking boost/regex.hpp presence... yes checking for boost/regex.hpp... yes checking boost/filesystem/path.hpp usability... yes checking boost/filesystem/path.hpp presence... yes checking for boost/filesystem/path.hpp... yes checking boost/program_options.hpp usability... yes checking boost/program_options.hpp presence... yes checking for boost/program_options.hpp... yes configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: executing depfiles commands root@thinkpad:~/jfsrec/jfsrec# make cd . && /bin/bash /root/jfsrec/jfsrec/missing --run automake-1.9 --foreign configure.in:8: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works, ...): suspicious cache-id, must contain _cv_ to be cached ../../lib/autoconf/general.m4:1998: AC_CACHE_VAL is expanded from... ../../lib/autoconf/general.m4:2019: AC_CACHE_CHECK is expanded from... aclocal.m4:664: AC_LIBTOOL_COMPILER_OPTION is expanded from... aclocal.m4:4889: AC_LIBTOOL_PROG_COMPILER_PIC is expanded from... aclocal.m4:2737: _LT_AC_LANG_C_CONFIG is expanded from... aclocal.m4:2736: AC_LIBTOOL_LANG_C_CONFIG is expanded from... aclocal.m4:86: AC_LIBTOOL_SETUP is expanded from... aclocal.m4:66: _AC_PROG_LIBTOOL is expanded from... aclocal.m4:31: AC_PROG_LIBTOOL is expanded from... aclocal.m4:6389: AM_PROG_LIBTOOL is expanded from... configure.in:8: the top level configure.in:8: warning: AC_CACHE_VAL(lt_prog_compiler_static_works, ...): suspicious cache-id, must contain _cv_ to be cached aclocal.m4:709: AC_LIBTOOL_LINKER_OPTION is expanded from... configure.in:8: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_CXX, ...): suspicious cache-id, must contain _cv_ to be cached aclocal.m4:2814: _LT_AC_LANG_CXX_CONFIG is expanded from... aclocal.m4:2813: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from... aclocal.m4:1873: _LT_AC_TAGCONFIG is expanded from... configure.in:8: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_CXX, ...): suspicious cache-id, must contain _cv_ to be cached configure.in:8: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_F77, ...): suspicious cache-id, must contain _cv_ to be cached aclocal.m4:3977: _LT_AC_LANG_F77_CONFIG is expanded from... aclocal.m4:3976: AC_LIBTOOL_LANG_F77_CONFIG is expanded from... configure.in:8: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_F77, ...): suspicious cache-id, must contain _cv_ to be cached configure.in:8: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_GCJ, ...): suspicious cache-id, must contain _cv_ to be cached aclocal.m4:4079: _LT_AC_LANG_GCJ_CONFIG is expanded from... aclocal.m4:4078: AC_LIBTOOL_LANG_GCJ_CONFIG is expanded from... configure.in:8: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_GCJ, ...): suspicious cache-id, must contain _cv_ to be cached cd . && /bin/bash /root/jfsrec/jfsrec/missing --run autoconf configure.in:8: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works, ...): suspicious cache-id, must contain _cv_ to be cached ../../lib/autoconf/general.m4:1998: AC_CACHE_VAL is expanded from... ../../lib/autoconf/general.m4:2019: AC_CACHE_CHECK is expanded from... aclocal.m4:664: AC_LIBTOOL_COMPILER_OPTION is expanded from... aclocal.m4:4889: AC_LIBTOOL_PROG_COMPILER_PIC is expanded from... aclocal.m4:2737: _LT_AC_LANG_C_CONFIG is expanded from... aclocal.m4:2736: AC_LIBTOOL_LANG_C_CONFIG is expanded from... aclocal.m4:86: AC_LIBTOOL_SETUP is expanded from... aclocal.m4:66: _AC_PROG_LIBTOOL is expanded from... aclocal.m4:31: AC_PROG_LIBTOOL is expanded from... aclocal.m4:6389: AM_PROG_LIBTOOL is expanded from... configure.in:8: the top level configure.in:8: warning: AC_CACHE_VAL(lt_prog_compiler_static_works, ...): suspicious cache-id, must contain _cv_ to be cached aclocal.m4:709: AC_LIBTOOL_LINKER_OPTION is expanded from... configure.in:8: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_CXX, ...): suspicious cache-id, must contain _cv_ to be cached aclocal.m4:2814: _LT_AC_LANG_CXX_CONFIG is expanded from... aclocal.m4:2813: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from... aclocal.m4:1873: _LT_AC_TAGCONFIG is expanded from... configure.in:8: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_CXX, ...): suspicious cache-id, must contain _cv_ to be cached configure.in:8: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_F77, ...): suspicious cache-id, must contain _cv_ to be cached aclocal.m4:3977: _LT_AC_LANG_F77_CONFIG is expanded from... aclocal.m4:3976: AC_LIBTOOL_LANG_F77_CONFIG is expanded from... configure.in:8: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_F77, ...): suspicious cache-id, must contain _cv_ to be cached configure.in:8: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_GCJ, ...): suspicious cache-id, must contain _cv_ to be cached aclocal.m4:4079: _LT_AC_LANG_GCJ_CONFIG is expanded from... aclocal.m4:4078: AC_LIBTOOL_LANG_GCJ_CONFIG is expanded from... configure.in:8: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_GCJ, ...): suspicious cache-id, must contain _cv_ to be cached /bin/bash ./config.status --recheck running CONFIG_SHELL=/bin/bash /bin/bash ./configure --no-create --no-recursion checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for g++... g++ checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for style of include used by make... GNU checking dependency style of g++... gcc3 checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for gcc... gcc checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... gcc3 checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking how to run the C preprocessor... gcc -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 dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking how to run the C++ preprocessor... g++ -E checking for g77... no checking for xlf... no checking for f77... no checking for frt... no checking for pgf77... no checking for cf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for xlf90... no checking for f90... no checking for pgf90... no checking for pghpf... no checking for epcf90... no checking for gfortran... no checking for g95... no checking for xlf95... no checking for f95... no checking for fort... no checking for ifort... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for ftn... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/nm -B output from gcc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking for correct ltmain.sh version... yes checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ static flag -static works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate appending configuration tag "F77" to libtool checking boost/progress.hpp usability... yes checking boost/progress.hpp presence... yes checking for boost/progress.hpp... yes checking boost/regex.hpp usability... yes checking boost/regex.hpp presence... yes checking for boost/regex.hpp... yes checking boost/filesystem/path.hpp usability... yes checking boost/filesystem/path.hpp presence... yes checking for boost/filesystem/path.hpp... yes checking boost/program_options.hpp usability... yes checking boost/program_options.hpp presence... yes checking for boost/program_options.hpp... yes configure: creating ./config.status /bin/bash ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands make all-recursive make[1]: Betrete Verzeichnis '/root/jfsrec/jfsrec' Making all in src make[2]: Betrete Verzeichnis '/root/jfsrec/jfsrec/src' if g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -MT jfsrec.o -MD -MP -MF ".deps/jfsrec.Tpo" -c -o jfsrec.o jfsrec.cpp; \ then mv -f ".deps/jfsrec.Tpo" ".deps/jfsrec.Po"; else rm -f ".deps/jfsrec.Tpo"; exit 1; fi if g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -MT options.o -MD -MP -MF ".deps/options.Tpo" -c -o options.o options.cpp; \ then mv -f ".deps/options.Tpo" ".deps/options.Po"; else rm -f ".deps/options.Tpo"; exit 1; fi if g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -MT inodevector.o -MD -MP -MF ".deps/inodevector.Tpo" -c -o inodevector.o inodevector.cpp; \ then mv -f ".deps/inodevector.Tpo" ".deps/inodevector.Po"; else rm -f ".deps/inodevector.Tpo"; exit 1; fi if g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -MT inode.o -MD -MP -MF ".deps/inode.Tpo" -c -o inode.o inode.cpp; \ then mv -f ".deps/inode.Tpo" ".deps/inode.Po"; else rm -f ".deps/inode.Tpo"; exit 1; fi if g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -MT dirinode.o -MD -MP -MF ".deps/dirinode.Tpo" -c -o dirinode.o dirinode.cpp; \ then mv -f ".deps/dirinode.Tpo" ".deps/dirinode.Po"; else rm -f ".deps/dirinode.Tpo"; exit 1; fi if g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -MT fileinode.o -MD -MP -MF ".deps/fileinode.Tpo" -c -o fileinode.o fileinode.cpp; \ then mv -f ".deps/fileinode.Tpo" ".deps/fileinode.Po"; else rm -f ".deps/fileinode.Tpo"; exit 1; fi fileinode.cpp: In member function ‘void jfsrec::FileInode::save_file()’: fileinode.cpp:230: warning: ignoring return value of ‘int ftruncate(int, __off_t)’, declared with attribute warn_unused_result if g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -MT inodefactory.o -MD -MP -MF ".deps/inodefactory.Tpo" -c -o inodefactory.o inodefactory.cpp; \ then mv -f ".deps/inodefactory.Tpo" ".deps/inodefactory.Po"; else rm -f ".deps/inodefactory.Tpo"; exit 1; fi if g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -MT device.o -MD -MP -MF ".deps/device.Tpo" -c -o device.o device.cpp; \ then mv -f ".deps/device.Tpo" ".deps/device.Po"; else rm -f ".deps/device.Tpo"; exit 1; fi device.cpp: In destructor ‘jfsrec::Device::~Device()’: device.cpp:36: error: ‘fclose’ was not declared in this scope device.cpp: In member function ‘void jfsrec::Device::open(const boost::filesystem::path&, short unsigned int)’: device.cpp:58: error: ‘fopen64’ was not declared in this scope device.cpp:65: error: ‘fileno’ was not declared in this scope device.cpp: In member function ‘void jfsrec::Device::read_bytes(int64_t, unsigned int, unsigned char*)’: device.cpp:120: error: ‘fseeko64’ was not declared in this scope device.cpp:122: error: ‘rewind’ was not declared in this scope device.cpp:128: error: ‘rewind’ was not declared in this scope device.cpp:133: error: ‘fread’ was not declared in this scope device.cpp: In member function ‘int64_t jfsrec::Device::get_size_bytes() const’: device.cpp:243: error: ‘fileno’ was not declared in this scope device.cpp:253: error: ‘perror’ was not declared in this scope device.cpp:310: error: ‘ftello64’ was not declared in this scope device.cpp:322: error: ‘fseeko64’ was not declared in this scope device.cpp:325: error: ‘fgetc’ was not declared in this scope device.cpp:326: error: ‘EOF’ was not declared in this scope device.cpp:355: error: ‘fseeko64’ was not declared in this scope device.cpp:358: error: ‘fgetc’ was not declared in this scope device.cpp:359: error: ‘EOF’ was not declared in this scope device.cpp:385: error: ‘fseeko64’ was not declared in this scope device.cpp:388: error: ‘fgetc’ was not declared in this scope device.cpp:389: error: ‘EOF’ was not declared in this scope device.cpp:431: error: ‘fseeko64’ was not declared in this scope make[2]: *** [device.o] Fehler 1 make[2]: Verlasse Verzeichnis '/root/jfsrec/jfsrec/src' make[1]: *** [all-recursive] Fehler 1 make[1]: Verlasse Verzeichnis '/root/jfsrec/jfsrec' make: *** [all] Fehler 2 root@thinkpad:~/jfsrec/jfsrec#