lkml.org 
[lkml]   [1999]   [Feb]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: v2.2.2: definition of _SYS_SHM_H missing, fault in kernel src.?
Date
> Tried to compile util-linux-2.9i and failed.
> SHM_DEST and SHM_LOCKED were not defined. I traced it down to

They are defined for BSD and SYS5 sources (__USE_MISC)

> May be this a missing definition in the kernel sources of v2.2.2 at all?

The kernel doesn't provide libraries with defines, at least never directly.

You probably have gcc -ansi or -D_POSIX_SOURCE or similar defined. These
extra facilities arent part of a strict posix system.

The default is that we assume BSD/SYS5 type stuff so its enabled and
visible. You can also force this by saying -D_BSD_SOURCE for BSD extensions

Alan


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

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