#21 BWA failes to compile on MacOSX

open
nobody
None
5
2009-07-20
2009-07-20
Anonymous
No

System Version: Mac OS X 10.5.7 (9J61)
Kernel Version: Darwin 9.7.0

maasha@cletus:/tmp/bwa-0.4.9$ make
make[1]: Nothing to be done for `lib'.
make[1]: Nothing to be done for `lib'.
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 main.o -o bwa -lm -lz -lpthread -Lbwt_gen -lbwtgen
ld: in bwt_gen/libbwtgen.a, archive has no table of contents
collect2: ld returned 1 exit status
make: *** [bwa] Error 1

Discussion

  • lh3
    lh3
    2009-08-20

    I have a mac laptop and routinely compile and run it on my laptop. Could you try to "make clean" and then "make" again? You may also try to run "ranlib bwt_gen/libbwtgen.a" to create the library index. Hope that works.