[Mono-list] mkbunde: no entry point

Julien Sobrier julien at sobrier.net
Thu Apr 26 00:07:47 EDT 2007


Hello,
I've tried mkbundle2 with mono 1.2.3.1 on a project composed of a couple
of assemblies (1 exe + 4 dll). Everything went fine except for this
error message repeated serveral time:
temp.c: In function 'install_dll_config_files':
temp.c:142: warning: pointer targets in passing argument 2 of
'mono_register_config_for_assembly' differ in signedness

When I try to execute the resulting program,I get this error: Assembly
'data-0x8049ac0' doesn't have an entry point.

Here is the complete output:
[julien at home test]$ sudo mkbundle2 -o test 1.dll 2.dll 3.dll test.exe --deps
OS is: Linux
Sources: 15 Auto-dependencies: True
   embedding: /home/julien/1.dll
 config from: /home/julien/1.config
   embedding: /usr/lib/mono/2.0/mscorlib.dll
   embedding:
/usr/lib/mono/gac/Mono.Posix/2.0.0.0__0738eb9f132ed756/Mono.Posix.dll
   embedding: /usr/lib/mono/gac/System/2.0.0.0__b77a5c561934e089/System.dll
   embedding:
/usr/lib/mono/gac/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
   embedding:
/usr/lib/mono/gac/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
   embedding:
/usr/lib/mono/gac/System.Security/2.0.0.0__b03f5f7f11d50a3a/System.Security.dll
   embedding:
/usr/lib/mono/gac/Mono.Security/2.0.0.0__0738eb9f132ed756/Mono.Security.dll
   embedding: /home/julien/Hal.dll
   embedding: /home/julien/NDesk.DBus.dll
   embedding:
/usr/lib/mono/gac/gtk-sharp/2.10.0.0__35e10195dab3c99f/gtk-sharp.dll
 config from:
/usr/lib/mono/gac/gtk-sharp/2.10.0.0__35e10195dab3c99f/gtk-sharp.dll.config
   embedding:
/usr/lib/mono/gac/glib-sharp/2.10.0.0__35e10195dab3c99f/glib-sharp.dll
 config from:
/usr/lib/mono/gac/glib-sharp/2.10.0.0__35e10195dab3c99f/glib-sharp.dll.config
   embedding:
/usr/lib/mono/gac/gdk-sharp/2.10.0.0__35e10195dab3c99f/gdk-sharp.dll
 config from:
/usr/lib/mono/gac/gdk-sharp/2.10.0.0__35e10195dab3c99f/gdk-sharp.dll.config
   embedding:
/usr/lib/mono/gac/Mono.Cairo/2.0.0.0__0738eb9f132ed756/Mono.Cairo.dll
   embedding:
/usr/lib/mono/gac/pango-sharp/2.10.0.0__35e10195dab3c99f/pango-sharp.dll
 config from:
/usr/lib/mono/gac/pango-sharp/2.10.0.0__35e10195dab3c99f/pango-sharp.dll.config
   embedding:
/usr/lib/mono/gac/atk-sharp/2.10.0.0__35e10195dab3c99f/atk-sharp.dll
 config from:
/usr/lib/mono/gac/atk-sharp/2.10.0.0__35e10195dab3c99f/atk-sharp.dll.config
   embedding: /home/julien/2.dll
 config from: /home/julien/2.config
   embedding: /home/julien/3.dll
 config from: /home/julien/3.dll.config
   embedding:
/usr/lib/mono/gac/gnome-sharp/2.16.0.0__35e10195dab3c99f/gnome-sharp.dll
 config from:
/usr/lib/mono/gac/gnome-sharp/2.16.0.0__35e10195dab3c99f/gnome-sharp.dll.config
   embedding:
/usr/lib/mono/gac/art-sharp/2.16.0.0__35e10195dab3c99f/art-sharp.dll
 config from:
/usr/lib/mono/gac/art-sharp/2.16.0.0__35e10195dab3c99f/art-sharp.dll.config
   embedding:
/usr/lib/mono/gac/gnome-vfs-sharp/2.16.0.0__35e10195dab3c99f/gnome-vfs-sharp.dll
 config from:
/usr/lib/mono/gac/gnome-vfs-sharp/2.16.0.0__35e10195dab3c99f/gnome-vfs-sharp.dll.config
   embedding:
/usr/lib/mono/gac/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
   embedding:
/usr/lib/mono/gac/Mono.Data.Tds/2.0.0.0__0738eb9f132ed756/Mono.Data.Tds.dll
   embedding:
/usr/lib/mono/gac/System.Transactions/2.0.0.0__b77a5c561934e089/System.Transactions.dll
   embedding:
/usr/lib/mono/gac/System.EnterpriseServices/2.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
   embedding:
/usr/lib/mono/gac/glade-sharp/2.10.0.0__35e10195dab3c99f/glade-sharp.dll
 config from:
/usr/lib/mono/gac/glade-sharp/2.10.0.0__35e10195dab3c99f/glade-sharp.dll.config
   embedding:
/usr/lib/mono/gac/gconf-sharp/2.16.0.0__35e10195dab3c99f/gconf-sharp.dll
 config from:
/usr/lib/mono/gac/gconf-sharp/2.16.0.0__35e10195dab3c99f/gconf-sharp.dll.config
   embedding:
/usr/lib/mono/gac/Mono.Data.SqliteClient/2.0.0.0__0738eb9f132ed756/Mono.Data.SqliteClient.dll
   embedding: /home/julien/test.exe
 config from: /home/julien/test.exe.config
Compiling:
as -o temp.o temp.s
cc -ggdb -o test -Wall temp.c `pkg-config --cflags --libs mono`  temp.o
temp.c: In function 'install_dll_config_files':
temp.c:142: warning: pointer targets in passing argument 2 of
'mono_register_config_for_assembly' differ in signedness
temp.c:144: warning: pointer targets in passing argument 2 of
'mono_register_config_for_assembly' differ in signedness
temp.c:146: warning: pointer targets in passing argument 2 of
'mono_register_config_for_assembly' differ in signedness
temp.c:148: warning: pointer targets in passing argument 2 of
'mono_register_config_for_assembly' differ in signedness
temp.c:150: warning: pointer targets in passing argument 2 of
'mono_register_config_for_assembly' differ in signedness
temp.c:152: warning: pointer targets in passing argument 2 of
'mono_register_config_for_assembly' differ in signedness
temp.c:154: warning: pointer targets in passing argument 2 of
'mono_register_config_for_assembly' differ in signedness
temp.c:156: warning: pointer targets in passing argument 2 of
'mono_register_config_for_assembly' differ in signedness
temp.c:158: warning: pointer targets in passing argument 2 of
'mono_register_config_for_assembly' differ in signedness
temp.c:160: warning: pointer targets in passing argument 2 of
'mono_register_config_for_assembly' differ in signedness
temp.c:162: warning: pointer targets in passing argument 2 of
'mono_register_config_for_assembly' differ in signedness
temp.c:164: warning: pointer targets in passing argument 2 of
'mono_register_config_for_assembly' differ in signedness
temp.c:166: warning: pointer targets in passing argument 2 of
'mono_register_config_for_assembly' differ in signedness
temp.c:168: warning: pointer targets in passing argument 2 of
'mono_register_config_for_assembly' differ in signedness
temp.c:170: warning: pointer targets in passing argument 2 of
'mono_register_config_for_assembly' differ in signedness
Done

[julien at home test]$ ./test
Assembly 'data-0x8049ac0' doesn't have an entry point.

Thank you


More information about the Mono-list mailing list