From: Jan Hudec <bulb@cimice.maxinet.cz>
To: Zheng Jian-Ming <zjm@cis.nctu.edu.tw>
Cc: linux-kernel@vger.kernel.org
Subject: Re: How to use clone flas CLONE_THREAD?
Date: Mon, 26 Aug 2002 09:36:44 +0200 [thread overview]
Message-ID: <20020826073644.GA1052@vagabond> (raw)
In-Reply-To: <20020826044541.GA19337@cissol7.cis.nctu.edu.tw>
On Mon, Aug 26, 2002 at 12:45:41PM +0800, Zheng Jian-Ming wrote:
> When i use clone flag CLONE_THREAD and compiled my program, i get the error
> message: `CLONE_THREAD' undeclared (first use in this function)"
>
> Is this flag still not available unless we use thread package such as NGPT?
>
> How to use CLONE_THREAD flag? Thank you.
You get suffciently recent kernel headers for libc. Libc might need
recompiling when you do that.
The reason is, that now /usr/include/linux is no longer a link to kernel
sources in most distribution, since it was found, that there can be
problems when application is compiled with different headers than libc.
Thus you need to instal new headers and may need recompiling libc if
problems show up.
-------------------------------------------------------------------------------
Jan 'Bulb' Hudec <bulb@ucw.cz>
prev parent reply other threads:[~2002-08-26 7:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-26 4:45 Zheng Jian-Ming
2002-08-26 7:36 ` Jan Hudec [this message]
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=20020826073644.GA1052@vagabond \
--to=bulb@cimice.maxinet.cz \
--cc=linux-kernel@vger.kernel.org \
--cc=zjm@cis.nctu.edu.tw \
/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
all inboxes | Powered by JetHome®