[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: IPC MessageQueue problem??
Johan Hallberg wrote:
> I have a problem getting IPC MessageQueue to work under devboard_lx..
> It works fine when I compile it for the host but not for cris-axis-linux-gnu..
> The compiler give me the following warnings when compiling for cris-axis-linux-
> gnu (but not for host):
> warning: #warning "Files using this header must be compiled with _SVID_SOURCE
> or _XOPEN_SOURCE"
> How am I gonna solv this problem??
I'm not sure this is the Right Solution, but at least as a work-around you can
try adding -D_SVID_SOURCE or -D_XOPEN_SOURCE to your Makefile's gcc flags.
Axis Communications AB