[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 

A test run looks like:

$ 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%
as -o temp.o temp.s
gcc -mno-cygwin -g -o jpegp4d-mono.exe -Wall temp.c `pkg-config --cflags 
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: 

   CYGWIN environment variable option "nodosfilewarning" turns off this 
   Consult the user's guide for more details about POSIX paths:
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 
/cygdrive/d/paco/jpegp4d-deploy/temp.c:185: undefined reference to 
collect2: ld returned 1 exit status

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).


More information about the Mono-devel-list mailing list