Mono mkbundle issue
Posted
by
Sean
on Stack Overflow
See other posts from Stack Overflow
or by Sean
Published on 2010-12-29T02:47:46Z
Indexed on
2010/12/29
2:54 UTC
Read the original article
Hit count: 583
Hello, I am trying to bundle mono runtime with a C# a simple (console) program that does nothing, but 'hello world'. Got Cygwin, configured it all, though it fails:
$ mkbundle -o x2 x.exe --deps -z
OS is: Windows
Sources: 1 Auto-dependencies: True
embedding: C:\cygwin\home\Sean\x.exe
compression ratio: 31.71%
embedding: C:\PROGRA~2\MONO-2~1.1\lib\mono\4.0\mscorlib.dll
compression ratio: 34.68%
Compiling:
as -o temp.o temp.s
gcc -mno-cygwin -g -o x2 -Wall temp.c `pkg-config --cflags --libs mono-2|dos2unix` -lz temp.o
temp.c: In function `main':
temp.c:173: warning: implicit declaration of function `g_utf16_to_utf8'
temp.c:173: warning: assignment makes pointer from integer without a cast
temp.c:188: warning: assignment makes pointer from integer without a cast
/tmp/ccu8fTcQ.o: In function `main':
/home/Sean/temp.c:173: undefined reference to `_g_utf16_to_utf8'
/home/Sean/temp.c:188: undefined reference to `_g_utf16_to_utf8'
collect2: ld returned 1 exit status
[Fail]
Tried post with similar problem to mine here, but it didn't work either. My configuration:
- Windows 7 64bit
- Mono 2.8.1
- Latest Cygwin
Not sure what's the story here. Help appreciated.
© Stack Overflow or respective owner