[Thunar-dev] Experimental Thunar Trash tarball

Benedikt Meurer benedikt.meurer at unix-ag.uni-siegen.de
Tue Jul 25 19:59:44 CEST 2006

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...
>>>>>>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


in thunar-file.c right before the line

#include <time.h>

> Björn


More information about the Thunar-dev mailing list