我建的GStreamer,以建設gstpgood/ext /中的aalib 錯誤日誌的步驟是在構建Gstreamer Lib時會導致錯誤,禁用某些功能?
make[3]: Entering directory `sigma-gstreamer_1-2-rc5/build/gstpgood/ext'
make -C aalib
make[4]: Entering directory `/sigma-gstreamer_1-2-rc5/build/gstpgood/ext/aalib'
CC libgstaasink_la-gstaasink.lo
cc1: error: include location "/usr/include" is unsafe for cross-compilation [-Werror=poison-system-directories]
cc1: all warnings being treated as errors
make[4]: *** [libgstaasink_la-gstaasink.lo] Error 1
我的朋友建立其它構建主機上的同一消息來源沒有得到這個錯誤。我比較gstpgood makefile和發現,我的Makefile有:
AALIB_CFLAGS = -I/usr/include
AALIB_CONFIG = /usr/bin/aalib-config
AALIB_LIBS = -L/usr/lib/x86_64-linux-gnu -laa
,而我的朋友的make文件包含了
AALIB_CFLAGS =
AALIB_CONFIG = no
AALIB_LIBS =
這是aalib的使用aasink,我怎麼可以在編譯的GStreamer時禁用aasink ???