[Mono-devel-list] Beta1 preview (FreeBSD build problem)

Artur Brodowski bzdurqa at wp.pl
Tue May 4 08:16:59 EDT 2004


W liście z wto, 04-05-2004, godz. 00:08 -0500, Will McCutchen napisał:
> > In the meantime, could you remove any reference to AIO from the
> > generated config.h and try rebuilding?
> I did this, and it let me run `gmake` successfully (plain `make` still
> produced errors, though).

Unfortunately that doesn't work here, compilation fails in
mono/io-layer on FreeBSD 4.9:

gcc -DHAVE_CONFIG_H -I. -I. -I../.. -D_THREAD_SAFE
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-I../../libgc/include -DMONO_BINDIR=\"/usr/local/bin\" -I../..
-D_THREAD_SAFE -g -O2 -fno-strict-aliasing -g -Wall -Wunused
-Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes
-Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-cast-qual
-Wcast-align -Wwrite-strings -c io.c -Wp,-MD,.deps/io.TPlo  -fPIC -DPIC
-o .libs/io.lo
io.c: In function `file_read':
io.c:388: `SIGEV_THREAD' undeclared (first use in this function)
io.c:388: (Each undeclared identifier is reported only once
io.c:388: for each function it appears in.)
io.c:389: structure has no member named `sigev_notify_function'
io.c: In function `file_write':
io.c:495: `SIGEV_THREAD' undeclared (first use in this function)
io.c:496: structure has no member named `sigev_notify_function'
io.c: In function `FindFirstFile':
io.c:2520: warning: passing arg 3 of `scandir' from incompatible pointer
type
io.c: In function `CreatePipe':
io.c:3119: warning: `write_handle' might be used uninitialized in this
function
*** Error code 1

artb.
-- 
only so many songs can be sung with two lips two lungs and one tongue




More information about the Mono-devel-list mailing list