|
From: Eric E. <eri...@fr...> - 2004-08-21 21:16:15
|
FYI, on my machine, in asm/ipc.h, struct ipc_kludge is defines as follows:
struct ipc_kludge {
struct msgbuf __user *msgp;
long msgtyp;
};
Which makes the compilation fail due to __user.
I added
#define __user
just before
#include <linux/msg.h> /* for struct msgbuf */
in vg_unsafe.h for it to compile.
Cheers
-- Eric
|
|
From: Tom H. <th...@cy...> - 2004-08-21 22:00:33
|
In message <412...@fr...>
Eric Estievenart <eri...@fr...> wrote:
> FYI, on my machine, in asm/ipc.h, struct ipc_kludge is defines as follows:
>
> struct ipc_kludge {
> struct msgbuf __user *msgp;
> long msgtyp;
> };
>
> Which makes the compilation fail due to __user.
>
> I added
> #define __user
>
> just before
> #include <linux/msg.h> /* for struct msgbuf */
>
> in vg_unsafe.h for it to compile.
Is this not what the reording of the header that I did the other day
was supposed to fix? or has that reordering broken it?
Tom
--
Tom Hughes (th...@cy...)
Software Engineer, Cyberscience Corporation
http://www.cyberscience.com/
|
|
From: Eric E. <eri...@fr...> - 2004-08-21 22:25:30
|
Tom Hughes wrote: > Is this not what the reording of the header that I did the other day > was supposed to fix? or has that reordering broken it? Effectively. Mea culpa, I may have forgotten to run autogen.sh before configure :-P -- Eric |