From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?=D0=90=D0=BB=D0=B5=D0=BA=D1=81=D0=B0=D0=BD=D0=B4=D1=80_?= =?UTF-8?Q?=D0=94=D0=B5=D0=BC=D0=B8=D0=B4=D0=BE=D0=B2?= Subject: undefined reference to =?UTF-8?Q?=60capng=5Fsave=5Fstate=27=20-?= =?UTF-8?Q?=20linkink=20e=34rat-collect?= Date: Mon, 26 Sep 2016 16:17:24 +0300 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4324201180870005575==" Return-path: Received: from mx1.redhat.com (ext-mx04.extmail.prod.ext.phx2.redhat.com [10.5.110.28]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u8QDHaju017499 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Mon, 26 Sep 2016 09:17:36 -0400 Received: from dimti.ru (dimti.ru [93.170.130.17]) by mx1.redhat.com (Postfix) with ESMTP id DD06398C29 for ; Mon, 26 Sep 2016 13:17:27 +0000 (UTC) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-audit-bounces@redhat.com Errors-To: linux-audit-bounces@redhat.com To: linux-audit@redhat.com List-Id: linux-audit@redhat.com --===============4324201180870005575== Content-Type: multipart/alternative; boundary="=_27555967e5edcd68c1abaa268c1fe7b4" --=_27555967e5edcd68c1abaa268c1fe7b4 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Hello I try to use new applications for me - e4rat My OS: ArchLinux I install audit with static libs for resolve building e4rat application But, in building e4rat-collect, i fetched error: [ 52%] Linking CXX executable ../e4rat-collect /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.1/../../../../lib/libaudit.a(libaudit.o): In function `audit_can_control': (.text+0x25f6): undefined reference to `capng_save_state' I see in https://svn.fedorahosted.org/svn/audit/trunk/lib/libaudit.c the code int audit_can_control(void) { #ifdef HAVE_LIBCAP_NG void *state = capng_save_state(); But i dont understand, where error. In audit or in e4rat? If that error - bug in e4rat (https://wiki.archlinux.org/index.php/E4rat), please tell and i wrote to developers e4rat, if autdi is clean. -- С уважением, Александр Демидов --=_27555967e5edcd68c1abaa268c1fe7b4 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=UTF-8

Hello

I try to use new applications for me - e4rat

My OS: ArchLinux

I install audit with static libs for resolve building e4rat application<= /p>

But, in building e4rat-collect, i fetched error:

[ 52%] Linking CXX executable ../e4rat-collect
/usr/lib/gcc/x86_64-= pc-linux-gnu/6.2.1/../../../../lib/libaudit.a(libaudit.o): In function `aud= it_can_control':
(.text+0x25f6): undefined reference to `capng_save_st= ate'

I see in https://svn.fedorahosted.org/svn/audit/trunk/lib/libaudit.c the= code

int audit_can_control(void)
{
#ifdef HAVE_LIBCAP_NG
	void *state =3D capng_save_state();

But i dont understand, wher= e error. In audit or in e4rat?
If that error - bug in e4rat (https://w= iki.archlinux.org/index.php/E4rat), please tell and i wrote to developers e= 4rat, if autdi is clean.

 

-- 
=D0=A1 =D1=83=D0=B2=D0=B0=D0=B6=D0=B5=D0=BD=D0=B8=D0=B5=D0=BC= , =D0=90=D0=BB=D0=B5=D0=BA=D1=81=D0=B0=D0=BD=D0=B4=D1=80 =D0=94=D0=B5=D0=BC= =D0=B8=D0=B4=D0=BE=D0=B2
--=_27555967e5edcd68c1abaa268c1fe7b4-- --===============4324201180870005575== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============4324201180870005575==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steve Grubb Subject: Re: undefined reference to `capng_save_state' - linkink e4rat-collect Date: Mon, 26 Sep 2016 15:50:14 -0400 Message-ID: <2940705.f4qkhcR1aB@x2> References: Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-audit-bounces@redhat.com Errors-To: linux-audit-bounces@redhat.com To: linux-audit@redhat.com Cc: =?utf-8?B?0JDQu9C10LrRgdCw0L3QtNGAINCU0LXQvNC40LTQvtCy?= List-Id: linux-audit@redhat.com T24gTW9uZGF5LCBTZXB0ZW1iZXIgMjYsIDIwMTYgNDoxNzoyNCBQTSBFRFQg0JDQu9C10LrRgdCw 0L3QtNGAINCU0LXQvNC40LTQvtCyIHdyb3RlOgo+IEhlbGxvCj4gCj4gSSB0cnkgdG8gdXNlIG5l dyBhcHBsaWNhdGlvbnMgZm9yIG1lIC0gZTRyYXQKPiAKPiBNeSBPUzogQXJjaExpbnV4Cj4gCj4g SSBpbnN0YWxsIGF1ZGl0IHdpdGggc3RhdGljIGxpYnMgZm9yIHJlc29sdmUgYnVpbGRpbmcgZTRy YXQgYXBwbGljYXRpb24KPiAKPiBCdXQsIGluIGJ1aWxkaW5nIGU0cmF0LWNvbGxlY3QsIGkgZmV0 Y2hlZCBlcnJvcjoKPiAKPiBbIDUyJV0gTGlua2luZyBDWFggZXhlY3V0YWJsZSAuLi9lNHJhdC1j b2xsZWN0Cj4gL3Vzci9saWIvZ2NjL3g4Nl82NC1wYy1saW51eC1nbnUvNi4yLjEvLi4vLi4vLi4v Li4vbGliL2xpYmF1ZGl0LmEobGliYXVkaXQubwo+ICk6IEluIGZ1bmN0aW9uIGBhdWRpdF9jYW5f Y29udHJvbCc6Cj4gKC50ZXh0KzB4MjVmNik6IHVuZGVmaW5lZCByZWZlcmVuY2UgdG8gYGNhcG5n X3NhdmVfc3RhdGUnCj4gCj4gSSBzZWUgaW4gaHR0cHM6Ly9zdm4uZmVkb3JhaG9zdGVkLm9yZy9z dm4vYXVkaXQvdHJ1bmsvbGliL2xpYmF1ZGl0LmMgdGhlCj4gY29kZQo+IAo+IGludCBhdWRpdF9j YW5fY29udHJvbCh2b2lkKQo+IHsKPiAjaWZkZWYgSEFWRV9MSUJDQVBfTkcKPiAgdm9pZCA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