GNOME Bugzilla – Bug 315001
error: structure has no member named `close'
Last modified: 2005-10-05 08:49:47 UTC
Version details: gnome-vfs-2.11.92 Distribution/Version: archlinux current im using the current garnome-hackers to build gnome. my system is an up to date Arch Linux box. when compiling gnome-vfs-2.11.92 i came across this error, smb-method.c: In function `do_close': smb-method.c:1489: error: structure has no member named `close'. the samba version i have is 3.0.20. when looking at the samba header file libsmbclient.h, the closest thing i saw to `do_close' or `close' was `close_fn'. i replaced both with `close_fn' and continued to compile and install.
I made a patch to fix this problem.
Created attachment 51703 [details] [review] samba 3.0.20+ patch patch to gracefully handle the change of naming of the close function in samba's context structure
*** Bug 315136 has been marked as a duplicate of this bug. ***
i have tried this patch on gnome-vfs-2.12.0 in garnome and it works :) thanks!
adding build keyword.
Updating bug information, milestoning for next GNOME 2.12 release.
Why did upstream change the name of the function? Maybe the name change should be reverted upstream.
2.12.1 is due on the coming monday (Oct. 3rd). It would be really good to get this in. What's currently blocking it? I seriously doubt that samba is going to change their structure....if it was changed it meant that they felt it should be changed.
I commited the patch, and will release 2.12.1.1 with it.