Displaying 1 result from an estimated 1 matches for "__need_malloc_and_calloc".
2010 Apr 09
0
implicit declaration of function `posix_memalign''
..._THROW __nonnull ((1));
#endif
So, I edit the Makefile in tools/xenpaging and add the line:
CFLAGS += -D__USE_XOPEN2K
However, when I recompile, I get the same error. There also seems to be another condition in stdlib.h that must be satisfied before the __USE_XOPEN2K one will be checked:
#ifndef __need_malloc_and_calloc
I''m not sure whether this is defined (or not defined) somewhere else in Xen - anyone have any ideas?
Thanks - Nick
--------
This e-mail may contain confidential and privileged material for the sole use of the intended recipient. If this email is not intended for you, or you are not r...