[Mono-dev] 2.2 broken for solaris

pablosantosluac at terra.es pablosantosluac at terra.es
Tue Jan 20 18:54:49 EST 2009


Hi,

I'm currently building Mono 2.0.1 correctly on Solaris (using the 
blastwave boxes to create a solaris release *right now*).

But, I *can't* build mono 2.2. Here's the error:

mv -f .deps/mini.Tpo .deps/mini.Plo
/bin/bash ../../libtool --quiet --tag=CC   --mode=compile gcc 
-DHAVE_CONFIG_H -I. -I../..   -DGC_SOLARIS_THREADS -DGC_SOLARIS_PTHREADS 
-D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DUSE_MMAP -DUSE_MUNMAP 
-DPLATFORM_SOLARIS -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=500 
-D__EXTENSIONS__ -D_XOPEN_SOURCE_EXTENDED=1 -I../.. 
-I../../libgc/include -D_REENTRANT -D_PTHREADS 
-I/opt/csw/include/glib-2.0 -I/opt/csw/lib/glib-2.0/include   -g -O2 
-fno-strict-aliasing -Wdeclaration-after-statement -g -Wall -Wunused 
-Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes 
-Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-cast-qual 
-Wcast-align -Wwrite-strings -mno-tls-direct-seg-refs 
-Wno-char-subscripts -MT driver.lo -MD -MP -MF .deps/driver.Tpo -c -o 
driver.lo driver.c
mv -f .deps/driver.Tpo .deps/driver.Plo
/bin/bash ../../libtool --quiet --tag=CC   --mode=compile gcc 
-DHAVE_CONFIG_H -I. -I../..   -DGC_SOLARIS_THREADS -DGC_SOLARIS_PTHREADS 
-D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DUSE_MMAP -DUSE_MUNMAP 
-DPLATFORM_SOLARIS -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=500 
-D__EXTENSIONS__ -D_XOPEN_SOURCE_EXTENDED=1 -I../.. 
-I../../libgc/include -D_REENTRANT -D_PTHREADS 
-I/opt/csw/include/glib-2.0 -I/opt/csw/lib/glib-2.0/include   -g -O2 
-fno-strict-aliasing -Wdeclaration-after-statement -g -Wall -Wunused 
-Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes 
-Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-cast-qual 
-Wcast-align -Wwrite-strings -mno-tls-direct-seg-refs 
-Wno-char-subscripts -MT aot-compiler.lo -MD -MP -MF 
.deps/aot-compiler.Tpo -c -o aot-compiler.lo aot-compiler.c
In file included from ../../mono/utils/freebsd-elf32.h:32,
                  from aot-compiler.c:67:
../../mono/utils/freebsd-elf_common.h:46: error: syntax error before 
"u_int32_t"
../../mono/utils/freebsd-elf_common.h:46: warning: no semicolon at end 
of struct or union
../../mono/utils/freebsd-elf_common.h:47: warning: type defaults to 
`int' in declaration of `n_descsz'
../../mono/utils/freebsd-elf_common.h:47: warning: data definition has 
no type or storage class
../../mono/utils/freebsd-elf_common.h:48: error: syntax error before 
"n_type"
../../mono/utils/freebsd-elf_common.h:48: warning: type defaults to 
`int' in declaration of `n_type'
../../mono/utils/freebsd-elf_common.h:48: warning: data definition has 
no type or storage class
../../mono/utils/freebsd-elf_common.h:49: warning: type defaults to 
`int' in declaration of `Elf_Note'
../../mono/utils/freebsd-elf_common.h:49: warning: data definition has 
no type or storage class
In file included from aot-compiler.c:67:
../../mono/utils/freebsd-elf32.h:144: error: syntax error before 
"Elf32_Nhdr"
../../mono/utils/freebsd-elf32.h:144: warning: type defaults to `int' in 
declaration of `Elf32_Nhdr'
../../mono/utils/freebsd-elf32.h:144: warning: data definition has no 
type or storage class
In file included from aot-compiler.c:68:
../../mono/utils/freebsd-elf64.h:162: error: syntax error before 
"Elf64_Nhdr"
../../mono/utils/freebsd-elf64.h:162: warning: type defaults to `int' in 
declaration of `Elf64_Nhdr'
../../mono/utils/freebsd-elf64.h:162: warning: data definition has no 
type or storage class
gmake[4]: *** [aot-compiler.lo] Error 1
gmake[4]: Leaving directory `/home/psantosl/monosrc/mono-2.2/mono/mini'
gmake[3]: *** [all] Error 2
gmake[3]: Leaving directory `/home/psantosl/monosrc/mono-2.2/mono/mini'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/home/psantosl/monosrc/mono-2.2/mono'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/home/psantosl/monosrc/mono-2.2'
gmake: *** [all] Error 2


Thanks,


pablo



www.plasticscm.com


More information about the Mono-devel-list mailing list