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

Raja R Harinath rharinath@novell.com
Tue, 04 May 2004 16:31:03 +0530


Hi,

"Thomas R. Corbin" <corbin@samsixedd.com> writes:

> 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'

For some reason, your config.h hasn't been updated.  Try re-running
autogen.sh.

- Hari