On Wed, Jun 18, 2008 at 12:07:07AM -0500, ashley willis wrote: > i'm running gentoo on both an amd64 system and a crusoe laptop, and i > can't get the GUI (version 0.12) compiled on either due to problems with > libtar. is there a certain version of libtar needed? is there another > linux distro that the GUI works on, which can be installed in vmware? i > downloaded vmware for free (i read the barry notes!), but i can't get > debian installed.
Hi Ashley, Sorry for the delay in responding. Gentoo has a bug in their libtar-1.2.11-memleak.patch, similar to the bugs introduced in the Mandriva and Archlinux distros. I believe this bug has been fixed in those distros, but apparently not in Gentoo. At the very end of the patch you'll see: --- libtar-1.2.11-orig/lib/libtar.h +++ libtar-1.2.11/lib/libtar.h @@ -63,9 +63,9 @@ /***** handle.c ************************************************************/ typedef int (*openfunc_t)(const char *, int, ...); -typedef int (*closefunc_t)(int); -typedef ssize_t (*readfunc_t)(int, void *, size_t); -typedef ssize_t (*writefunc_t)(int, const void *, size_t); +typedef int (*closefunc_t)(long); +typedef ssize_t (*readfunc_t)(long, void *, size_t); +typedef ssize_t (*writefunc_t)(long, const void *, size_t); typedef struct { This is incorrect, as it changes the open/close prototypes to be incompatible with the same open/close prototypes in the standard C libs (check the man pages). If you remove this section from the gentoo patch, Barry will be happy. Libtar's own examples might not be happy though, on 64bit. The library itself should be fine. Hope that helps, - Chris ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Barry-devel mailing list Barry-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/barry-devel