This issue was addressed in 2009-09. Where did you get your source code? I recommend you look for a way to turn your warnings off.
You might be able to do that with this flag -D_FORTIFY_SOURCE=0 https://wiki.ubuntu.com/CompilerFlags Good Luck! -Galt Dario Boffelli wrote: > I am trying to compile blat from source (blatSrc34) under Ubuntu 9.10 to > make a 64bit executable. > > My MACHTYPE is set by default to x86_64-pc-linux-gnu > > I created the required directory in blatSrc/lib and ~/bin using > 'x86_64-pc-linux-gnu' and compilation failed with two errors. After > searching the mailing list, I manually changed MACHTYPE to x86_64: > > $ echo $MACHTYPE > x86_64 > > but compilation still fails with the following errors: > > cc1: warnings being treated as errors > common.c: In function ‘firstWordInFile’: > common.c:1695: error: ignoring return value of ‘fgets’, declared with > attribute warn_unused_result > make[1]: *** [common.o] Error 1 > make[1]: Leaving directory `/usr/local/src/blatSrc/lib' > make: *** [all] Error 2 > > What should I do to make Blat compile? > > Thank you very much, > Dario Boffelli > _______________________________________________ > Genome maillist - [email protected] > https://lists.soe.ucsc.edu/mailman/listinfo/genome _______________________________________________ Genome maillist - [email protected] https://lists.soe.ucsc.edu/mailman/listinfo/genome
