Thank-you for your assistance last week - I have eventually got everything compiled.
The trick as you suggested was to remove all the -W flags. I did this by adding '-w' to 'inc/common.mk' this seems to disable all of the other '-W' flags (including the '-Werror' flag which I think caused all the compilation failures. So I now have a working set of tools! Mark Assistant Professor Director Bioinformatics & Information Management Medical Genetics Laboratory Dept. Molecular and Human Genetics Baylor College of Medicine -----Original Message----- From: Hiram Clawson [mailto:[email protected]] Sent: Friday, October 30, 2009 4:07 PM To: Strivens, Mark Andrew Cc: Brian Raney; [email protected] Subject: Re: [Genome] FW: problem compiling bedItemOverlapCount Good Afternoon Mark: Your gcc version is newer than anything we have access to here. Evidently some behavior has changed in ther new gcc that is incompatible with what we are using now. I am certain there are gcc arguments we could give to your compiler to make it ignore these warnings, but I don't know what that would be, and mysteriously I haven't been able to find an answer via google, the usual answer to these types of problems. I note this error report can be found on google in other software packages, but no work-arounds found yet. These files with the errors are some of the oldest files in our source tree. Where one problem exists, probably others do too. Try getting rid of all the -W arguments to the gcc command. --Hiram Strivens, Mark Andrew wrote: > 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 > 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? _______________________________________________ Genome maillist - [email protected] https://lists.soe.ucsc.edu/mailman/listinfo/genome
