[Thunar-dev] compilation error
Jean-François Wauthy
pollux at xfce.org
Sat Aug 6 18:05:05 CEST 2005
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
--
Jean-François Wauthy <pollux at xfce.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch
Type: text/x-patch
Size: 533 bytes
Desc: not available
URL: <http://mail.xfce.org/pipermail/thunar-dev/attachments/20050806/ebd4a1af/attachment.bin>
-------------- 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/ebd4a1af/attachment.pgp>
More information about the Thunar-dev
mailing list