GNOME Bugzilla – Bug 92494
solaris8 build fails because of LFS64 defines
Last modified: 2004-12-22 21:47:04 UTC
By default, gnome-vfs defines _LARGEFILE64_SOURCE and _FILE_OFFSET_BITS_64. This causes some standard functions to be defined to <name>64 by the pre-processor. This ends up causing problems, because some structure members in struct GnomeVFSMethod have generic names. In particular, 'truncate' and 'tell' end up redefined to 'truncate64', and 'tell64' resulting in errors like the following. gnome-vfs-cancellable-ops.c: In function 'gnome_vfs_truncate_uri_cancellable': gnome-vfs-cancellable-ops.c:205: structure has no member named `truncate64' gnome-vfs-cancellable-ops.c:205: structure has no member named `truncate64' gnome-vfs-cancellable-ops.c:208: structure has no member named `truncate64' I haven't yet figured out why this doesn't affect linux
while looking in LXR, I found patches for solaris issues for bug 71184 (whose title isn't very helpful). They seem to solve my problem in a cleaner way than the workaround I was trying to use. *** This bug has been marked as a duplicate of 71184 ***