Björn Martensen wrote: >>>>cc1: warnings being treated as errors >>>>tdb.c: In function 'tdb_write': >>>>tdb.c:398: warning: implicit declaration of function 'pwrite' >>>>tdb.c: In function 'tdb_read': >>>>tdb.c:421: warning: implicit declaration of function 'pread' >>>>make[2]: *** [tdb.lo] Error 1 >>>>make[2]: Leaving directory `/home/baze/pkgs/thunar-svn/src/thunar/tdb' >>>>make[1]: *** [all-recursive] Error 1 >>>>make[1]: Leaving directory `/home/baze/pkgs/thunar-svn/src/thunar' >>>>make: *** [all] Error 2 >> >>Meh, all these stupid defines, just to make glibc behave like a real libc... >> >>Please send your config.h and config.log. > > Last time I tried to attach them I got a warning that the 40k maximum > was reached so I uploaded those files.. > > http://stud.fh-wedel.de/~mi2112/config.h > http://stud.fh-wedel.de/~mi2112/config.log
Please try with the attached patch. > Björn Benedikt
Index: configure.in.in =================================================================== --- configure.in.in (revision 22537) +++ configure.in.in (working copy) @@ -130,6 +130,8 @@ posix_madvise (0, 0, POSIX_MADV_DONTNEED); strptime (0, 0, 0); dirfd (0); +pread (0, 0, 0, 0); +pwrite (0, 0, 0, 0); ]) AC_MSG_CHECKING([whether we need _BSD_SOURCE and _XOPEN_SOURCE]) AC_TRY_LINK([#include <sys/types.h>
_______________________________________________ Thunar-dev mailing list [email protected] http://foo-projects.org/mailman/listinfo/thunar-dev
