[Mono-list] mono .8 build problem on cygwin

Paolo Molaro lupus@ximian.com
Thu, 14 Feb 2002 11:51:12 +0100


On 02/13/02 John Benninghoff wrote:
> I'm gettting the following error trying to build mono:
> 
> gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/local/include/glib-2.0 
> -I/usr/local/lib/glib-2.0/include    -I../..          
> -DMONO_ASSEMBLIES=\""/usr/local/lib"\"     -g -Wall -Wunused 
> -Wmissing-prototypes -Wmissing-declarations -c opcodes.c
> opcodes.c:29: `NULL' undeclared here (not in a function)

Fixed in cvs: replace #include <malloc.h> with #include <stddef.h>
at the top of the file.

Thanks for the report!

lupus

-- 
-----------------------------------------------------------------
lupus@debian.org                                     debian/rules
lupus@ximian.com                             Monkeys do it better