After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 92494 - solaris8 build fails because of LFS64 defines
solaris8 build fails because of LFS64 defines
Status: RESOLVED DUPLICATE of bug 71184
Product: gnome-vfs
Classification: Deprecated
Component: Build
1.0.5
Other Solaris
: Normal normal
: ---
Assigned To: gnome-vfs maintainers
gnome-vfs maintainers
Depends on:
Blocks:
 
 
Reported: 2002-09-04 16:50 UTC by Chaskiel Grundman
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Chaskiel Grundman 2002-09-04 16:50:54 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
Comment 1 Chaskiel Grundman 2002-09-04 17:00:39 UTC
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 ***