memeco / osd-lyrics

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

make bugs #198

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
make出错:

ol_notify.c:20:41: 错误:unknown type name ‘GtkWidget’
ol_notify.c:26:14: 错误:unknown type name ‘GtkWidget’
ol_notify.c: 在函数‘ol_notify_music_change’中:
ol_notify.c:102:38: 
警告:初始化时将整数赋给指针,未作类型转换 [enabled by 
default]
make[3]: *** [ol_notify.o] Error 1
make[3]: Leaving directory ~/osdlyrics-0.3.20100604/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory ~/osdlyrics-0.3.20100604/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory ~/osdlyrics-0.3.20100604'
make: *** [all] Error 2

archlinux
xfce4

Original issue reported on code.google.com by luoz...@gmail.com on 4 May 2011 at 7:44

GoogleCodeExporter commented 8 years ago
你用的是什么版本?现在的ol_notify.c里没有GtkWidget

Original comment by tigerso...@gmail.com on 4 May 2011 at 11:32

GoogleCodeExporter commented 8 years ago
参见: http://code.google.com/p/osd-lyrics/issues/detail?id=176

P.S.: Google Code 没有类似 fix committed 的状态有点不方便

Original comment by robinlee...@gmail.com on 4 May 2011 at 1:36

GoogleCodeExporter commented 8 years ago
我刚刚svn了一下,autoconf之后出现:

[arch@archlinux osd-lyrics-read-only]$ autoconf
configure.ac:11: error: possibly undefined macro: AM_INIT_AUTOMAKE
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.ac:18: error: possibly undefined macro: AM_PROG_CC_C_O
configure.ac:42: error: possibly undefined macro: AC_DEFINE
configure.ac:45: error: possibly undefined macro: AC_MSG_WARN
configure.ac:148: error: possibly undefined macro: AM_CONDITIONAL
configure.ac:155: error: possibly undefined macro: AM_GLIB_GNU_GETTEXT

不知为何,盼望解释。

Original comment by luoz...@gmail.com on 5 May 2011 at 12:18

GoogleCodeExporter commented 8 years ago
代码库已经迁移到 git:
https://github.com/tigersoldier/osd-lyrics

Original comment by robinlee...@gmail.com on 5 May 2011 at 2:28

GoogleCodeExporter commented 8 years ago
对应的 patch 可以在 git f3c6cb 中找到

Original comment by robinlee...@gmail.com on 5 May 2011 at 3:28

GoogleCodeExporter commented 8 years ago
不好意思,请问“对应的 patch 可以在 git f3c6cb 
中找到”是什么意思,没用过git,不会

Original comment by luoz...@gmail.com on 5 May 2011 at 6:30

GoogleCodeExporter commented 8 years ago
请参考wiki中的build一节,代码的获取方式已经改为git

Original comment by tigerso...@gmail.com on 5 May 2011 at 6:44

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
git clone之后,使用autogen.sh,然后再"./configure;make;make install"。
在terminal输入osd-lyrics --debug的结果是:
*Error*: in function _parse_cmd_args: ol_main.c[419]
option parsing failed: 缺少 --debug 的参数
Segmentation fault

多有打扰,请海涵。

Original comment by luoz...@gmail.com on 5 May 2011 at 6:49

GoogleCodeExporter commented 8 years ago
git clone之后再git pull develop一下,才可使用最新代码

Original comment by tigerso...@gmail.com on 5 May 2011 at 7:46

GoogleCodeExporter commented 8 years ago
更新代码之后,重新编译,还是不能使用
在termial输入osd-lyrics --debug出现:

*Error*: in function _parse_cmd_args: ol_main.c[419]
option parsing failed: 缺少 --debug 的参数
Segmentation fault

同样的错误

Original comment by luoz...@gmail.com on 5 May 2011 at 8:27

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
应该是 -d debug参数

Original comment by tigerso...@gmail.com on 5 May 2011 at 8:39