Begin forwarded message:
Date: Wed, 20 Aug 2008 14:31:24 -0700 From: JJeffery Small <[EMAIL PROTECTED]> Subject: Problems compiling geeqie-1.0alpha2 Laurent: I once again tried to submit this message to the geeqie-devel list and it once again dropped into the black hole. Someone at SF is supposed to be looking into this. In the meantime I am sending it to you. If you have a clue as to the problem I would appreciate hearing from you. Thanks again for all the good work that is continuing on this program. I look forward to being able to use it one of these days! :-) Regards, -- Jeff C. Jeffery Small CJSA LLC 206-232-3338 [EMAIL PROTECTED] 7000 E Mercer Way, Mercer Island, WA 98040 Original message follows: ------------------------------------------------------------------------------- Due to a heavy work load, I have not had a chance to follow along with the recent geeqie development. Today I downloaded the geeqie-1.0alpha2 source and attempted to compile it on my Solaris 10 SPARC system using the native Sun version 5.9 compilers. Things proceeded well until view_dir.c where I get the following: cc -DHAVE_CONFIG_H -I. -I.. -I[...] -c view_dir.c "editors.h", line 36: warning: enumerator value overflows INT_MAX (2147483647) "view_dir.c", line 149: void function cannot return value "view_dir.c", line 150: void function cannot return value cc: acomp failed for view_dir.c *** Error code 2 make: Fatal error: Command failed for target `view_dir.o' In view_dir.c we find: 145 void vd_refresh(ViewDir *vd) 146 { 147 switch(vd->type) 148 { 149 case DIRVIEW_LIST: return vdlist_refresh(vd); 150 case DIRVIEW_TREE: return vdtree_refresh(vd); 151 } 152 } And when examining view_dir_list.[ch] and view_dir_tree.[ch] we do indeed find that vdlist_refresh() and vdtree_refresh() are void functions. So how is this compiling for anyone on any platform?? Is anyone else working on a SPARC compile? Am I missing something obvious? In addition to this error, I also get a number of the following warnings which should probably be fixed: warning: assignment type mismatch: warning: argument #n is incompatible with prototype: warning: enumerator value overflows INT_MAX (2147483647) warning: pointer to void or function used in arithmetic warning: initialization type mismatch warning: operands have incompatible pointer types: op "==" warning: statement not reached If I get this to compile successfully, I would be happy to send the remaining compiler warning to anyone who was interested in reviewing them. Send me an email if you are the person who would like to receive them! :-) Regards, -- Jeff C. Jeffery Small CJSA LLC 206-232-3338 [EMAIL PROTECTED] 7000 E Mercer Way, Mercer Island, WA 98040 -- Laurent MONIN aka Zas ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Geeqie-devel mailing list Geeqie-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geeqie-devel