[Mono-list] macosx --host=x86_64-apple-darwin10
Sylvain Pointeau
sylvain.pointeau at gmail.com
Wed Jul 21 14:23:31 EDT 2010
that's strange ... how can I introduce dependencies in my system?
make ended with an error:
sgen-os-mach.c: In function ‘mono_sgen_thread_handshake’:
sgen-os-mach.c:101: warning: implicit declaration of function
‘UCONTEXT_GREGS’
sgen-os-mach.c:101: warning: nested extern declaration of ‘UCONTEXT_GREGS’
sgen-os-mach.c:101: error: ‘REG_RAX’ undeclared (first use in this function)
sgen-os-mach.c:101: error: (Each undeclared identifier is reported only once
sgen-os-mach.c:101: error: for each function it appears in.)
sgen-os-mach.c:101: error: ‘REG_RBX’ undeclared (first use in this function)
sgen-os-mach.c:101: error: ‘REG_RCX’ undeclared (first use in this function)
sgen-os-mach.c:101: error: ‘REG_RDX’ undeclared (first use in this function)
sgen-os-mach.c:101: error: ‘REG_RSI’ undeclared (first use in this function)
sgen-os-mach.c:101: error: ‘REG_RDI’ undeclared (first use in this function)
sgen-os-mach.c:101: error: ‘REG_RBP’ undeclared (first use in this function)
sgen-os-mach.c:101: error: ‘REG_R8’ undeclared (first use in this function)
sgen-os-mach.c:101: error: ‘REG_R9’ undeclared (first use in this function)
sgen-os-mach.c:101: error: ‘REG_R10’ undeclared (first use in this function)
sgen-os-mach.c:101: error: ‘REG_R11’ undeclared (first use in this function)
sgen-os-mach.c:101: error: ‘REG_R12’ undeclared (first use in this function)
sgen-os-mach.c:101: error: ‘REG_R13’ undeclared (first use in this function)
sgen-os-mach.c:101: error: ‘REG_R14’ undeclared (first use in this function)
sgen-os-mach.c:101: error: ‘REG_R15’ undeclared (first use in this function)
make[3]: *** [libmonoruntimesgen_la-sgen-os-mach.lo] Error 1
I installed:
boost
cmake
git
Qt
readline
sqlite
icu
for compiling mono, I installed
gettext 0.18.1.1
libiconv 1.13.1
glib-2.24.1
I never installed something in /usr/bin
my system was reinstalled for Snow-leopard...
How could I have introduce weird dependencies ?
strange ...
Best regards,
Sylvain
On Wed, Jul 21, 2010 at 8:15 PM, Geoff Norton <gnorton at novell.com> wrote:
> You seem to have installed a bunch of weird dependencies into your
> environment. I suggest following the wiki with a clean environment.
>
> iconv is included with osx, eglib is the only support glib method on x86_64
> darwin, etc.
>
> -g
>
> On 2010-07-21, at 2:06 PM, Sylvain Pointeau wrote:
>
> I re-installed libiconv on /usr/local/
>
> and I run the command:
>
> CPPFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib" ./autogen.sh
> --prefix=/user/local/mono270/ --host=x86_64-apple-darwin10
>
> I had a message saying I should not use host but build? do you have an
> idea?
> what are the value I can put? same as host?
>
> but I made "make", seems to run now.
>
> is it correct?
>
> Best regards,
> Sylvain
>
> On Wed, Jul 21, 2010 at 6:45 PM, Geoff Norton <gnorton at novell.com> wrote:
>
>> You dont; only eglib is supported on x86-64; libiconv is shipped with
>> apples compiler tho; so you'll need to figure out whats wrong with your
>> environment.
>>
>> -g
>>
>> On 2010-07-21, at 12:41 PM, Sylvain Pointeau wrote:
>>
>> 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
>>
>>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20100721/2865426e/attachment.html
More information about the Mono-list
mailing list