linux - 无法构建 ORBIT2 : fix apparently found but where is it?

标签 linux makefile orbit

我无法编译 ORBIT2:

make[3]: Entering directory `/home/software/orbit2/ORBit2-2.14.19/linc2/src'
/bin/bash ../../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../linc2/include -I../../linc2/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include   -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -DG_DISABLE_DEPRECATED -D_GNU_SOURCE    -g -O2 -Werror-implicit-function-declaration  -MT linc.lo -MD -MP -MF .deps/linc.Tpo -c -o linc.lo linc.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I../../linc2/include -I../../linc2/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -DG_DISABLE_DEPRECATED -D_GNU_SOURCE -g -O2 -Werror-implicit-function-declaration -MT linc.lo -MD -MP -MF .deps/linc.Tpo -c linc.c  -fPIC -DPIC -o .libs/linc.o
linc.c: In function ‘link_init’:
linc.c:199:2: error: implicit declaration of function ‘g_thread_supported’
linc.c:200:3: error: implicit declaration of function ‘g_thread_init’
linc.c:204:2: warning: ‘g_type_init’ is deprecated (declared at /usr/local/include/glib-2.0/gobject/gtype.h:667)
linc.c:262:3: error: implicit declaration of function ‘g_cond_new’
linc.c:262:18: warning: assignment makes pointer from integer without a cast
linc.c:263:23: warning: assignment makes pointer from integer without a cast
linc.c: In function ‘link_mutex_new’:
linc.c:324:3: error: implicit declaration of function ‘g_mutex_new’
linc.c:324:3: warning: return makes pointer from integer without a cast
linc.c: In function ‘link_exec_set_io_thread’:
linc.c:463:3: error: implicit declaration of function ‘g_thread_create_full’
linc.c:464:4: error: ‘G_THREAD_PRIORITY_NORMAL’ undeclared (first use in this function)
linc.c:464:4: note: each undeclared identifier is reported only once for each function it appears in
linc.c: In function ‘link_mainloop_handle_input’:
linc.c:94:7: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result

该错误已于 2013 年 10 月在此处报告并显然已修复: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=707456 但是上游似乎没有提交修复(最新版本 2010): ftp://ftp.gnome.org/pub/gnome/sources/ORBit2/2.14
也不在 git 存储库上(自 2013 年初以来只有 3 次提交):
https://git.gnome.org/browse/ORBit2/ 但是我找不到解决问题的补丁。

这里问题也被设置为“已修复”:
https://bugs.archlinux.org/task/39138
但是,有补丁吗?

我不明白这些发行版是如何运作的。令人沮丧的是似乎已找到修复程序,但我找不到它。

我不明白debian issue 中的orbit2-NMU.patch 的内容。

最佳答案

除了对 debian 软件包的更改之外,我能发现的唯一更改是从 linc2/src/Makefile.am 的 CPPFLAGS 中删除“-DG_DISABLE_DEPRECATED”

试试吧!

关于linux - 无法构建 ORBIT2 : fix apparently found but where is it?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25590498/

相关文章:

c - sk_buff 函数 skb_network_header() 和 skb_mac_header() 有什么作用?

linux - 上市百胜集团

c++ - 在 while 循环中卡住

makefile - 是否有用于 D 编程语言的 GNU Make 类型程序?

r - 用于构建链接到分析的 R 包的 Makefile

javascript - 有没有办法将初始化函数传递给 Orbit 幻灯片?

java - 将 java 转换为 kotlin

r - 在 R 中安装 ESSURVEY 包时出错

c++ - makefile 错误,从 src 目录中的所有内容构建

javascript - 使用 Foundation 3 Orbit 将哪些 js 文件链接到 html 文件?