[Mono-dev] 2.2 broken for solaris
Andreas Färber
andreas.faerber at web.de
Tue Feb 3 16:02:26 EST 2009
Am 02.02.2009 um 17:49 schrieb pablosantosluac at terra.es:
> Hi Zoltan,
>
> Well, I didn't try to compile then and I'm trying now and getting
> this:
>
> gmake[3]: Entering directory `/home/pablo/monosrc/mono/mono/utils'
> /usr/sbin/dtrace -32 -s ../../data/mono.d -o mono-dtrace.h
> dtrace: failed to initialize dtrace: DTrace requires additional
> privileges
Someone had removed the dtrace -h flag, causing this error. Please
check that it's back in on trunk and your branches. I filed a bug
about this.
Andreas
> ??
>
> Do I need to be root to build mono 2-2?
>
> I gave my user dtrace privileges
>
> usermod -K defaultpriv=basic,dtrace_user,dtrace_proc pablo
>
> and then it told me I didn't have traces... :-(
>
>
>
> pablosantosluac at terra.es escribió:
>> great thanks! I'll check now
>>
>> Zoltan Varga escribió:
>>
>>> Hi,
>>>
>>> This is now fixed in the 2.2 branch:
>>>
>>> http://lists.ximian.com/pipermail/mono-patches/2009-January/138782.html
>>>
>>> Zoltan
>>>
>>> On Wed, Jan 21, 2009 at 12:54 AM, pablosantosluac at terra.es
>>> <pablosantosluac at terra.es> wrote:
>>>
>>>
>>>> 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
>>>> _______________________________________________
>>>> Mono-devel-list mailing list
>>>> Mono-devel-list at lists.ximian.com
>>>> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>>>>
>>>>
>>>>
>>>
>>>
>> _______________________________________________
>> Mono-devel-list mailing list
>> Mono-devel-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>>
>>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
More information about the Mono-devel-list
mailing list