2014-08-31 25 views
1

我不能編譯ORBIT2:無法建立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問題中orbit2-NMU.patch的內容。

從更改Debian軟件包唯一的變化我可以當場

回答

2

除了從CPPFLAGS在LINC2刪除「-DG_DISABLE_DEPRECATED」/src目錄/ Makefile.am

試試吧!

相關問題