Skip to content

Instantly share code, notes, and snippets.

View aersoares81's full-sized avatar

André Soares aersoares81

  • Uppsala University
  • Uppsala, Sweden
  • 06:41 (UTC +02:00)
View GitHub Profile

Keybase proof

I hereby claim:

  • I am aersoares81 on github.
  • I am andre_soares (https://keybase.io/andre_soares) on keybase.
  • I have a public key ASD2JqNIFW4oZlXTM424TsrzROxEHKbyst09PNFP17ZW-go

To claim this, I am signing this object:

@aersoares81
aersoares81 / gist:e7cdf0e11164c11ed33ae791031260d2
Created May 10, 2017 11:48
Make error for bcftools using "-D_POSIX_C_SOURCE=600" in CFLAGS.
cd htslib-1.4.1 && make htslib_static.mk
make[1]: Entering directory `/home/user/bcftools-1.4.1/htslib-1.4.1'
sed -n '/^static_libs=/s/[^=]*=/HTSLIB_static_LIBS = /p;/^static_ldflags=/s/[^=]*=/HTSLIB_static_LDFLAGS = /p' htslib.pc.tmp > htslib_static.mk
make[1]: Leaving directory `/home/user/bcftools-1.4.1/htslib-1.4.1'
cd htslib-1.4.1 && make lib-static
make[1]: Entering directory `/home/user/bcftools-1.4.1/htslib-1.4.1'
gcc -g -Wall -O2 -I. -c -o realn.o realn.c
gcc -g -Wall -O2 -I. -c -o synced_bcf_reader.o synced_bcf_reader.c
gcc -g -Wall -O2 -I. -c -o vcf.o vcf.c
gcc -g -Wall -O2 -I. -c -o vcfutils.o vcfutils.c