From: Valdis.Kletnieks@vt.edu
To: kunal chandarana <chandarana.kunal@gmail.com>
Cc: linux-audit@redhat.com
Subject: Re: Auparse library event...............
Date: Fri, 18 Jan 2008 06:03:00 -0500 [thread overview]
Message-ID: <24716.1200654180@turing-police.cc.vt.edu> (raw)
In-Reply-To: Your message of "Fri, 18 Jan 2008 14:28:10 +0530." <770716a30801180058h4fedb392tce3c27a89e479d27@mail.gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 666 bytes --]
> I tried the above program for but after compilation its giving following
> linking error.
>
> /tmp/ccMo3ClJ.o: In function `main':
> parselib.c:(.text+0x21): undefined reference to `auparse_init'
> parselib.c:(.text+0x61): undefined reference to `ausearch_set_param'
> parselib.c:(.text+0x84): undefined reference to `auparse_find_field'
> parselib.c:(.text+0x93): undefined reference to `auparse_interpret_field'
> parselib.c:(.text+0xae): undefined reference to `ausearch_next_event'
> parselib.c:(.text+0xbd): undefined reference to `auparse_destroy'
> collect2: ld returned 1 exit status
Smells suspiciously like you forgot to pass "-laudit" when linking.
[-- Attachment #1.2: Type: application/pgp-signature, Size: 226 bytes --]
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
next prev parent reply other threads:[~2008-01-18 11:03 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-18 8:58 Auparse library event kunal chandarana
2008-01-18 11:03 ` Valdis.Kletnieks [this message]
2008-01-18 11:10 ` Valdis.Kletnieks
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=24716.1200654180@turing-police.cc.vt.edu \
--to=valdis.kletnieks@vt.edu \
--cc=chandarana.kunal@gmail.com \
--cc=linux-audit@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox