From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Mukul Khullar" Subject: Problem with ausearch_set_param Date: Fri, 18 Jan 2008 15:32:21 +0530 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0799005166==" Return-path: Received: from mx3.redhat.com (mx3.redhat.com [172.16.48.32]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m0IA2h4s014996 for ; Fri, 18 Jan 2008 05:02:43 -0500 Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.180]) by mx3.redhat.com (8.13.1/8.13.1) with ESMTP id m0IA2Mvn020689 for ; Fri, 18 Jan 2008 05:02:22 -0500 Received: by py-out-1112.google.com with SMTP id a29so1244879pyi.0 for ; Fri, 18 Jan 2008 02:02:22 -0800 (PST) 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 --===============0799005166== Content-Type: multipart/alternative; boundary="----=_Part_2209_844921.1200650541881" ------=_Part_2209_844921.1200650541881 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline I am trying to use ausearch_set_param, but the same when used along with proper arguments, doesn't compile and gives an undefined reference. Is there some particular library which is to be included to use ausearch_set_param ? Eg code : ausearch_set_param(au, "auid", "=", "500", AUSEARCH_STOP_EVENT)) Error is : /tmp/cciCPMs9.o: In function `main': parselib.c:(.text+0x61): undefined reference to `ausearch_set_param' collect2: ld returned 1 exit status Please help, Thanking you, Mukul Khullar ------=_Part_2209_844921.1200650541881 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline I am trying to use ausearch_set_param, but the same when used along with proper arguments, doesn't compile and gives an undefined reference. Is there some particular library which is to be included to use ausearch_set_param ?
Eg code : ausearch_set_param(au, "auid", "=", "500", AUSEARCH_STOP_EVENT))
Error is :  /tmp/cciCPMs9.o: In function `main':
               parselib.c:(.text+0x61): undefined reference to `ausearch_set_param'
               collect2: ld returned 1 exit status


Please help,
Thanking you,
Mukul Khullar
------=_Part_2209_844921.1200650541881-- --===============0799005166== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============0799005166==--