[Thunar-dev] compilation error

Jean-François Wauthy pollux at xfce.org
Sat Aug 6 18:07:32 CEST 2005


i forgot to say that HAVE_POSIX_MADVISE was define but it couldn't find
posix_madvise ...

Le samedi 06 août 2005 à 18:05 +0200, Jean-François Wauthy a écrit :
> Hey benny
> 
> i just tried to compile lastest svn thunar and got that error: 
> 
> thunar-vfs-mime-cache.c: In function `thunar_vfs_mime_cache_new':
> thunar-vfs-mime-cache.c:487: warning: implicit declaration of function
> `posix_madvise'
> thunar-vfs-mime-cache.c:487: error: `POSIX_MADV_WILLNEED' undeclared
> (first use in this function)
> thunar-vfs-mime-cache.c:487: error: (Each undeclared identifier is
> reported only  once
> thunar-vfs-mime-cache.c:487: error: for each function it appears in.)
> make[1]: *** [libthunar_vfs_la-thunar-vfs-mime-cache.lo] Erreur 1
> make[1]: Leaving directory `/home/jf/Xfce/SVN/thunar/trunk/thunar-vfs'
> make: *** [all] Erreur 2
> 
> using the attached patch solved it but i don't know enough about posix
> functions to be sure it's correct...

> cheers
> 
> _______________________________________________
> Thunar-dev mailing list
> Thunar-dev at xfce.org
> http://foo-projects.org/mailman/listinfo/thunar-dev
-- 
Jean-François Wauthy <pollux at xfce.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://mail.xfce.org/pipermail/thunar-dev/attachments/20050806/2b5ce91b/attachment.pgp>


More information about the Thunar-dev mailing list