GNOME Bugzilla – Bug 398405
missing debug symbols needed for compatibility
Last modified: 2007-08-27 10:24:46 UTC
See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=407311 Gamin misses some debugging symbols that legacy FAM programs have linked in, causing them not to be buildable or runnable. diff -ur gamin-0.1.8/libgamin/fam.h asdf/libgamin/fam.h --- gamin-0.1.8/libgamin/fam.h 2005-03-15 06:01:03.000000000 -0600 +++ asdf/libgamin/fam.h 2007-01-16 21:09:52.000000000 -0600 @@ -190,6 +190,18 @@ extern int FAMErrno; /** + * FAMDebugLevel + * + * Currently unimplemented as in the SGI FAM. Exists only for + * compatibility. + */ +extern int FAMDebugLevel (FAMConnection *fc, + int level); +#define FAM_DEBUG_OFF 0 +#define FAM_DEBUG_ON 1 +#define FAM_DEBUG_VERBOSE 2 + +/** * FamErrList: * * In case FAMErrno is set, FAMErrlist is a global string array indexed diff -ur gamin-0.1.8/libgamin/gam_api.c asdf/libgamin/gam_api.c --- gamin-0.1.8/libgamin/gam_api.c 2006-10-25 11:13:43.000000000 -0500 +++ asdf/libgamin/gam_api.c 2007-01-16 20:34:25.000000000 -0600 @@ -1529,4 +1529,11 @@ } return(ret); } + +/* This doesn't do anything in FAM either, here only for completeness */ +int +FAMDebugLevel(FAMConnection *fc, int level) +{ + return(1); +} #endif
Anyone against committing this patch?
The problem is that it's like advertizing a non working feature. If the program call this it probably expect it to work, no ? It's a bit fishy ... Plus the reporter does not explain what kind of program tries to use ti, so I'm wondering a bit. Daniel
Hum, on a second look FAM actually did that advertizing of a non working feature :-( I didn't applied the patch as-is as it didn't followed the commenting conventions of gamin, but it's in SVN now, thanks, Okay