[Mono-dev] Problem running mkbundle using cygwin/windows

Patrick Kowalzick patrick.kowalzick at web.de
Mon Oct 11 12:43:38 EDT 2010


Dear List,

I get an error running mkbundle using cygwin/windows. I installed 
mono-2.8, cygwin 1.7 (gcc-mingw, mingw-zlib) and set up the paths in my 
.bashrc.

A test run looks like:

<testrun>
$ 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 "nodosfilewarning" turns off this 
warning.
   Consult the user's guide for more details about POSIX paths:
     http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
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]
</testrun>

Any ideas what is missing? (I'd guess a header with a valid definition 
of g_utf16_to_utf8, but I was not able to figure out where to find it).

Regards,
Patrick



More information about the Mono-devel-list mailing list