Benedikt Meurer wrote: > Björn Martensen wrote: >>>>>>>>>>> thunar-file.c: In function thunar_file_get_deletion_date: >>>>>>>>>>> thunar-file.c:1361: warning: implicit declaration of function >>>>>>>>>>> strptime >>>>>>>>>>> thunar-file.c:1361: warning: comparison between pointer and integer >>>>>>>>>>> make[3]: *** [Thunar-thunar-file.o] Error 1 >>>>>>>>> Try with >>>>>>>>> >>>>>>>>> env CFLAGS="-D_XOPEN_SOURCE" ./autogen.sh ... >>>>>>>> Hmm.. I don't even have the autogen.sh file in the tarball... >>>>>>> Err... >>>>>>> >>>>>>> env CPPFLAGS="-D_XOPEN_SOURC" ./configure... >>>>>> That didn't help either. >>>>>> I can build from svn though... >>>>>> I don't really want trash support anyway, but I'd like to help test it ;) >>>>> SVN is pretty outdated now. :-) >>>>> >>>>> What system do you run on? According to the man pages of the various >>>>> systems, strptime() should be available (glibc2 needs _XOPEN_SOURCE tho). >>> Perhaps he reproduced your "_XOPEN_SOURC" (note missing "E") typo above? >> >> Indeed.. >> however, if I use _XOPEN_SOURCE the make process ends very quick with >> >> <command line>:1:1: error: "_XOPEN_SOURCE" redefined >> <command line>:1:1: error: this is the location of the previous definition > > Meh, glibc. Try to add > > #ifndef _XOPEN_SOURCE > #define _XOPEN_SOURCE > #endif > > in thunar-file.c right before the line > > #include <time.h>
That doesn't solve it aswell :( Björn
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Thunar-dev mailing list [email protected] http://foo-projects.org/mailman/listinfo/thunar-dev
