[Comm] Ошибка линковки (?) с glib(?) и gmime

Dmitry Alexeyev =?iso-8859-1?q?dmi=5Fa_=CE=C1_qnx=2Eorg=2Eru?=
Чт Янв 22 17:54:38 MSK 2004


Добрый день! 

Получаю вот такие ошибки при сборке программы с glib2 и gmime2.
В чём может быть проблема? 

WBR,
Dmitry


[dmi на dmi mbox2mysql-0.3]$ make
gcc -g -Wall -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   
-I/usr/include/gmime-2.0 -I/usr/include/glib-2.0 
-I/usr/lib/glib-2.0/include     mysql.o mbox.o db.o -lmysqlclient 
-lglib-2.0   -lgmime-2.0 -lnsl    -o mbox2mysql
mbox.o(.text+0x2b1): In function `process_multipart':
/home/dmi/_wrk/mboxfix/mbox2mysql-0.3/mbox.c:115: undefined reference to 
`g_type_check_instance_cast'
mbox.o(.text+0x336):/home/dmi/_wrk/mboxfix/mbox2mysql-0.3/mbox.c:124: 
undefined reference to `g_type_check_instance_is_a'
mbox.o(.text+0x3ac):/home/dmi/_wrk/mboxfix/mbox2mysql-0.3/mbox.c:135: 
undefined reference to `g_type_check_instance_is_a'
mbox.o(.text+0x456): In function `process_message_part':
/home/dmi/_wrk/mboxfix/mbox2mysql-0.3/mbox.c:182: undefined reference to 
`g_type_check_instance_cast'
mbox.o(.text+0x50a): In function `process_part':
/home/dmi/_wrk/mboxfix/mbox2mysql-0.3/mbox.c:213: undefined reference to 
`g_type_check_instance_cast'
mbox.o(.text+0xf78): In function `process_message':
/home/dmi/_wrk/mboxfix/mbox2mysql-0.3/mbox.c:601: undefined reference to 
`g_object_unref'
db.o(.text+0xdb1): In function `extract_mime':
/home/dmi/_wrk/mboxfix/mbox2mysql-0.3/db.c:426: undefined reference to 
`g_type_check_instance_cast'
db.o(.text+0xf58):/home/dmi/_wrk/mboxfix/mbox2mysql-0.3/db.c:482: 
undefined reference to `g_type_check_instance_cast'
/usr/lib/gcc-lib/i586-alt-linux/3.2.3/../../../libgmime-2.0.so: 
undefined reference to `g_object_new'
/usr/lib/gcc-lib/i586-alt-linux/3.2.3/../../../libgmime-2.0.so: 
undefined reference to `g_type_check_class_cast'
/usr/lib/gcc-lib/i586-alt-linux/3.2.3/../../../libgmime-2.0.so: 
undefined reference to `g_type_register_static'
/usr/lib/gcc-lib/i586-alt-linux/3.2.3/../../../libgmime-2.0.so: 
undefined reference to `g_object_ref'
/usr/lib/gcc-lib/i586-alt-linux/3.2.3/../../../libgmime-2.0.so: 
undefined reference to `g_type_init'
/usr/lib/gcc-lib/i586-alt-linux/3.2.3/../../../libgmime-2.0.so: 
undefined reference to `g_type_class_ref'
collect2: ld returned 1 exit status
make: *** [all] Ошибка 1




Подробная информация о списке рассылки community