* How to use clone flas CLONE_THREAD?
@ 2002-08-26 4:45 Zheng Jian-Ming
2002-08-26 7:36 ` Jan Hudec
0 siblings, 1 reply; 2+ messages in thread
From: Zheng Jian-Ming @ 2002-08-26 4:45 UTC (permalink / raw)
To: linux-kernel
Hi.
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.
--
Best Regards,
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: How to use clone flas CLONE_THREAD?
2002-08-26 4:45 How to use clone flas CLONE_THREAD? Zheng Jian-Ming
@ 2002-08-26 7:36 ` Jan Hudec
0 siblings, 0 replies; 2+ messages in thread
From: Jan Hudec @ 2002-08-26 7:36 UTC (permalink / raw)
To: Zheng Jian-Ming; +Cc: linux-kernel
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>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-08-26 7:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-26 4:45 How to use clone flas CLONE_THREAD? Zheng Jian-Ming
2002-08-26 7:36 ` Jan Hudec
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®