Date: Mon, 27 Jun 2005 09:51:37 -0300 From: Elifarley Callado Coelho Cruz <elifarley@gmail.com> To: freebsd-questions@freebsd.org Subject: [sysutils/dar] compilation error - filesystem.cpp:80:27: linux/ext2_fs.h: No such file or directory Message-ID: <6a219efc0506270551736fbf89@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
I'm trying to install sysutils/dar, but compilation fails. What's wrong here ? Error log follows: if /bin/sh /usr/local/bin/libtool15 --tag=3DCXX --mode=3Dcompile c++ -DHAVE_CONFIG_H -I. -I. -I../.. -DHAVE_DECL_GETOPT=3D0 -I/usr/local/include -pipe -funroll-loops -O2 -march=3Dpentiumpro -MT filesystem.lo -MD -MP -MF ".deps/filesystem.Tpo" -c -o filesystem.lo filesystem.cpp; then mv -f ".deps/filesystem.Tpo" ".deps/filesystem.Plo"; else rm -f ".deps/filesystem.Tpo"; exit 1; fi c++ -DHAVE_CONFIG_H -I. -I. -I../.. -DHAVE_DECL_GETOPT=3D0 -I/usr/local/include -pipe -funroll-loops -O2 -march=3Dpentiumpro -MT filesystem.lo -MD -MP -MF .deps/filesystem.Tpo -c filesystem.cpp=20 -fPIC -DPIC -o .libs/filesystem.o filesystem.cpp:80:27: linux/ext2_fs.h: No such file or directory filesystem.cpp: In function `bool libdar::is_nodump_flag_set(libdar::user_interaction&, const libdar::path&, const std::string&)': filesystem.cpp:1554: error: `EXT2_IOC_GETFLAGS' undeclared (first use this function) filesystem.cpp:1554: error: (Each undeclared identifier is reported only once for each function it appears in.) filesystem.cpp:1575: error: `EXT2_NODUMP_FL' undeclared (first use this function) *** Error code 1 Stop in /var/usr-ports-work/volumes/smallFiles/usr-ports/sysutils/dar/work/= dar-2.2.2/src/libdar. *** Error code 1 After some examination, I found this: filesystem.cpp: #if LIBDAR_NODUMP_FEATURE =3D=3D linux #include <linux/ext2_fs.h> #else #if LIBDAR_NODUMP_FEATURE =3D=3D ext2fs #include <ext2fs/ext2_fs.h> How do I make the test 'LIBDAR_NODUMP_FEATURE =3D=3D linux' return true ? Where should I change it ? --=20 There are 10 types of people in the world: Those who understand binary and those who don't
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a219efc0506270551736fbf89>
