1 |
On Thu, 2007-01-04 at 08:48 +0200, Daniel Iliev wrote: |
2 |
> Iain Buchanan wrote: |
3 |
> > Hi all, |
4 |
> > |
5 |
> > I was just trying to compile one of my programs that includes |
6 |
> > linux/threads.h for the #define PID_MAX_DEFAULT, however, threads.h |
7 |
> > isn't there anymore! |
8 |
|
9 |
[snip] |
10 |
|
11 |
> grep -n PID_MAX_DEFAULT /usr/include/linux/threads.h |
12 |
> 28:#define PID_MAX_DEFAULT 0x8000 |
13 |
> 33:#define PID_MAX_LIMIT (sizeof(long) > 4 ? 4*1024*1024 : PID_MAX_DEFAULT) |
14 |
|
15 |
$ ls /usr/include/linux/threads.h |
16 |
ls: cannot access /usr/include/linux/threads.h: No such file or |
17 |
directory |
18 |
|
19 |
$ slocate threads.h |
20 |
/usr/include/X11/Xthreads.h |
21 |
/usr/include/libxml2/libxml/threads.h |
22 |
/usr/include/dbus-1.0/dbus/dbus-threads.h |
23 |
/usr/include/stlport/stl/_threads.h |
24 |
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/include/g++-v3/bits/stl_threads.h |
25 |
/usr/lib/klibc/include/linux/threads.h |
26 |
/usr/share/doc/libvorbis-1.1.2/txt/doc/vorbisfile/threads.html |
27 |
/usr/src/linux-2.6.18-suspend2/include/linux/threads.h |
28 |
/usr/src/linux-2.6.19-suspend2-r1/include/linux/threads.h |
29 |
|
30 |
but I don't want to -I any of those! |
31 |
|
32 |
> It comes with "sys-kernel/linux-headers". |
33 |
|
34 |
$ equery l linux-headers |
35 |
[ Searching for package 'linux-headers' in all categories among: ] |
36 |
* installed packages |
37 |
[I--] [ ~] sys-kernel/linux-headers-2.6.19 (0) |
38 |
|
39 |
what version do you have? |
40 |
|
41 |
thanks, |
42 |
-- |
43 |
Iain Buchanan <iaindb at netspace dot net dot au> |
44 |
|
45 |
The main problem I have with cats is, they're not dogs. |
46 |
-- Kevin Cowherd |
47 |
|
48 |
-- |
49 |
gentoo-user@g.o mailing list |