Mail archive
alpine-devel

[alpine-devel] glibc code in alpine

From: Largacha, Alejandro (GE Power) <"Largacha,>
Date: Wed, 27 Jun 2018 14:29:50 +0000

Hi,

I have some library source code that builds for a Linux distro with glibc library. I want to build that code for alpine and musl libc and I'm finding some problems (I actually want to create an alpine linux package with the library). For example, I get this error when I try to build:

error: 'PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP' undeclared here (not in a function)
static pthread_mutex_t modGate = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Any help would be appreciated.

Regards,

Alex



---
Unsubscribe:  alpine-devel+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-devel+help_at_lists.alpinelinux.org
---
Received on Wed Jun 27 2018 - 14:29:50 GMT