Skip to content

Error during make #610

@aersoares81

Description

@aersoares81

Hi, I have this error during make:

gcc -g -Wall -O2 -I. -c -o thread_pool.o thread_pool.c thread_pool.c: In function 'hts_tpool_init': thread_pool.c:676:5: warning: implicit declaration of function 'pthread_mutexattr_settype' [-Wimplicit-function-declaration] pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE); ^~~~~~~~~~~~~~~~~~~~~~~~~ thread_pool.c:676:38: error: 'PTHREAD_MUTEX_RECURSIVE' undeclared (first use in this function) pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE); ^~~~~~~~~~~~~~~~~~~~~~~ thread_pool.c:676:38: note: each undeclared identifier is reported only once for each function it appears in make[1]: *** [thread_pool.o] Error 1 make[1]: Leaving directory /home/name/bcftools-1.4.1/htslib-1.4.1'
make: *** [htslib-1.4.1/libhts.a] Error 2`

I have samtools, etc, on the system, compiled without a problem. Any suggestions?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions