Skip to content

build error #3

@brentp

Description

@brentp

Hi, I am not able to build with gcc version: gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0

as I get the following error:

$ make
g++ -std=c++11 -O3 -funroll-loops -fopenmp -I./htslib -o nebula bed_utils.o stats.o junction.o main.o counter.o config.o preprocessor.o solver.o genotyper.o kmer_utils.o mixer.o logger.o chromosomes.o inner.o -lm -lpthread -L./htslib -lz -llzma -lbz2 -lcurl -lcrypto -lhts
/usr/bin/ld: junction.o: in function `JunctionKmerExtractor::extract_junction_kmers(Track, int, int)':
junction.cpp:(.text+0x1277): undefined reference to `bam_name2id'
collect2: error: ld returned 1 exit status
make: *** [Makefile:38: nebula] Error 1

I can build htslib on my system (and many tools that rely on it) and I have cloned Nebula with --recursive.
Any ideas?

thanks,
-Brent

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions