Compilation Raspberry Pi上的XBMC 13.2链接器错误:未定义对COMXImage和g_OMXImage的引用
我曾尝试在我的Raspberry Pi上使用DistCC编译XBMC 13.2 Gotham,以加快编译速度。在链接方面,我遇到了以下错误:Compilation Raspberry Pi上的XBMC 13.2链接器错误:未定义对COMXImage和g_OMXImage的引用,compilation,compiler-errors,raspberry-pi,raspbian,xbmc,Compilation,Compiler Errors,Raspberry Pi,Raspbian,Xbmc,我曾尝试在我的Raspberry Pi上使用DistCC编译XBMC 13.2 Gotham,以加快编译速度。在链接方面,我遇到了以下错误: AR xbmc/cores/paplayer/paplayer.a LD xbmc.bin xbmc/linux/linux.a(RBP.o): In function `CRBP::Initialize()': RBP.cpp:(.text+0x468): undefined reference to `COMXImage::Init
AR xbmc/cores/paplayer/paplayer.a
LD xbmc.bin
xbmc/linux/linux.a(RBP.o): In function `CRBP::Initialize()':
RBP.cpp:(.text+0x468): undefined reference to `COMXImage::Initialize()'
RBP.cpp:(.text+0x4d0): undefined reference to `g_OMXImage'
xbmc/linux/linux.a(RBP.o): In function `CRBP::Deinitialize()':
RBP.cpp:(.text+0x7cc): undefined reference to `COMXImage::Deinitialize()'
RBP.cpp:(.text+0x878): undefined reference to `g_OMXImage'
collect2: ld returned 1 exit status
distcc[24757] ERROR: compile (null) on localhost failed
distcc[24756] ERROR: compile (null) on localhost failed
Makefile:541: recipe for target 'xbmc.bin' failed
make: *** [xbmc.bin] Error 1
COMXImage类出现在xbmc/cores/omxplayer
的源代码中
对于编译准备,我使用了来自的命令
源代码已从using标记13.2中签出
我使用以下选项运行了/boostrap
和/configure
:
./configure --build=arm-linux-gnueabihf --with-platform=raspberry-pi \
--disable-gl --enable-gles --disable-x11 --disable-sdl --enable-ccache \
--enable-optimizations --enable-external-libraries --disable-goom \
--disable-hal --disable-pulse --disable-vaapi --disable-vdpau \
--disable-xrandr --disable-airplay --disable-alsa --enable-avahi \
--enable-libbluray --enable-dvdcss --disable-debug --disable-joystick \
--enable-mid --enable-nfs --disable-profiling --disable-projectm \
--enable-rsxs --enable-rtmp --enable-optical-drive --enable-libcec
在完成编译之前,我使用最新版本从他们自己的git存储库获取并成功构建了TAGLIB和libcec
如果有帮助,我可以提供/configure
的输出
谢谢你的帮助 打开RBP.cpp文件
并删除包含
g\u OMXImage.Initialize()
及
if(m_omx_image_init)
g_OMXImage.Deinitialize()代码>
然后尝试重新编译