X-Original-To: alpine-devel@lists.alpinelinux.org Received: from mx0a-00176a03.pphosted.com (mx0b-00176a03.pphosted.com [67.231.157.48]) by lists.alpinelinux.org (Postfix) with ESMTP id 8A42E5C4ACF for ; Wed, 27 Jun 2018 14:30:14 +0000 (GMT) Received: from pps.filterd (m0048299.ppops.net [127.0.0.1]) by m0048299.ppops.net-00176a03. (8.16.0.22/8.16.0.22) with SMTP id w5RESCPr009544 for ; Wed, 27 Jun 2018 10:30:13 -0400 From: "Largacha, Alejandro (GE Power)" To: "alpine-devel@lists.alpinelinux.org" Subject: [alpine-devel] glibc code in alpine Thread-Topic: glibc code in alpine Thread-Index: AdQOIk4r9wHOMOoJTXGbQjvm65frnA== Date: Wed, 27 Jun 2018 14:29:50 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-dg-ref: PG1ldGE+PGF0IG5tPSJib2R5Lmh0bWwiIHA9ImM6XHVzZXJzXDIxMjMwODY1MlxhcHBkYXRhXHJvYW1pbmdcMDlkODQ5YjYtMzJkMy00YTQwLTg1ZWUtNmI4NGJhMjllMzViXG1zZ3NcbXNnLThhZjJlN2ZmLTdhMTYtMTFlOC1hNGRiLTk0NjU5YzZlODBkOFxhbWUtdGVzdFw4YWYyZTgwMC03YTE2LTExZTgtYTRkYi05NDY1OWM2ZTgwZDhib2R5Lmh0bWwiIHN6PSIzMTgxIiB0PSIxMzE3NDU4MzM4ODQ2MDQzNzIiIGg9Im9hZlNzMGVRVTA3WFliUEhiamhxL3MwMXZpND0iIGlkPSIiIGJsPSIwIiBibz0iMSIvPjwvbWV0YT4= x-originating-ip: [205.173.90.130] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;AM4P101MB0065;7:VkDn5NxP0WfNQTGlSye+PSmpeVjaW8e9FXwnuDLtJyH8jFhdsfXn1cE1xn03pLiKRJqlgkoTeY9Wp5QJqxrgjcTcqq4pacMTOdDvgHUom//xnmnGLOPB+VzASvd092+pXDsp4/iGMh/jp3ZbpG/8L5sVVyFwyaAAHpeZBJgXkjHtOi9iDOhEn5x/pf8hQgWnmwCszAOCvN8eZ+qIgbmre6xm5B+JGV6ORYMo+GtqMx7tBNVMuxeKH3BZqIp982PK x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: 83d04cbe-eb1a-4843-c55e-08d5dc3a70ed x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(8989117)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600026)(711020)(2017052603328)(7153060)(7193020);SRVR:AM4P101MB0065; x-ms-traffictypediagnostic: AM4P101MB0065: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(28532068793085)(21748063052155); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(6040522)(2401047)(5005006)(8121501046)(10201501046)(93006095)(93001095)(3002001)(3231254)(944501410)(52105095)(149027)(150027)(6041310)(20161123562045)(20161123558120)(20161123564045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011)(7699016);SRVR:AM4P101MB0065;BCL:0;PCL:0;RULEID:;SRVR:AM4P101MB0065; x-forefront-prvs: 0716E70AB6 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(346002)(376002)(396003)(136003)(39860400002)(366004)(199004)(189003)(66066001)(99286004)(486006)(6436002)(68736007)(14454004)(8936002)(476003)(53936002)(81166006)(81156014)(3480700004)(86362001)(2900100001)(2906002)(9686003)(7696005)(3846002)(6916009)(105586002)(55016002)(26005)(74316002)(54896002)(5640700003)(25786009)(2501003)(7736002)(186003)(5250100002)(2351001)(33656002)(478600001)(6116002)(316002)(790700001)(5660300001)(72206003)(106356001)(8676002)(6506007)(97736004)(256004)(6306002)(102836004);DIR:OUT;SFP:1102;SCL:1;SRVR:AM4P101MB0065;H:AM4P101MB0196.NAMP101.PROD.OUTLOOK.COM;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: ge.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: b1gmePIrRwsdYefN2ZRq0WwjnesLguFcB1MM7MI/cOVCL9gFCfRC6wWrqWi3lZx0fuTT/AVoUqP1PzjeowiqMzbREFs1uwzvGCWCHHN5ygjJaIXa9QhEeIrPIBBSj2QEk8u9ZWwuFsIZPZt4KHxaXlQr/93nJMlBfdKwBVSGOcOL35ZShLpJMMPK5DNBVzqW2WhbrOHk3kF9kVxnQveGr1QnkvJae83NGE8ZKzmDziDrt3SJ4D41fB7cbt2re31SfnrI4K1LBztxngAQQNjdOuAnssT6nF6vlmCALWHC68vhotIUP/o7HTu4Edn916dIn6RJpZL6yYZlbReBiBwue4aqNsgskxxYVmhy98m7a6c= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: multipart/alternative; boundary="_000_AM4P101MB01962438375ECE50B059CF5EFE480AM4P101MB0196NAMP_" X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 83d04cbe-eb1a-4843-c55e-08d5dc3a70ed X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Jun 2018 14:29:50.3012 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 15ccb6d1-d335-4996-b6f9-7b6925f08121 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4P101MB0065 X-OriginatorOrg: ge.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-06-27_03:,, signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=739 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1806210000 definitions=main-1806270159 --_000_AM4P101MB01962438375ECE50B059CF5EFE480AM4P101MB0196NAMP_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, I have some library source code that builds for a Linux distro with glibc l= ibrary. 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 l= ibrary). For example, I get this error when I try to build: error: 'PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP' undeclared here (not in a f= unction) static pthread_mutex_t modGate =3D PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Any help would be appreciated. Regards, Alex --_000_AM4P101MB01962438375ECE50B059CF5EFE480AM4P101MB0196NAMP_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi,

 

I have some library source code= that builds for a Linux distro with glibc library. I want to build that co= de 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_MU= TEX_INITIALIZER_NP' undeclared here (not in a function)

static pthread_mutex_t modGa= te  =3D PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;<= /p>

    &nbs= p;            &= nbsp;           &nbs= p;     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

 

Any help would be appreciated.<= o:p>

 

Regards,

 

Alex

--_000_AM4P101MB01962438375ECE50B059CF5EFE480AM4P101MB0196NAMP_-- --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---