Giter Site home page Giter Site logo

Comments (4)

nicomy avatar nicomy commented on June 21, 2024

Hello,
I had the same problem and I resolve it by compiling samtools directly.
cd ../LRSIM/DWGSIMSrc/samtools/
make

from lrsim.

yoann-dufresne avatar yoann-dufresne commented on June 21, 2024

I had the same error.

Could you add a warning in the README and point the way to fix it ?

from lrsim.

hakonhagland avatar hakonhagland commented on June 21, 2024

Same problem but it does not help to go the specific folder either:

cd DWGSIMSrc/samtools/bcftools
make
gcc -c -g -Wall -O2  -D_FILE_OFFSET_BITS=64 -D_USE_KNETFILE -I..  call1.c -o call1.o
gcc -c -g -Wall -O2  -D_FILE_OFFSET_BITS=64 -D_USE_KNETFILE -I..  main.c -o main.o
gcc -g -Wall -O2  -o bcftools call1.o main.o ../kstring.o ../bgzf.o ../knetfile.o ../bedidx.o -L.  -lbcf -lm -lz -lpthread
/bin/ld: ./libbcf.a(bcf.o): relocation R_X86_64_PC32 against symbol `strlen@@GLIBC_2.2.5' can not be used when making a PIE object; recompile with -fPIC
/bin/ld: ./libbcf.a(vcf.o): relocation R_X86_64_PC32 against symbol `realloc@@GLIBC_2.2.5' can not be used when making a PIE object; recompile with -fPIC
/bin/ld: ./libbcf.a(bcfutils.o): relocation R_X86_64_32S against `.rodata' can not be used when making a PIE object; recompile with -fPIC
/bin/ld: ./libbcf.a(prob1.o): relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIC
/bin/ld: ./libbcf.a(em.o): relocation R_X86_64_PC32 against symbol `log@@GLIBC_2.29' can not be used when making a PIE object; recompile with -fPIC
/bin/ld: ./libbcf.a(kfunc.o): relocation R_X86_64_PC32 against symbol `log@@GLIBC_2.29' can not be used when making a PIE object; recompile with -fPIC
/bin/ld: ./libbcf.a(kmin.o): relocation R_X86_64_PC32 against symbol `calloc@@GLIBC_2.2.5' can not be used when making a PIE object; recompile with -fPIC
/bin/ld: ./libbcf.a(index.o): relocation R_X86_64_PC32 against symbol `free@@GLIBC_2.2.5' can not be used when making a PIE object; recompile with -fPIC
/bin/ld: ./libbcf.a(fet.o): relocation R_X86_64_PC32 against symbol `exp@@GLIBC_2.29' can not be used when making a PIE object; recompile with -fPIC
/bin/ld: ./libbcf.a(mut.o): relocation R_X86_64_PC32 against symbol `calloc@@GLIBC_2.2.5' can not be used when making a PIE object; recompile with -fPIC
/bin/ld: ./libbcf.a(bcf2qcall.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC
/bin/ld: final link failed: nonrepresentable section on output
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:34: bcftools] Error 1

from lrsim.

aquaskyline avatar aquaskyline commented on June 21, 2024

from lrsim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.