mail-archives/mono-bugs/2010-October/104804.html

214 строки
6.0 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-bugs] [Bug 645920] New: mkbundle fails due to missing reference to g_utf16_to_utf8 (2.8.0, Windows XP)
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%20645920%5D%20New%3A%20mkbundle%20fails%20due%20to%20missing%0A%20reference%20to%20g_utf16_to_utf8%20%282.8.0%2C%20Windows%20XP%29&In-Reply-To=">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="104801.html">
<LINK REL="Next" HREF="104805.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-bugs] [Bug 645920] New: mkbundle fails due to missing reference to g_utf16_to_utf8 (2.8.0, Windows XP)</H1>
<B>bugzilla_noreply at novell.com</B>
<A HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%20645920%5D%20New%3A%20mkbundle%20fails%20due%20to%20missing%0A%20reference%20to%20g_utf16_to_utf8%20%282.8.0%2C%20Windows%20XP%29&In-Reply-To="
TITLE="[Mono-bugs] [Bug 645920] New: mkbundle fails due to missing reference to g_utf16_to_utf8 (2.8.0, Windows XP)">bugzilla_noreply at novell.com
</A><BR>
<I>Tue Oct 12 16:27:54 EDT 2010</I>
<P><UL>
<LI>Previous message: <A HREF="104801.html">[Mono-bugs] [Bug 583901] GInterfaces no longer work, crash with invalid class pointer in gtype.c
</A></li>
<LI>Next message: <A HREF="104805.html">[Mono-bugs] [Bug 434793] Tooltips not supported
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#104804">[ date ]</a>
<a href="thread.html#104804">[ thread ]</a>
<a href="subject.html#104804">[ subject ]</a>
<a href="author.html#104804">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>
<A HREF="https://bugzilla.novell.com/show_bug.cgi?id=645920">https://bugzilla.novell.com/show_bug.cgi?id=645920</A>
<A HREF="https://bugzilla.novell.com/show_bug.cgi?id=645920#c0">https://bugzilla.novell.com/show_bug.cgi?id=645920#c0</A>
Summary: mkbundle fails due to missing reference to
g_utf16_to_utf8 (2.8.0, Windows XP)
Classification: Mono
Product: Mono: Tools
Version: 2.8.x
Platform: i686
OS/Version: Windows XP
Status: NEW
Severity: Normal
Priority: P5 - None
Component: tools
AssignedTo: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">mono-bugs at lists.ximian.com</A>
ReportedBy: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">patrick.kowalzick at web.de</A>
QAContact: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">mono-bugs at lists.ximian.com</A>
Found By: ---
Blocker: ---
User-Agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.2.10)
Gecko/20100922 Ubuntu/10.10 (maverick) Firefox/3.6.10
mkbundle fails with errors:
$ mkbundle -z -o jpegp4d-mono.exe jpegp4d-mono-sharp.exe
OS is: Windows
Sources: 1 Auto-dependencies: False
embedding: D:\paco\jpegp4d-deploy\jpegp4d-mono-sharp.exe
compression ratio: 38.11%
Compiling:
as -o temp.o temp.s
gcc -mno-cygwin -g -o jpegp4d-mono.exe -Wall temp.c `pkg-config --cflags
--libs
mono-2|dos2unix` -lz temp.o
cygwin warning:
MS-DOS style path detected: C:/Programme/Mono-2.8/include/mono-2.0
Preferred POSIX equivalent is:
/cygdrive/c/Programme/Mono-2.8/include/mono-2.0
CYGWIN environment variable option &quot;nodosfilewarning&quot; turns off this
warning.
Consult the user's guide for more details about POSIX paths:
<A HREF="http://cygwin.com/cygwin-ug-net/using.html#using-pathnames">http://cygwin.com/cygwin-ug-net/using.html#using-pathnames</A>
temp.c: In function `main':
temp.c:170: warning: implicit declaration of function `g_utf16_to_utf8'
temp.c:170: warning: assignment makes pointer from integer without a cast
temp.c:185: warning: assignment makes pointer from integer without a cast
/tmp/ccgvpEs0.o: In function `main':
/cygdrive/d/paco/jpegp4d-deploy/temp.c:170: undefined reference to
`_g_utf16_to_
utf8'
/cygdrive/d/paco/jpegp4d-deploy/temp.c:185: undefined reference to
`_g_utf16_to_
utf8'
collect2: ld returned 1 exit status
[Fail]
Errors appear because of command line options handling (?), see comment below:
/* CommandLineToArgvW() might return a different argc than the
* one passed to main(), so let it overwrite that, as we won't
* use argv[] on Windows anyway.
*/
Workaround, if no command line options used:
Edit temp.c and replace all
#ifdef _WIN32
with
#ifdef _WIN32_NOTTHISONE
except the one for
#include &lt;windows.h&gt;
restart failed gcc command.
Reproducible: Always
Steps to Reproduce:
1. Create simple C# project
2. Run mkbundle
Actual Results:
No executable compiled.
Expected Results:
Compiled executable.
--
Configure bugmail: <A HREF="https://bugzilla.novell.com/userprefs.cgi?tab=email">https://bugzilla.novell.com/userprefs.cgi?tab=email</A>
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="104801.html">[Mono-bugs] [Bug 583901] GInterfaces no longer work, crash with invalid class pointer in gtype.c
</A></li>
<LI>Next message: <A HREF="104805.html">[Mono-bugs] [Bug 434793] Tooltips not supported
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#104804">[ date ]</a>
<a href="thread.html#104804">[ thread ]</a>
<a href="subject.html#104804">[ subject ]</a>
<a href="author.html#104804">[ author ]</a>
</LI>
</UL>
<hr>
<a href="http://lists.ximian.com/mailman/listinfo/mono-bugs">More information about the mono-bugs
mailing list</a><br>
</body></html>