[Thunar-dev] Experimental Thunar Trash tarball

Björn Martensen bjoern.martensen at gmail.com
Tue Jul 25 20:39:47 CEST 2006



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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
URL: <http://mail.xfce.org/pipermail/thunar-dev/attachments/20060725/a08e83c3/attachment.pgp>


More information about the Thunar-dev mailing list