I am not an advanced C user. Can't get BWA to compile on Ubuntu 9.04
:~/nextgen/tools/bwa-0.5.5$ make
make[1]: Entering directory `/csbiohome/darshan/nextgen/tools/bwa-0.5.5'
make[1]: Nothing to be done for `lib'.
make[1]: Leaving directory `/csbiohome/darshan/nextgen/tools/bwa-0.5.5'
make[1]: Entering directory `/csbiohome/darshan/nextgen/tools/bwa-0.5.5/bwt_gen'
gcc -c -g -Wall -O2 -m64 -DHAVE_PTHREAD bwt_gen.c -o bwt_gen.o
bwt_gen.c: In function ‘BWTIncConstructFromPacked’:
bwt_gen.c:1416: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
bwt_gen.c:1432: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
bwt_gen.c:1447: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
gcc -c -g -Wall -O2 -m64 -DHAVE_PTHREAD QSufSort.c -o QSufSort.o
ar -cru libbwtgen.a bwt_gen.o QSufSort.o
make[1]: Leaving directory `/csbiohome/darshan/nextgen/tools/bwa-0.5.5/bwt_gen'
gcc -c -g -Wall -O2 -m64 -DHAVE_PTHREAD utils.c -o utils.o
gcc -c -g -Wall -O2 -m64 -DHAVE_PTHREAD bwt.c -o bwt.o
gcc -c -g -Wall -O2 -m64 -DHAVE_PTHREAD bwtio.c -o bwtio.o
bwtio.c: In function ‘bwt_restore_sa’:
bwtio.c:36: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
bwtio.c:38: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
bwtio.c:39: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
bwtio.c:40: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
bwtio.c:47: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
bwtio.c: In function ‘bwt_restore_bwt’:
bwtio.c:62: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
bwtio.c:63: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
bwtio.c:64: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
gcc -c -g -Wall -O2 -m64 -DHAVE_PTHREAD bwtaln.c -o bwtaln.o
gcc -c -g -Wall -O2 -m64 -DHAVE_PTHREAD bwtgap.c -o bwtgap.o
gcc -c -g -Wall -O2 -m64 -DHAVE_PTHREAD is.c -o is.o
gcc -c -g -Wall -O2 -m64 -DHAVE_PTHREAD bntseq.c -o bntseq.o
bntseq.c: In function ‘bns_restore’:
bntseq.c:99: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result
bntseq.c:107: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result
bntseq.c:115: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result
bntseq.c:125: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result
bntseq.c:131: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result
gcc -c -g -Wall -O2 -m64 -DHAVE_PTHREAD bwtmisc.c -o bwtmisc.o
bwtmisc.c: In function ‘bwa_seq_len’:
bwtmisc.c:51: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
bwtmisc.c: In function ‘bwt_pac2bwt’:
bwtmisc.c:72: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
bwtmisc.c: In function ‘bwa_pac_rev_core’:
bwtmisc.c:171: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
bwtmisc.c: In function ‘bwa_pac2cspac_core’:
bwtmisc.c:209: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
gcc -c -g -Wall -O2 -m64 -DHAVE_PTHREAD bwtindex.c -o bwtindex.o
gcc -c -g -Wall -O2 -m64 -DHAVE_PTHREAD stdaln.c -o stdaln.o
gcc -c -g -Wall -O2 -m64 -DHAVE_PTHREAD simple_dp.c -o simple_dp.o
gcc -c -g -Wall -O2 -m64 -DHAVE_PTHREAD bwaseqio.c -o bwaseqio.o
gcc -c -g -Wall -O2 -m64 -DHAVE_PTHREAD bwase.c -o bwase.o
bwase.c: In function ‘bwa_refine_gapped’:
bwase.c:235: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
bwase.c:241: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
bwase.c: In function ‘bwa_sai2sam_se_core’:
bwase.c:432: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
bwase.c:444: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
bwase.c:449: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
bwase.c: In function ‘bwa_print_all_hits’:
bwase.c:514: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
bwase.c:521: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
bwase.c:526: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
gcc -c -g -Wall -O2 -m64 -DHAVE_PTHREAD bwape.c -o bwape.o
bwape.c: In function ‘bwa_cal_pac_pos_pe’:
bwape.c:259: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
bwape.c:263: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
bwape.c: In function ‘bwa_paired_sw’:
bwape.c:446: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
bwape.c: In function ‘bwa_sai2sam_pe_core’:
bwape.c:558: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
bwape.c:559: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
bwape.c:571: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
gcc -c -g -Wall -O2 -m64 -DHAVE_PTHREAD kstring.c -o kstring.o
gcc -c -g -Wall -O2 -m64 -DHAVE_PTHREAD cs2nt.c -o cs2nt.o
gcc -c -g -Wall -O2 -m64 -DHAVE_PTHREAD bwtsw2_core.c -o bwtsw2_core.o
gcc -c -g -Wall -O2 -m64 -DHAVE_PTHREAD bwtsw2_main.c -o bwtsw2_main.o
gcc -c -g -Wall -O2 -m64 -DHAVE_PTHREAD bwtsw2_aux.c -o bwtsw2_aux.o
bwtsw2_aux.c: In function ‘bsw2_aln’:
bwtsw2_aux.c:606: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
gcc -c -g -Wall -O2 -m64 -DHAVE_PTHREAD bwt_lite.c -o bwt_lite.o
gcc -c -g -Wall -O2 -m64 -DHAVE_PTHREAD bwtsw2_chain.c -o bwtsw2_chain.o
gcc -c -g -Wall -O2 -m64 -DHAVE_PTHREAD main.c -o main.o
gcc -g -Wall -O2 -m64 -DHAVE_PTHREAD utils.o bwt.o bwtio.o bwtaln.o bwtgap.o is.o bntseq.o bwtmisc.o bwtindex.o stdaln.o simple_dp.o bwaseqio.o bwase.o bwape.o kstring.o cs2nt.o bwtsw2_core.o bwtsw2_main.o bwtsw2_aux.o bwt_lite.o bwtsw2_chain.o main.o -o bwa -lm -lz -lpthread -Lbwt_gen -lbwtgen
:~/nextgen/tools/bwa-0.5.5$ make
make[1]: Entering directory `/csbiohome/darshan/nextgen/tools/bwa-0.5.5'
make[1]: Nothing to be done for `lib'.
make[1]: Leaving directory `/csbiohome/darshan/nextgen/tools/bwa-0.5.5'
make[1]: Entering directory `/csbiohome/darshan/nextgen/tools/bwa-0.5.5/bwt_gen'
gcc -c -g -Wall -O2 -m64 -DHAVE_PTHREAD bwt_gen.c -o bwt_gen.o
bwt_gen.c: In function ‘BWTIncConstructFromPacked’:
bwt_gen.c:1416: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
bwt_gen.c:1432: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
bwt_gen.c:1447: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
gcc -c -g -Wall -O2 -m64 -DHAVE_PTHREAD QSufSort.c -o QSufSort.o
ar -cru libbwtgen.a bwt_gen.o QSufSort.o
make[1]: Leaving directory `/csbiohome/darshan/nextgen/tools/bwa-0.5.5/bwt_gen'
gcc -c -g -Wall -O2 -m64 -DHAVE_PTHREAD utils.c -o utils.o
gcc -c -g -Wall -O2 -m64 -DHAVE_PTHREAD bwt.c -o bwt.o
gcc -c -g -Wall -O2 -m64 -DHAVE_PTHREAD bwtio.c -o bwtio.o
bwtio.c: In function ‘bwt_restore_sa’:
bwtio.c:36: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
bwtio.c:38: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
bwtio.c:39: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
bwtio.c:40: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
bwtio.c:47: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
bwtio.c: In function ‘bwt_restore_bwt’:
bwtio.c:62: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
bwtio.c:63: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
bwtio.c:64: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
gcc -c -g -Wall -O2 -m64 -DHAVE_PTHREAD bwtaln.c -o bwtaln.o
gcc -c -g -Wall -O2 -m64 -DHAVE_PTHREAD bwtgap.c -o bwtgap.o
gcc -c -g -Wall -O2 -m64 -DHAVE_PTHREAD is.c -o is.o
gcc -c -g -Wall -O2 -m64 -DHAVE_PTHREAD bntseq.c -o bntseq.o
bntseq.c: In function ‘bns_restore’:
bntseq.c:99: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result
bntseq.c:107: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result
bntseq.c:115: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result
bntseq.c:125: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result
bntseq.c:131: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result
gcc -c -g -Wall -O2 -m64 -DHAVE_PTHREAD bwtmisc.c -o bwtmisc.o
bwtmisc.c: In function ‘bwa_seq_len’:
bwtmisc.c:51: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
bwtmisc.c: In function ‘bwt_pac2bwt’:
bwtmisc.c:72: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
bwtmisc.c: In function ‘bwa_pac_rev_core’:
bwtmisc.c:171: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
bwtmisc.c: In function ‘bwa_pac2cspac_core’:
bwtmisc.c:209: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
gcc -c -g -Wall -O2 -m64 -DHAVE_PTHREAD bwtindex.c -o bwtindex.o
gcc -c -g -Wall -O2 -m64 -DHAVE_PTHREAD stdaln.c -o stdaln.o
gcc -c -g -Wall -O2 -m64 -DHAVE_PTHREAD simple_dp.c -o simple_dp.o
gcc -c -g -Wall -O2 -m64 -DHAVE_PTHREAD bwaseqio.c -o bwaseqio.o
gcc -c -g -Wall -O2 -m64 -DHAVE_PTHREAD bwase.c -o bwase.o
bwase.c: In function ‘bwa_refine_gapped’:
bwase.c:235: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
bwase.c:241: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
bwase.c: In function ‘bwa_sai2sam_se_core’:
bwase.c:432: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
bwase.c:444: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
bwase.c:449: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
bwase.c: In function ‘bwa_print_all_hits’:
bwase.c:514: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
bwase.c:521: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
bwase.c:526: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
gcc -c -g -Wall -O2 -m64 -DHAVE_PTHREAD bwape.c -o bwape.o
bwape.c: In function ‘bwa_cal_pac_pos_pe’:
bwape.c:259: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
bwape.c:263: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
bwape.c: In function ‘bwa_paired_sw’:
bwape.c:446: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
bwape.c: In function ‘bwa_sai2sam_pe_core’:
bwape.c:558: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
bwape.c:559: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
bwape.c:571: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
gcc -c -g -Wall -O2 -m64 -DHAVE_PTHREAD kstring.c -o kstring.o
gcc -c -g -Wall -O2 -m64 -DHAVE_PTHREAD cs2nt.c -o cs2nt.o
gcc -c -g -Wall -O2 -m64 -DHAVE_PTHREAD bwtsw2_core.c -o bwtsw2_core.o
gcc -c -g -Wall -O2 -m64 -DHAVE_PTHREAD bwtsw2_main.c -o bwtsw2_main.o
gcc -c -g -Wall -O2 -m64 -DHAVE_PTHREAD bwtsw2_aux.c -o bwtsw2_aux.o
bwtsw2_aux.c: In function ‘bsw2_aln’:
bwtsw2_aux.c:606: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
gcc -c -g -Wall -O2 -m64 -DHAVE_PTHREAD bwt_lite.c -o bwt_lite.o
gcc -c -g -Wall -O2 -m64 -DHAVE_PTHREAD bwtsw2_chain.c -o bwtsw2_chain.o
gcc -c -g -Wall -O2 -m64 -DHAVE_PTHREAD main.c -o main.o
gcc -g -Wall -O2 -m64 -DHAVE_PTHREAD utils.o bwt.o bwtio.o bwtaln.o bwtgap.o is.o bntseq.o bwtmisc.o bwtindex.o stdaln.o simple_dp.o bwaseqio.o bwase.o bwape.o kstring.o cs2nt.o bwtsw2_core.o bwtsw2_main.o bwtsw2_aux.o bwt_lite.o bwtsw2_chain.o main.o -o bwa -lm -lz -lpthread -Lbwt_gen -lbwtgen
Comment