Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linker error when doing make cnvnator #143

Open
smichnowicz opened this issue Oct 7, 2020 · 0 comments
Open

Linker error when doing make cnvnator #143

smichnowicz opened this issue Oct 7, 2020 · 0 comments

Comments

@smichnowicz
Copy link

Dear Group,
I am trying to install SpeedSeq with cnvnator. A make cnvnator produces a linker error when trying to link in ROOT.
I have tested the link command with a simple ROOT program and it is correct. The problem is weird as the missing constructor listed below TString(...) ,is not called by the code as far as I can see (the code calls a constructor witha different parameter list ).

g++ -O3 -std=c++11 -DCNVNATOR_VERSION="v0.3.3" -fopenmp -o cnvnator obj/cnvnator.o obj/EXOnator.o obj/HisMaker.o obj/AliParser.o obj/Genotyper.o obj/Interval.o obj/Genome.o samtools/libbam.a samtools/htslib-1.3.1/libhts.a -lz -L/usr/local/root/5.34.32/lib/root -lCore -lRIO -lHist -lGraf -lGpad -lTree -lMathCore
obj/HisMaker.o: In function HisMaker::HisMaker(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, Genome*)': HisMaker.cpp:(.text+0x4380): undefined reference to **TString::TString(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&)'**
etc

I am using gcc/5.4.0 and root/5.34.32 on Centos 7. 7

We have managed to compile a newer version of cnvnator separately. Can we avoid this failure by editing speedseq.config to point to a separate version?
thanks
Simon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant