YuanhuiQu / ibus-cloud-pinyin

Automatically exported from code.google.com/p/ibus-cloud-pinyin
GNU General Public License v3.0
1 stars 1 forks source link

opensuse安装失败 #84

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
make[1]: 进入目录“/home/ddffee/ibus-cloud-pinyin-read-only/src”
:: Building ibus-engine-cloud-pinyin ...
gcc `cat c-flags.txt` -pthread main.c dbus-binding.c pinyin-utils.c 
frontend-utils.c config.c database.c lua-binding.c ibus-engine.c -g -o 
ibus-engine-cloud-pinyin
main.c:35:1: error: expected identifier or ‘(’ before ‘if’
main.c:39:1: error: expected identifier or ‘(’ before ‘+’ token
make[1]: *** [ibus-engine-cloud-pinyin] 错误 1
make[1]: 离开目录“/home/ddffee/ibus-cloud-pinyin-read-only/src”
make: *** [src/ibus-engine-cloud-pinyin] 错误 2
ddffee@SUSE:~/ibus-cloud-pinyin-read-only> cd ./src/
ddffee@SUSE:~/ibus-cloud-pinyin-read-only/src> vim main.c
ddffee@SUSE:~/ibus-cloud-pinyin-read-only/src> cd ..
ddffee@SUSE:~/ibus-cloud-pinyin-read-only> make
make[1]: 进入目录“/home/ddffee/ibus-cloud-pinyin-read-only/src”
:: Building ibus-engine-cloud-pinyin ...
gcc `cat c-flags.txt` -pthread main.c dbus-binding.c pinyin-utils.c 
frontend-utils.c config.c database.c lua-binding.c ibus-engine.c -g -o 
ibus-engine-cloud-pinyin
/tmp/ccWNrvPK.o: In function `icp_main_main':
/home/ddffee/ibus-cloud-pinyin-read-only/src/main.c:91: undefined reference to 
`gdk_threads_init'
/home/ddffee/ibus-cloud-pinyin-read-only/src/main.c:107: undefined reference to 
`gdk_init'
/home/ddffee/ibus-cloud-pinyin-read-only/src/main.c:108: undefined reference to 
`gtk_init'
/tmp/cccu4fZL.o: In function `_lambda1_':
/home/ddffee/ibus-cloud-pinyin-read-only/src/frontend-utils.c:155: undefined 
reference to `gtk_clipboard_wait_for_text'
/tmp/cccu4fZL.o: In function `icp_frontend_init':
/home/ddffee/ibus-cloud-pinyin-read-only/src/frontend-utils.c:183: undefined 
reference to `gdk_display_get_default'
/home/ddffee/ibus-cloud-pinyin-read-only/src/frontend-utils.c:183: undefined 
reference to `gtk_clipboard_get_for_display'
/usr/lib/gcc/i586-suse-linux/4.5/../../../libnotify.so: undefined reference to 
`gtk_status_icon_get_type'
/usr/lib/gcc/i586-suse-linux/4.5/../../../libnotify.so: undefined reference to 
`gdk_screen_get_type'
/usr/lib/gcc/i586-suse-linux/4.5/../../../libnotify.so: undefined reference to 
`gtk_widget_get_type'
/usr/lib/gcc/i586-suse-linux/4.5/../../../libnotify.so: undefined reference to 
`gtk_widget_get_allocation'
/usr/lib/gcc/i586-suse-linux/4.5/../../../libnotify.so: undefined reference to 
`gtk_widget_get_screen'
/usr/lib/gcc/i586-suse-linux/4.5/../../../libnotify.so: undefined reference to 
`gtk_status_icon_get_geometry'
/usr/lib/gcc/i586-suse-linux/4.5/../../../libnotify.so: undefined reference to 
`gtk_status_icon_get_x11_window_id'
/usr/lib/gcc/i586-suse-linux/4.5/../../../libnotify.so: undefined reference to 
`gtk_widget_get_has_window'
/usr/lib/gcc/i586-suse-linux/4.5/../../../libnotify.so: undefined reference to 
`gdk_screen_make_display_name'
/usr/lib/gcc/i586-suse-linux/4.5/../../../libnotify.so: undefined reference to 
`gdk_window_get_origin'
/usr/lib/gcc/i586-suse-linux/4.5/../../../libnotify.so: undefined reference to 
`gtk_widget_get_window'
collect2: ld returned 1 exit status
make[1]: *** [ibus-engine-cloud-pinyin] 错误 1
make[1]: 离开目录“/home/ddffee/ibus-cloud-pinyin-read-only/src”
make: *** [src/ibus-engine-cloud-pinyin] 错误 2

Original issue reported on code.google.com by rollingq...@gmail.com on 18 Jul 2011 at 4:31

GoogleCodeExporter commented 8 years ago
呀,前头几行怎么也粘上了。。。。请无视吧。。。。那个��
�尝试向main.c加gthread2,结果失败了。

Original comment by rollingq...@gmail.com on 18 Jul 2011 at 4:37

GoogleCodeExporter commented 8 years ago
装一下这个试试:gtk2-devel

Original comment by MalFurion.Stormrage@gmail.com on 10 Dec 2011 at 2:52