зеркало из https://github.com/mono/mail-archives.git
111 строки
5.2 KiB
HTML
111 строки
5.2 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE> [Mono-osx] mkbundle fails on Snow Leopard or Mono 2.4.2.3
|
|
</TITLE>
|
|
<LINK REL="Index" HREF="index.html" >
|
|
<LINK REL="made" HREF="mailto:mono-osx%40lists.ximian.com?Subject=%5BMono-osx%5D%20mkbundle%20fails%20on%20Snow%20Leopard%20or%20Mono%202.4.2.3&In-Reply-To=be1da43f0910202355j5fd03fe9sa3b775e0484dd0d9%40mail.gmail.com">
|
|
<META NAME="robots" CONTENT="index,nofollow">
|
|
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
|
|
<LINK REL="Previous" HREF="002552.html">
|
|
<LINK REL="Next" HREF="002553.html">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#ffffff">
|
|
<H1>[Mono-osx] mkbundle fails on Snow Leopard or Mono 2.4.2.3</H1>
|
|
<B>Duane Wandless</B>
|
|
<A HREF="mailto:mono-osx%40lists.ximian.com?Subject=%5BMono-osx%5D%20mkbundle%20fails%20on%20Snow%20Leopard%20or%20Mono%202.4.2.3&In-Reply-To=be1da43f0910202355j5fd03fe9sa3b775e0484dd0d9%40mail.gmail.com"
|
|
TITLE="[Mono-osx] mkbundle fails on Snow Leopard or Mono 2.4.2.3">duane at wandless.net
|
|
</A><BR>
|
|
<I>Fri Oct 23 13:46:04 EDT 2009</I>
|
|
<P><UL>
|
|
<LI>Previous message: <A HREF="002552.html">[Mono-osx] mkbundle fails on Snow Leopard or Mono 2.4.2.3
|
|
</A></li>
|
|
<LI>Next message: <A HREF="002553.html">[Mono-osx] libsqlite3.0.dylib - SQLITE_ENABLE_COLUMN_METADATA required
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#2557">[ date ]</a>
|
|
<a href="thread.html#2557">[ thread ]</a>
|
|
<a href="subject.html#2557">[ subject ]</a>
|
|
<a href="author.html#2557">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
<HR>
|
|
<!--beginarticle-->
|
|
<PRE>Well I have a workaround. Luckily mkbundle reads the environment variable
|
|
AS. So I added to my login shell:
|
|
export AS="as -arch i386"
|
|
|
|
And now mkbundle works again. I do not know why `as` is failing. The
|
|
`arch` for my system is i386.
|
|
|
|
Thanks.
|
|
|
|
On Wed, Oct 21, 2009 at 2:55 AM, Laurent Etiemble <
|
|
<A HREF="http://lists.ximian.com/mailman/listinfo/mono-osx">laurent.etiemble at gmail.com</A>> wrote:
|
|
|
|
><i> Hello,
|
|
</I>><i>
|
|
</I>><i> I did not noticed problems with mkbundle on Snow Leopard. But, I
|
|
</I>><i> already have this kind of error with an assembly containing a space in
|
|
</I>><i> its name. I suggest you to take a look at the symbol file to check if
|
|
</I>><i> symbol name is not screwed by a forbidden character.
|
|
</I>><i>
|
|
</I>><i> Regards, Laurent Etiemble.
|
|
</I>><i>
|
|
</I>><i> 2009/10/21 Duane Wandless <<A HREF="http://lists.ximian.com/mailman/listinfo/mono-osx">duane at wandless.net</A>>:
|
|
</I>><i> > Hopefully someone can help. I had not run this step in awhile. Since I
|
|
</I>><i> > last ran this I've upgraded to Snow Leopard and Mono version 2.4.2.3.
|
|
</I>><i> > I am trying to use mkbundle like this:
|
|
</I>><i> >> mkbundle -o test.c -oo libtest.a --nomain -c -L System.dll test.dll
|
|
</I>><i> > OS is: Darwin
|
|
</I>><i> > Sources: 1 Auto-dependencies: False
|
|
</I>><i> > embedding: /Users/dwandless/PixSrc/sandbox/testmkbundle/test.dll
|
|
</I>><i> > Compiling:
|
|
</I>><i> > as -o libtest.a temp.s
|
|
</I>><i> > temp.s:2:unknown section type: symbol_stubs
|
|
</I>><i> > temp.s:2:Rest of line ignored. 1st junk character valued 112 (p).
|
|
</I>><i> > [Fail]
|
|
</I>><i> > To workaround this I let it fail, then run:
|
|
</I>><i> >> as -o libtest.a temp.s -arch i386
|
|
</I>><i> > Which then produces the .a file. The contents of test.dll are
|
|
</I>><i> > extraordinarily simple. namespace test { public class test1 { public
|
|
</I>><i> void
|
|
</I>><i> > func() { } } }, something like that.
|
|
</I>><i> > Am I missing something? Is there a better way than having it fail?
|
|
</I>><i> Which
|
|
</I>><i> > of course messes up the make system.
|
|
</I>><i> > Thanks,
|
|
</I>><i> > Duane
|
|
</I>><i> > _______________________________________________
|
|
</I>><i> > Mono-osx mailing list
|
|
</I>><i> > <A HREF="http://lists.ximian.com/mailman/listinfo/mono-osx">Mono-osx at lists.ximian.com</A>
|
|
</I>><i> > <A HREF="http://lists.ximian.com/mailman/listinfo/mono-osx">http://lists.ximian.com/mailman/listinfo/mono-osx</A>
|
|
</I>><i> >
|
|
</I>><i> >
|
|
</I>><i>
|
|
</I>-------------- next part --------------
|
|
An HTML attachment was scrubbed...
|
|
URL: <A HREF="http://lists.ximian.com/pipermail/mono-osx/attachments/20091023/0c5295c2/attachment.html">http://lists.ximian.com/pipermail/mono-osx/attachments/20091023/0c5295c2/attachment.html</A>
|
|
</PRE>
|
|
|
|
<!--endarticle-->
|
|
<HR>
|
|
<P><UL>
|
|
<!--threads-->
|
|
<LI>Previous message: <A HREF="002552.html">[Mono-osx] mkbundle fails on Snow Leopard or Mono 2.4.2.3
|
|
</A></li>
|
|
<LI>Next message: <A HREF="002553.html">[Mono-osx] libsqlite3.0.dylib - SQLITE_ENABLE_COLUMN_METADATA required
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#2557">[ date ]</a>
|
|
<a href="thread.html#2557">[ thread ]</a>
|
|
<a href="subject.html#2557">[ subject ]</a>
|
|
<a href="author.html#2557">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
|
|
<hr>
|
|
<a href="http://lists.ximian.com/mailman/listinfo/mono-osx">More information about the Mono-osx
|
|
mailing list</a><br>
|
|
</body></html>
|