Hi Brian
I tried the check-out, but am still getting prototype errors when compiling libs (I am following instructions step #6 http://genome.ucsc.edu/admin/jk-install.htmlmkdir). Error: it -Wreturn-type -Wuninitialized -I../inc -I../../inc -I../../../inc -I../../../../inc -I../../../../../inc -o gifdecomp.o -c gifdecomp.c cc1: warnings being treated as errors gifdecomp.c: In function 'decoder': gifdecomp.c:274: error: call to function 'gif_out_line' without a real prototype gifdecomp.c:46: note: 'gif_out_line' was declared here gifdecomp.c:345: error: call to function 'gif_out_line' without a real prototype gifdecomp.c:46: note: 'gif_out_line' was declared here gifdecomp.c:357: error: call to function 'gif_out_line' without a real prototype gifdecomp.c:46: note: 'gif_out_line' was declared here make[1]: *** [gifdecomp.o] Error 1 make[1]: Leaving directory `/usr/local/ucsc-temp/jksrc/src/lib' I had previously corrected this error by adding the following line in 'lib/gifcodes.h': int gif_out_line(UBYTE pixels[], int linelen); I seem to be getting a lot of prototype errors - is this something to do with the compile settings or version of GCC I am using? Thanks Mark From: Brian Raney Sent: Friday, October 30, 2009 1:05 PM To: Strivens, Mark Andrew Cc: [email protected] Subject: Re: [Genome] FW: problem compiling bedItemOverlapCount Hey Mark, I suspect, though have been unable to confirm, that this error has been corrected in the most recent version of the bedItemOverlapCount source (v. 1.19). If you could grab this from our archive, and test this in your environment we'd be appreciative. Let me know what you find. Sorry about this, one of our programmers (me ;-) got a little too aggressive with optimizing. I assume you already know how to grab the source, but if not, there are instructions here: http://genomewiki.ucsc.edu/index.php/CVS_kent_source_tree_control Brian On Fri, Oct 30, 2009 at 10:15 AM, Strivens, Mark Andrew <[email protected]> wrote: > I am getting an error > bedItemOverlapCount.c:164: error: cast from pointer to integer of > different size > > Any ideas? > Thanks for your great work! > > Ivan > PS: I am using Ubuntu 9.04 server I am getting the same error message compiling the utils on an OpenSuse 11.0 machine - could this be a GCC problem? OpenSuse 11.0 (x86_64) gcc version 4.3.1 20080507 (prerelease) [gcc-4_3-branch revision 135036] (SUSE Linux) I also get numerous prototyping errors... Thanks Mark Strivens _______________________________________________ Genome maillist - [email protected] https://lists.soe.ucsc.edu/mailman/listinfo/genome _______________________________________________ Genome maillist - [email protected] https://lists.soe.ucsc.edu/mailman/listinfo/genome
