[Mono-devel-list] FreeBSD 5.2.1 make error (possible dupe)

mccutch at sdf.lonestar.org mccutch at sdf.lonestar.org
Tue Apr 20 20:14:32 EDT 2004


I just posted a minute ago re: boehm garbage collection.  I have another
problem compiling Mono (0.31 and daily snapshots give me the same
problem):

After successfully `./configure`-ing, I get the following error from `make`:

(I'm sorry, but I don't know exactly how much of make's output I need to
provide)

[~/Downloads/mono] $ make

(...snip...)

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 -Wwr ite-strings -c io.c -MT io.lo -MD -MP -MF .deps/io.TPlo 
-fPIC -DPIC -o .libs/io.lo
io.c: In function `async_notifier':
io.c:351: error: union has no member named `sival_ptr'
io.c: In function `file_read':
io.c:448: error: `SIGEV_THREAD' undeclared (first use in this function)
io.c:448: error: (Each undeclared identifier is reported only once
io.c:448: error: for each function it appears in.)
io.c:449: error: structure has no member named `sigev_notify_function'
io.c:450: error: union has no member named `sival_ptr'
io.c: In function `file_write':
io.c:555: error: `SIGEV_THREAD' undeclared (first use in this function)
io.c:556: error: structure has no member named `sigev_notify_function'
io.c:557: error: union has no member named `sival_ptr'
io.c: In function `file_getfiletime':
io.c:951: warning: integer constant is too large for "unsigned long" type
io.c:954: warning: integer constant is too large for "unsigned long" type
io.c:957: warning: integer constant is too large for "unsigned long" type
io.c:958: warning: integer constant is too large for "unsigned long" type
io.c: In function `file_setfiletime':
io.c:1043: warning: integer constant is too large for "long" type
io.c:1051: warning: integer constant is too large for "long" type
io.c: In function `FileTimeToSystemTime':
io.c:2307: warning: integer constant is too large for "long" type
io.c:2308: warning: integer constant is too large for "long" type
io.c:2314: warning: integer constant is too large for "long" type
io.c:2315: warning: integer constant is too large for "long" type
io.c: In function `FindFirstFile':
io.c:2525: warning: passing arg 3 of `scandir' from incompatible pointer
type *** Error code 1

Stop in /usr/home/will/Downloads/mono/mono/io-layer.
*** Error code 1

Stop in /usr/home/will/Downloads/mono/mono.
*** Error code 1

Stop in /usr/home/will/Downloads/mono.
*** Error code 1

Stop in /usr/home/will/Downloads/mono.


Anyone know what to do about this?  This is FreeBSD 5.2.1-RELEASE.  Any
help will be appreciated.



-Will McCutchen





More information about the Mono-devel-list mailing list