Yasin9494 / mrim-prpl

Automatically exported from code.google.com/p/mrim-prpl
0 stars 0 forks source link

Ошибка при компиляции #88

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Добрый день. Fedora 16. При компиляции выдает 
следующее:

[slavchik@SL mrim-prpl-0.1.28]$ make && sudo make install
cc -Os -pipe -shared -fPIC -DPIC  -std=gnu99                 
-I/usr/include/libpurple -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include  
  message.c cl.c package.c mrim.c filetransfer.c mrim-util.c mrim-gtk+.c -o 
libmrim.so
message.c: In function ‘mrim_message_offline’:
message.c:52:13: warning: assignment makes pointer from integer without a cast 
[enabled by default]
message.c: In function ‘mrim_send_attention’:
message.c:362:2: warning: passing argument 1 of ‘add_LPS’ discards 
‘const’ qualifier from pointer target type [enabled by default]
package.h:37:6: note: expected ‘gchar *’ but argument is of type ‘const 
char *’
message.c:364:2: warning: passing argument 1 of ‘add_raw’ from incompatible 
pointer type [enabled by default]
package.h:38:6: note: expected ‘char *’ but argument is of type ‘char 
(*)[220]’
cl.c: In function ‘mrim_add_buddy’:
cl.c:394:27: warning: initialization discards ‘const’ qualifier from 
pointer target type [enabled by default]
package.c: In function ‘read_UTF16LE’:
package.c:439:2: warning: passing argument 1 of ‘g_utf16_to_utf8’ from 
incompatible pointer type [enabled by default]
/usr/include/glib-2.0/glib/gunicode.h:646:12: note: expected ‘const gunichar2 
*’ but argument is of type ‘gchar *’
mrim.c: In function ‘mrim_get_ua_alias’:
mrim.c:153:18: warning: initialization discards ‘const’ qualifier from 
pointer target type [enabled by default]
mrim.c:175:3: warning: return discards ‘const’ qualifier from pointer 
target type [enabled by default]
mrim.c: In function ‘mrim_easy_action’:
mrim.c:257:2: warning: passing argument 2 of ‘mrim_open_myworld_url’ 
discards ‘const’ qualifier from pointer target type [enabled by default]
mrim-util.h:26:6: note: expected ‘gchar *’ but argument is of type ‘const 
gchar *’
mrim.c: In function ‘mrim_tooltip_text’:
mrim.c:313:26: warning: initialization discards ‘const’ qualifier from 
pointer target type [enabled by default]
mrim.c: In function ‘blist_send_sms’:
mrim.c:457:2: warning: passing argument 2 of ‘mrim_send_sms’ discards 
‘const’ qualifier from pointer target type [enabled by default]
message.h:11:10: note: expected ‘gchar *’ but argument is of type ‘const 
char *’
mrim.c: In function ‘mrim_url_menu_action’:
mrim.c:611:2: warning: passing argument 2 of ‘mrim_open_myworld_url’ 
discards ‘const’ qualifier from pointer target type [enabled by default]
mrim-util.h:26:6: note: expected ‘gchar *’ but argument is of type ‘const 
gchar *’
mrim.c: In function ‘make_mrim_status’:
mrim.c:825:19: warning: assignment discards ‘const’ qualifier from pointer 
target type [enabled by default]
In file included from mrim-gtk+.c:2:0:
mrim-gtk+.h:5:21: fatal error: gtk/gtk.h: No such file or directory
compilation terminated.
make: *** [compile] Error 1

Original issue reported on code.google.com by abazinc...@gmail.com on 9 Nov 2011 at 6:23

GoogleCodeExporter commented 9 years ago
[slavchik@SL mrim-prpl-0.1.28]$ find /usr -name gtk.h 
/usr/include/gtk-1.2/gtk/gtk.h
/usr/include/gtk-2.0/gtk/gtk.h

Original comment by abazinc...@gmail.com on 9 Nov 2011 at 6:28

GoogleCodeExporter commented 9 years ago
Создал симлинки на все, что требовалось, и 
компиляция прошла успешно, но в списке 
модулей так и не появился mail.ru

Original comment by abazinc...@gmail.com on 9 Nov 2011 at 7:01

GoogleCodeExporter commented 9 years ago
Что скажет

  pidgin -d | grep -i mrim

 ?

Original comment by Janus.Ko...@gmail.com on 9 Nov 2011 at 9:37

GoogleCodeExporter commented 9 years ago

Original comment by Janus.Ko...@gmail.com on 22 Jan 2012 at 10:30