[Mono-list] macosx --host=x86_64-apple-darwin10
Sylvain Pointeau
sylvain.pointeau at gmail.com
Wed Jul 21 12:42:35 EDT 2010
I just made
> svn co http://anonsvn.mono-project.com/source/trunk/mono
> ./autogen.sh --prefix=/user/local/mono270/ --host=x86_64-apple-darwin10
> make
I have:
Undefined symbols:
"_libiconv_open", referenced from:
_monoeg_g_convert in libeglib.a(libeglib_la-
gunicode.o)
"_libiconv_close", referenced from:
_monoeg_g_convert in libeglib.a(libeglib_la-gunicode.o)
"_libiconv", referenced from:
_monoeg_g_convert in libeglib.a(libeglib_la-gunicode.o)
ld: symbol(s) not found
How to force it by taking the glib2 in my /usr/local/ ?
Many thanks for your help,
Sylvain
On Wed, Jul 21, 2010 at 6:15 PM, Geoff Norton <gnorton at novell.com> wrote:
> You took some ancient revision; the current mono revision is in the 160000
> range; you took 142439
>
> Check the sources out
>
> -g
>
> On 2010-07-21, at 12:13 PM, Sylvain Pointeau wrote:
>
> I am taking the tar.gz from svn...
> so it should compile right?
>
> On Wed, Jul 21, 2010 at 5:59 PM, Geoff Norton <gnorton at novell.com> wrote:
>
>> 64-bit support on OSX is only experimentally supported on SVN and Intel
>>
>> -g
>>
>> On 2010-07-21, at 11:45 AM, Sylvain Pointeau wrote:
>>
>> Hi,
>>
>> I am running in 64bits mode on my mac and I compiled everything in 64
>> bits.
>> therefore now, I am obliged to compile Mono in 64b as well.
>> I thought it will work to take the SVN version and to compile it with the
>> configure below:
>>
>> ./configure --prefix=/user/local/mono270/ --host=x86_64-apple-darwin10
>>
>> but I have this error then:
>>
>> /bin/sh ./libtool --mode=compile gcc -DPACKAGE_NAME=\"libgc-mono\"
>> -DPACKAGE_TARNAME=\"libgc-mono\" -DPACKAGE_VERSION=\"6.6\"
>> -DPACKAGE_STRING=\"libgc-mono\ 6.6\" -DPACKAGE_BUGREPORT=\"
>> Hans_Boehm at hp.com\" -DGC_DARWIN_THREADS=1 -DTHREAD_LOCAL_ALLOC=1
>> -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
>> -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
>> -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DSILENT=1
>> -DNO_SIGNALS=1 -DNO_EXECUTE_PERMISSION=1 -DJAVA_FINALIZATION=1
>> -DGC_GCJ_SUPPORT=1 -DATOMIC_UNCOLLECTABLE=1 -D_IN_LIBGC=1 -I./.. -I./..
>> -I./include -no-cpp-precomp -D_THREAD_SAFE -DGC_MACOSX_THREADS
>> -DPLATFORM_MACOSX -DUSE_MMAP -DUSE_MUNMAP
>> -DGetCurrentProcess=MonoGetCurrentProcess
>> -DGetCurrentThread=MonoGetCurrentThread -DCreateEvent=MonoCreateEvent -g
>> -MT allchblk.lo -MD -MP -MF .deps/allchblk.Tpo -c -o allchblk.lo allchblk.c
>> mkdir .libs
>> gcc -DPACKAGE_NAME=\"libgc-mono\" -DPACKAGE_TARNAME=\"libgc-mono\"
>> -DPACKAGE_VERSION=\"6.6\" "-DPACKAGE_STRING=\"libgc-mono 6.6\""
>> -DPACKAGE_BUGREPORT=\"Hans_Boehm at hp.com\" -DGC_DARWIN_THREADS=1
>> -DTHREAD_LOCAL_ALLOC=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
>> -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
>> -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
>> -DHAVE_DLFCN_H=1 -DSILENT=1 -DNO_SIGNALS=1 -DNO_EXECUTE_PERMISSION=1
>> -DJAVA_FINALIZATION=1 -DGC_GCJ_SUPPORT=1 -DATOMIC_UNCOLLECTABLE=1
>> -D_IN_LIBGC=1 -I./.. -I./.. -I./include -no-cpp-precomp -D_THREAD_SAFE
>> -DGC_MACOSX_THREADS -DPLATFORM_MACOSX -DUSE_MMAP -DUSE_MUNMAP
>> -DGetCurrentProcess=MonoGetCurrentProcess
>> -DGetCurrentThread=MonoGetCurrentThread -DCreateEvent=MonoCreateEvent -g -MT
>> allchblk.lo -MD -MP -MF .deps/allchblk.Tpo -c allchblk.c -fno-common -DPIC
>> -o .libs/allchblk.o
>> In file included from ./include/private/gc_priv.h:66,
>> from allchblk.c:19:
>> ./include/private/gcconfig.h:500: error: expected identifier or ‘(’ before
>> ‘--’ token
>> make[3]: *** [allchblk.lo] Error 1
>> make[2]: *** [all-recursive] Error 1
>> make[1]: *** [all-recursive] Error 1
>> make: *** [all] Error 2
>>
>> the configure command gave me this summary:
>>
>> mcs source: $(top_srcdir)/mcs
>> olive source:
>>
>> GC: included
>> GLIB: system
>> TLS: pthread
>> SIGALTSTACK: no
>> Engine: Building and using the JIT
>> 2.0 Profile: yes
>> Moon Profile: yes
>> 4.0 Alpha: no
>> MonoTouch: no
>> JNI support: IKVM Native
>> libgdiplus: assumed to be installed
>> zlib: bundled zlib
>> oprofile: no
>> BigArrays: no
>> DTrace: no
>> Parallel Mark: Disabled_Currently_Hangs_On_MacOSX
>> LLVM Back End: no
>>
>> and I took the tar.gz from
>> http://mono.ximian.com/monobuild/snapshot/snapshot_sources/mono/mono-142439.tar.bz2
>>
>> I saw this message from the "how to build from source MACOSX"<http://www.mono-project.com/Compiling_Mono_on_OSX>
>>
>> "If you wish to try the experimental 64-bit x86 support available in 2.7+
>> you should check out mono from svn and do:
>>
>> $ cd mono-trunk
>> $ ./configure --prefix=DIR --with-glib=embedded --host=x86_64-apple-darwin10
>>
>>
>> $ make
>> $ make install
>>
>> "
>>
>> What should I do?
>> is it possible to have it 64 bits?
>>
>> best regards,
>> Sylvain
>>
>>
>>
>>
>> _______________________________________________
>> Mono-list maillist - Mono-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-list
>>
>>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20100721/11ab8894/attachment.html
More information about the Mono-list
mailing list