From: David A. Kraft (davek@solaria.mil.wi.us)
Date: 04/05/93


From: davek@solaria.mil.wi.us (David A. Kraft)
Subject: .99p6 compile problems (maybe)
Date: Mon, 5 Apr 1993 21:01:16 GMT

Hi,
How come when compiling .99p6 kernel, during make dep, I get the following:

tcp
gcc -DKERNEL -E -M *.c > .depend
gcc -DKERNEL -E -M *.c > .depend
gcc -DKERNEL -E -M *.c > .depend
In file included from sem.c:11:
/usr/include/linux/ipc.h:6: warning: `IPC_PRIVATE' redefined
/usr/include/sys/ipc.h:18: warning: this is the location of the previous definition
In file included from /usr/include/sys/shm.h:3, from shm.c:11:
/usr/include/sys/ipc.h:18: warning: `IPC_PRIVATE' redefined
/usr/include/linux/ipc.h:6: warning: this is the location of the previous definition
mv .depend~ .depend

Then, I did a little grep'ping around in the header files listed there, and
came up with:

/usr/include/linux/ipc.h:
        #define IPC_PRIVATE ((key_t) 0)

and

/usr/include/sys/ipc.h
        #define IPC_PRIVATE (key_t) 0

What's happening here? Is it ok to continue with 'make all'??

Thanks in advance,
Dave

-- 
Dave Kraft /\ davek@solaria.mil.wi.us (414)476-2763 &&|| (414)771-5178
===============================================================================
"For evil left to itself ... does not simply perish; it thrives.  Evil
contained is not evil destroyed." -- Terry Brooks, "Elfstones of Shannara"