On Wed, 2009-12-09 at 16:23 +0100, Jean-Pierre André wrote: > Hi Dominique, > > First, thank you for making this port to OpenSuse, > I hope ntfs-3g will meet your expectations. > > I have no immediate explanation to the errors you > get. There seems to be a problem with the "const" > qualifier in function prototypes. Just an example on > a function unlikely to conflict with some library : > > secaudit.c:6618: error: conflicting types for 'dumpalloc' > secaudit.h:714: note: previous declaration of 'dumpalloc' was here > The mentioned lines are (in the order they appear). > void dumpalloc(const char*); > void dumpalloc(const char *txt)
I found why autogen.sh did not work in my chroot (pkg-config not installed, thus an m4 macro missing). So I now patched configure.ac and removed AC_CONST_C from our build. According autoconf documentation http://www.gnu.org/software/hello/manual/autoconf/C-Compiler.html#AC_C_CONST this macro should no longer be used (apparently all compilers should be able to handle it correctly by now). Please let me know if there are any chances to get this patch in the upstream codebase as well. Best regards, Dominique
Index: ntfs-3g-2009.11.14/configure.ac =================================================================== --- ntfs-3g-2009.11.14.orig/configure.ac +++ ntfs-3g-2009.11.14/configure.ac @@ -273,7 +273,6 @@ AC_C_BIGENDIAN( ] , ) -AC_C_CONST AC_C_INLINE AC_TYPE_OFF_T AC_TYPE_SIZE_T
------------------------------------------------------------------------------ Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev
_______________________________________________ ntfs-3g-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ntfs-3g-devel
