[Mono-dev] Mono 2.8 (trunk) compiling on Mac OS X 10.6 (SL)

nmccready nmccready at gmail.com
Wed Apr 20 00:04:57 EDT 2011


Ok so I thought my mac was hosed. I reinstalled Mac OSX Snow leapord from
scratch. Installed XCODE from the disk and got all the updates. It is still
not building!

Following these directions 
http://www.mono-project.com/Compiling_Mono_on_OSX here !


Nicholas-McCreadys-MacBook-Pro:mono-20110419 nmccready$ make
make  all-recursive
Making all in po
Making all in mcs
make[3]: Nothing to be done for `all-am'.
Making all in libgc
Making all in include
Making all in private
make[4]: Nothing to be done for `all'.
make[4]: Nothing to be done for `all-am'.
Making all in doc
make[3]: Nothing to be done for `all'.
make[3]: Nothing to be done for `all-am'.
Making all in eglib
make  all-recursive
Making all in src
make[4]: Nothing to be done for `all'.
make[4]: Nothing to be done for `all-am'.
Making all in mono
Making all in utils
make  all-am
/bin/sh ../../libtool --quiet --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H
-I. -I../.. -I../.. -I../../mono -I../../libgc/include -I../../eglib/src
-I../../eglib/src  -no-cpp-precomp -D_THREAD_SAFE -DGC_MACOSX_THREADS
-DPLATFORM_MACOSX -DUSE_MMAP -DUSE_MUNMAP
-DGetCurrentProcess=MonoGetCurrentProcess
-DGetCurrentThread=MonoGetCurrentThread -DCreateEvent=MonoCreateEvent 
-D__default_codegen__  -g -O2 -fno-strict-aliasing -g -Wall -Wunused
-Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes 
-Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-cast-qual
-Wwrite-strings -MT mono-threads.lo -MD -MP -MF .deps/mono-threads.Tpo -c -o
mono-threads.lo mono-threads.c
mono-threads.c:13:33: error: mono/utils/mono-tls.h: No such file or
directory
mono-threads.c:41: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘thread_info_key’
mono-threads.c: In function ‘register_thread’:
mono-threads.c:130: warning: implicit declaration of function
‘mono_native_tls_set_value’
mono-threads.c:130: warning: nested extern declaration of
‘mono_native_tls_set_value’
mono-threads.c:130: error: ‘thread_info_key’ undeclared (first use in this
function)
mono-threads.c:130: error: (Each undeclared identifier is reported only once
mono-threads.c:130: error: for each function it appears in.)
mono-threads.c: In function ‘mono_thread_info_current’:
mono-threads.c:160: warning: implicit declaration of function
‘mono_native_tls_get_value’
mono-threads.c:160: warning: nested extern declaration of
‘mono_native_tls_get_value’
mono-threads.c:160: error: ‘thread_info_key’ undeclared (first use in this
function)
mono-threads.c:160: warning: return makes pointer from integer without a
cast
mono-threads.c: In function ‘mono_thread_info_attach’:
mono-threads.c:172: error: ‘thread_info_key’ undeclared (first use in this
function)
mono-threads.c:172: warning: initialization makes pointer from integer
without a cast
mono-threads.c: In function ‘mono_thread_info_dettach’:
mono-threads.c:187: error: ‘thread_info_key’ undeclared (first use in this
function)
mono-threads.c:187: warning: initialization makes pointer from integer
without a cast
mono-threads.c: In function ‘mono_threads_init’:
mono-threads.c:203: warning: implicit declaration of function
‘mono_native_tls_alloc’
mono-threads.c:203: warning: nested extern declaration of
‘mono_native_tls_alloc’
mono-threads.c:203: error: ‘thread_info_key’ undeclared (first use in this
function)
make[4]: *** [mono-threads.lo] Error 1
make[3]: *** [all] Error 2
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Nicholas-McCreadys-MacBook-Pro:mono-20110419 nmccready$ DGC_MACOSX_THREADS
-DPLATFORM_MACOSX -DUSE_MMAP -DUSE_MUNMAP
-DGetCurrentProcess=MonoGetCurrentProcess
-DGetCurrentThread=MonoGetCurrentThread -DCreateEvent=MonoCreateEvent 
-D__default_codegen__  -g -O2 -fno-strict-aliasing -g -Wall -Wunused
-Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes 
-Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-cast-qual
-Wwrite-strings -MT mono-threads.lo -MD -MP -MF .deps/mono-threads.Tpo -c -o
mono-threads.lo mono-threads.c
-bash: DGC_MACOSX_THREADS: command not found
Nicholas-McCreadys-MacBook-Pro:mono-20110419 nmccready$
mono-threads.c:13:33: error: mono/utils/mono-tls.h: No such file or
directory
-bash: mono-threads.c:13:33:: command not found
Nicholas-McCreadys-MacBook-Pro:mono-20110419 nmccready$ mono-threads.c:41:
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before
‘thread_info_key’
-bash: mono-threads.c:41:: command not found
-bash: ’,: command not found
Nicholas-McCreadys-MacBook-Pro:mono-20110419 nmccready$ mono-threads.c: In
function ‘register_thread’:
-bash: mono-threads.c:: command not found
Nicholas-McCreadys-MacBook-Pro:mono-20110419 nmccready$ mono-threads.c:130:
warning: implicit declaration of function ‘mono_native_tls_set_value’
-bash: mono-threads.c:130:: command not found
Nicholas-McCreadys-MacBook-Pro:mono-20110419 nmccready$ mono-threads.c:130:
warning: nested extern declaration of ‘mono_native_tls_set_value’
-bash: mono-threads.c:130:: command not found
Nicholas-McCreadys-MacBook-Pro:mono-20110419 nmccready$ mono-threads.c:130:
error: ‘thread_info_key’ undeclared (first use in this function)
-bash: syntax error near unexpected token `('
Nicholas-McCreadys-MacBook-Pro:mono-20110419 nmccready$ mono-threads.c:130:
error: (Each undeclared identifier is reported only once
-bash: syntax error near unexpected token `('
Nicholas-McCreadys-MacBook-Pro:mono-20110419 nmccready$ mono-threads.c:130:
error: for each function it appears in.)
-bash: syntax error near unexpected token `)'
Nicholas-McCreadys-MacBook-Pro:mono-20110419 nmccready$ mono-threads.c: In
function ‘mono_thread_info_current’:
-bash: mono-threads.c:: command not found
Nicholas-McCreadys-MacBook-Pro:mono-20110419 nmccready$ mono-threads.c:160:
warning: implicit declaration of function ‘mono_native_tls_get_value’
-bash: mono-threads.c:160:: command not found
Nicholas-McCreadys-MacBook-Pro:mono-20110419 nmccready$ mono-threads.c:160:
warning: nested extern declaration of ‘mono_native_tls_get_value’
-bash: mono-threads.c:160:: command not found
Nicholas-McCreadys-MacBook-Pro:mono-20110419 nmccready$ mono-threads.c:160:
error: ‘thread_info_key’ undeclared (first use in this function)
-bash: syntax error near unexpected token `('
Nicholas-McCreadys-MacBook-Pro:mono-20110419 nmccready$ mono-threads.c:160:
warning: return makes pointer from integer without a cast
-bash: mono-threads.c:160:: command not found
Nicholas-McCreadys-MacBook-Pro:mono-20110419 nmccready$ mono-threads.c: In
function ‘mono_thread_info_attach’:
-bash: mono-threads.c:: command not found
Nicholas-McCreadys-MacBook-Pro:mono-20110419 nmccready$ mono-threads.c:172:
error: ‘thread_info_key’ undeclared (first use in this function)
-bash: syntax error near unexpected token `('
Nicholas-McCreadys-MacBook-Pro:mono-20110419 nmccready$ mono-threads.c:172:
warning: initialization makes pointer from integer without a cast
-bash: mono-threads.c:172:: command not found
Nicholas-McCreadys-MacBook-Pro:mono-20110419 nmccready$ mono-threads.c: In
function ‘mono_thread_info_dettach’:
-bash: mono-threads.c:: command not found
Nicholas-McCreadys-MacBook-Pro:mono-20110419 nmccready$ mono-threads.c:187:
error: ‘thread_info_key’ undeclared (first use in this function)
-bash: syntax error near unexpected token `('
Nicholas-McCreadys-MacBook-Pro:mono-20110419 nmccready$ mono-threads.c:187:
warning: initialization makes pointer from integer without a cast
-bash: mono-threads.c:187:: command not found
Nicholas-McCreadys-MacBook-Pro:mono-20110419 nmccready$ mono-threads.c: In
function ‘mono_threads_init’:
-bash: mono-threads.c:: command not found
Nicholas-McCreadys-MacBook-Pro:mono-20110419 nmccready$ mono-threads.c:203:
warning: implicit declaration of function ‘mono_native_tls_alloc’
-bash: mono-threads.c:203:: command not found
Nicholas-McCreadys-MacBook-Pro:mono-20110419 nmccready$ mono-threads.c:203:
warning: nested extern declaration of ‘mono_native_tls_alloc’
-bash: mono-threads.c:203:: command not found
Nicholas-McCreadys-MacBook-Pro:mono-20110419 nmccready$ mono-threads.c:203:
error: ‘thread_info_key’ undeclared (first use in this function)
-bash: syntax error near unexpected token `('
Nicholas-McCreadys-MacBook-Pro:mono-20110419 nmccready$ make[4]: ***
[mono-threads.lo] Error 1
-bash: make[4]:: command not found
Nicholas-McCreadys-MacBook-Pro:mono-20110419 nmccready$ make[3]: *** [all]
Error 2
-bash: make[3]:: command not found
Nicholas-McCreadys-MacBook-Pro:mono-20110419 nmccready$ make[2]: ***
[all-recursive] Error 1
-bash: make[2]:: command not found
Nicholas-McCreadys-MacBook-Pro:mono-20110419 nmccready$ make[1]: ***
[all-recursive] Error 1
-bash: make[1]:: command not found
Nicholas-McCreadys-MacBook-Pro:mono-20110419 nmccready$ make: *** [all]
Error 2


--
View this message in context: http://mono.1490590.n4.nabble.com/Mono-2-8-trunk-compiling-on-Mac-OS-X-10-6-SL-tp2133834p3462083.html
Sent from the Mono - Dev mailing list archive at Nabble.com.


More information about the Mono-devel-list mailing list