[Mono-list] In trying to build mono, I'm getting the following error.

Thomas R. Corbin corbin@samsixedd.com
Sun, 2 May 2004 13:39:46 -0400


What am I doing wrong?

I'm on SUSE 9.

 gcc -DHAVE_CONFIG_H -I. -I. -I../.. -pthread -I/opt/gnome/include/glib-2.0 
-I/op
t/gnome/lib/glib-2.0/include -I/opt/gnome/include/glib-2.0 
-I/opt/gnome/lib/glib-
2.0/include -I../../libgc/include -DMONO_BINDIR=\"/opt/mono/bin\" -I../.. 
-DGC_LI
NUX_THREADS -DMONO_USE_EXC_TABLES -D_GNU_SOURCE -D_REENTRANT -fexceptions 
-D_FILE
_OFFSET_BITS=64 -g -O2 -fno-strict-aliasing -g -Wall -Wunused 
-Wmissing-prototype
s -Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes 
-Wnested-extern
s -Wpointer-arith -Wno-cast-qual -Wcast-align -Wwrite-strings -MT io.lo -MD 
-MP -
MF .deps/io.Tpo -c io.c  -fPIC -DPIC -o .libs/io.o
io.c: In function `async_notifier':
io.c:290: error: union has no member named `SIGVAL_PTR'
io.c: In function `file_read':
io.c:390: error: union has no member named `SIGVAL_PTR'
io.c: In function `file_write':
io.c:497: error: union has no member named `SIGVAL_PTR'
io.c: At top level:
io.c:2391: error: conflicting types for `scandir'
/usr/include/dirent.h:250: error: previous declaration of `scandir'