From: Paolo Ornati <ornati@fastwebnet.it>
To: raja <vnagaraju@effigent.net>
Cc: linux-kernel@vger.kernel.org
Subject: Re: ipc
Date: Thu, 7 Jul 2005 14:13:02 +0200 [thread overview]
Message-ID: <20050707141302.1f40eb89@localhost> (raw)
In-Reply-To: <42CD12A7.90106@effigent.net>
On Thu, 07 Jul 2005 17:01:51 +0530
raja <vnagaraju@effigent.net> wrote:
> Hi,
> While working with posix ipc i used the function mq_open.
> When i compiled using gcc i am getting error as
>
> : undefined reference to `mq_open'
> collect2: ld returned 1 exit status
>
> will you please tell me how to avoid that.
Also this has nothing to do with kernel, stop posting here these
questions.
----
You need to tell GCC to use "libmqueue"... something like this:
gcc -Wall -O2 -o prog prog.c -lmqueue
Please read this book for other generic programming questions:
http://www.advancedlinuxprogramming.com/
And use Google.
--
Paolo Ornati
Linux 2.6.12.2 on x86_64
next prev parent reply other threads:[~2005-07-07 12:19 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-07 11:31 ipc raja
2005-07-07 12:13 ` Paolo Ornati [this message]
2005-07-07 12:27 ` ipc Jakub Jelinek
2005-07-07 12:46 ` ipc Paolo Ornati
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=20050707141302.1f40eb89@localhost \
--to=ornati@fastwebnet.it \
--cc=linux-kernel@vger.kernel.org \
--cc=vnagaraju@effigent.net \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.