lkml.org 
[lkml]   [2002]   [Aug]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: How to use clone flas CLONE_THREAD?
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>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:28    [W:0.037 / U:4.188 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site