使用libspeex编译Xuggler for Raspberry pi时,问题#1 [英] Issue #1 when compiling Xuggler for Raspberry pi with libspeex

查看:400
本文介绍了使用libspeex编译Xuggler for Raspberry pi时,问题#1的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在为Raspberry Pi(运行在Debian OS上的Raspbian)编译 Xuggler , / p>

我遵循基本构建说明这里用于编译Xuggler。



在我成功安装所有先决条件并设置正确的路径后,我运行了以下命令:

  ant run-tests 

我面临以下错误,蚂蚁构建失败:



{在日志结尾滚动以查看问题}

  [exec]全部在libspeex 
[exec] make [2]:输入目录`/ home / pi / Downloads / xuggle -xuggler / build / native / armv6l-unknown-linux-gnueabihf / captive / libspeex'
[exec]必须重新配置被包装的包;从...重新生成过期的Makefile:../../../../../captive/libspeex/csrc/configure
[exec] / bin / mkdir -p csrc
[exec ] cd csrc&&& sh ../incarcerate
[exec]检查BSD兼容的安装... / usr / bin / install -c
[exec]检查构建环境是否正常...是
[exec]检查线程安全的mkdir -p ... / bin / mkdir -p
[exec]检查gawk ...否
[exec]检查mawk ... mawk
[exec]检查是否设置$(MAKE)...是
[exec]检查构建系统类型... armv6l-unknown-linux-gnu
[exec]检查主机系统键入... armv6l-unknown-linux-gnu
[exec]检查如何打印字符串... printf
[exec]检查由...使用的包含的样式... GNU
[exec]检查gcc ... gcc
[exec]检查C编译器是否工作...是
[exec]检查C编译器默认输出文件名... a.out
[exec]检查可执行文件的后缀...
[exec]检查我们是否正在编译... no
[exec]检查对象文件的后缀... o
[exec]检查我们是否使用GNU C编译器? s
[exec]检查gcc是否接受-g ... yes
[exec]检查gcc选项以接受ISO C89 ...无需
[exec]检查gcc的依赖样式... none
[exec]检查不截断输出的sed ... / bin / sed
[exec]检查处理长行的grep和-e ... / bin / grep
[exec]检查egrep ... / bin / grep -E
[exec]检查fgrep ... / bin / grep -F
[exec]通过gcc ... / usr / bin / ld
[exec]检查链接器(/ usr / bin / ld)是否是GNU ld ...是
[exec]检查BSD或MS兼容名称lister(nm)... / usr / bin / nm -B
[exec]检查名称lister(/ usr / bin / nm -B)接口... BSD nm
[ exec]检查ln -s是否工作... yes
[exec]检查命令行参数的最大长度... 805306365
[exec]检查shell是否了解一些XSI结构...是
[exec]检查shell是否理解+ =...是
[exec]检查ho w将armv6l-unknown-linux-gnu文件名转换为armv6l-unknown-linux-gnu格式... func_convert_file_noop
[exec]检查如何将armv6l-unknown-linux-gnu文件名转换为工具链格式.. 。func_convert_file_noop
[exec]检查/ usr / bin / ld选项以重新加载对象文件... -r
[exec]检查objdump ... objdump
[exec]检查如何识别依赖库... pass_all
[exec]检查dlltool ... false
[exec]检查如何关联运行时和链接库... printf%s\ $
[exec]检查archiver @FILE支持... @
[exec]检查strip ... strip
[exec]检查ranlib ... ranlib
[exec] check命令解析/ usr / bin / nm -b从gcc对象的输出... ok
[exec]检查sysroot ... no
[exec]检查mt ... mt
[exec]检查mt是否是一个清单工具... no
[exec]检查如何运行C预处理程序... gcc -E
[exec]检查ANSI C头文件f iles ...是
[exec]检查sys / types.h ...是
[exec]检查sys / stat.h ...是
[exec]检查stdlib.h ... yes
[exec]检查string.h ...是
[exec]检查memory.h ...是
[exec]检查字符串。 h ...是
[exec]检查inttypes.h ...是
[exec]检查stdint.h ...是
[exec]检查unistd.h。 ..是
[exec]检查dlfcn.h ...是
[exec]检查objdir ... .libs
[exec]检查gcc是否支持-fno-rtti - fno-exceptions ... no
[exec]检查gcc选项以生成PIC ... -fPIC -DPIC
[exec]检查是否gcc PIC标志-fPIC -DPIC工作正常
[exec]检查是否gcc静态标志-static工程...是
[exec]检查gcc是否支持-c -o file.o ...是
[exec]检查是否gcc支持-c -o file.o ...(缓存)是
[exec]检查gcc链接器(/ usr / bin / ld)是否支持共享库...是
[exec]检查动态链接器特征... GNU / Linux ld.so
[exec]检查如何将库路径硬编码到程序... immediate
[exec]检查剥离库是否可行...是
[exec]检查libtool是否支持共享库... yes
[exec]检查是否构建共享库... no
[exec]检查是否构建静态库...是
[exec]检查是否启用Makefile的维护者特定部分...否
[exec]检查字节排序是否是bigendian ...否
[exec]检查符合ANSI C标准的const ...是
[exec]检查内联... inline
[exec]检查C / C ++ restrict关键字... __restrict
[exec]检查C99可变大小的数组...是
[exec]检查alloca.h可用性...是
[exec]检查alloca.h存在...是
[exec]检查alloca.h ..是
[exec]检查getopt.h可用性...是
[exec]检查getopt.h存在...是
[exec]检查对于getopt.h ...是
[exec]检查alloca ...是
[exec]检查当前arch / CFLAGS中的SSE ...否
[exec]检查ELF可见性是
[exec]检查sys / soundcard.h可用性...是
[exec]检查sys / soundcard.h存在...是
[exec]检查对于sys / soundcard.h ...是
[exec]检查sys / audioio.h可用性...否
[exec]检查sys / audioio.h存在...否
[exec]检查sys / audioio.h ...否
[exec]检查Ogg ...是
[exec]在-lm中检查sin ...是
[ exec]检查getopt_long ...是
[exec]检查主要在-lwinmm ...否
[exec]检查pkg-config ... / usr / bin / pkg-config
[exec]检查pkg-config至少是版本0.9.0 ...是
[exec]检查大小的... 0
[exec]检查大小的int ... 0
[exec]检查大小... 0
[exec] configure:创建./config.status
[exec] config.status:创建Makefile
[exec ] config.status:创建libspeex / Makefile
[exec] config.status:创建src / Makefile
[exec] config.status:创建doc / Makefile
[exec] config.status:创建Speex.spec
[exec] config.status:创建包含/ Makefile
[exec] config.status:创建包含/ speex / Makefile
[exec] config.status:创建speex。 pc
[exec] config.status:创建speexdsp.pc
[exec] config.status:创建win32 / Makefile
[exec] config.status:创建win32 / libspeex / Makefile
[exec] config.status:创建win32 / speexenc / Makefile
[exec] config.status:创建win32 / speexdec / Makefile
[exec] config.status:创建symbian / Makefile
[exec] config.status:创建win32 / VS2003 / Makefile
[exec] config.status:创建win32 / VS2003 / tests / Makefile
[exec] config.status:创建win32 / VS2003 / libspeex / Makefile
[exec] config.status:创建win32 / VS2003 / libspeexdsp / Makefile
[exec] config.status:创建win32 / VS20 03 / speexdec / Makefile
[exec] config.status:创建win32 / VS2003 / speexenc / Makefile
[exec] config.status:创建win32 / VS2005 / Makefile
[exec] config。状态:创建win32 / VS2005 / libspeex / Makefile
[exec] config.status:创建win32 / VS2005 / speexdec / Makefile
[exec] config.status:创建win32 / VS2005 / speexenc / Makefile
[exec] config.status:创建win32 / VS2005 / libspeexdsp / Makefile
[exec] config.status:创建win32 / VS2005 / tests / Makefile
[exec] config.status:创建win32 / VS2008 / libspeexdsp / Makefile
[exec] config.status:创建win32 / VS2008 / Makefile
[exec] config.status:创建win32 / VS2008 / speexdec / Makefile
[exec]状态:创建win32 / VS2008 / tests / Makefile
[exec] config.status:创建win32 / VS2008 / libspeex / Makefile
[exec] config.status:创建win32 / VS2008 / speexenc / Makefile
[exec] config.status:创建包含/ speex / speex_config_types.h
[exec] config.status:创建ti / M akefile
[exec] config.status:创建ti / speex_C54_test / Makefile
[exec] config.status:创建ti / speex_C55_test / Makefile
[exec] config.status:创建ti / speex_C64_test / Makefile
[exec] config.status:创建config.h
[exec] config.status:执行depfiles命令
[exec] config.status:执行libtool命令
[ exec]键入make; make install来编译和安装Speex
[exec]被管理的包配置:../../../../../captive/libspeex
[exec] Incarcerating package ../。 ./../../../captive/libspeex假冒DESTDIR = / home / pi / Downloads / xuggle-xuggler / build / native / armv6l-unknown-linux-gnueabihf / captive / stage
[exec ] make [3]:进入目录`/ home / pi / Downloads / xuggle-xuggler / build / native / armv6l-unknown-linux-gnueabihf / captive / libspeex / csrc'
[exec] make all-recursive
[exec] make [4]:进入目录`/ home / pi / Downloads / xuggle-xuggler / build / native / armv6l-unknown-linux-gnueabihf / captive / libspeex / csrc'
[exec]全部在libspeex
[exec] make [4]:*** [all-recursive]错误1
[exec] make [3]:*** [全部]错误2
[exec] make [4]:离开目录`/ home / pi / Downloads / xuggle-xuggler / build / native / armv6l-unknown-linux-gnueabihf / captive / libspeex / csrc'
[exec] make [3 ]:离开目录`/ home / pi / Downloads / xuggle-xuggler / build / native / armv6l-unknown-linux-gn ueabihf / captive / libspeex / csrc'
[exec]过期文件;重新运行make
[exec] make [3]:输入目录`/ home / pi / Downloads / xuggle-xuggler / build / native / armv6l-unknown-linux-gnueabihf / captive / libspeex / csrc'
[exec] make all-recursive
[exec] make [4]:输入目录`/ home / pi / Downloads / xuggle-xuggler / build / native / armv6l-unknown-linux-gnueabihf / captive / libspeex / csrc'
[exec]使所有的libspeex
[exec] make [5]:输入目录`/ home / pi / Downloads / xuggle-xuggler / build / native / armv6l-unknown-linux- gnueabihf / captive / libspeex / csrc / libspeex'
[exec] / bin / bash ../libtool --tag = CC --mode = compile gcc -DHAVE_CONFIG_H -I。 -I / home / pi /下载/ xuggle-xuggler / build / native / armv6l-unknown-linux-gnueabihf / captive /../../../../ captive / libspeex / csrc / libspeex -I .. -I / home / pi / Downloads / xuggle-xuggler / build / native / armv6l-unknown-linux-gnueabihf / captive /../../../../ captive / libspeex / csrc / include -I .. / include -I .. -I / home / pi / Downloads / xuggler / include -I / home / pi / Downloads / xuggle-xuggler / build / native / armv6l-unknown-linux-gnueabihf / captive / stage / home / pi /下载/ xuggler / include -fvisibility = hidden -O3 -msse -c -o cb_search.lo /home/pi/Downloads/xuggle-xuggler/build/native/armv6l-unknown-linux-gnueabihf/captive/../。 ./../../captive/libspeex/csrc/libspeex/cb_search.c
[exec] libtool:compile:gcc -DHAVE_CONFIG_H -I。 -I / home / pi /下载/ xuggle-xuggler / build / native / armv6l-unknown-linux-gnueabihf / captive /../../../../ captive / libspeex / csrc / libspeex -I .. -I / home / pi / Downloads / xuggle-xuggler / build / native / armv6l-unknown-linux-gnueabihf / captive /../../../../ captive / libspeex / csrc / include -I .. / include -I .. -I / home / pi / Downloads / xuggler / include -I / home / pi / Downloads / xuggle-xuggler / build / native / armv6l-unknown-linux-gnueabihf / captive / stage / home / pi /下载/ xuggler / include -fvisibility = hidden -O3 -msse -c /home/pi/Downloads/xuggle-xuggler/build/native/armv6l-unknown-linux-gnueabihf/captive/../../../ ../captive/libspeex/csrc/libspeex/cb_search.c -fPIC -DPIC -o cb_search.o
[exec] cc1:错误:无法识别的命令行选项'-msse'
[exec] make [5]:*** [cb_search.lo]错误1
[exec] make [4]:*** [all-recursive]错误1
[exec] make [3]:** * [all]错误2
[exec] make [2]:*** [全局]错误2
[exec] make [1]:*** [all-recursive]错误1
[exec] make:*** [all-recursive]错误1
[exec] make [5]:离开目录`/ home / pi / Downloads / xuggle-xuggler / build / native / armv6l-unknown-linux-gnueabihf / captive / libspeex / csrc / libspeex'
[exec] make [4]:离开目录`/ home / pi / Downloads / xuggle-xuggler / build / native / armv6l-unknown-linux-gnueabihf / captive / libspeex / csrc'
[exec] make [ 3]:离开目录`/ home / pi / Downloads / xuggle-xuggler / build / native / armv6l-unknown-linux-gnueabihf / captive / libspeex / csrc'
[exec] make [2] / home / pi /下载/ xuggle-xuggler / build / native / armv6l-unknown-linux-gnueabihf / captive / libspeex'
[exec] make [1]:离开目录`/ home / pi / Downloads / xuggle -xuggler / build / native / armv6l-unknown-linux-gnueabihf / captive'

BUILD FAILED
/home/pi/Downloads/xuggle-xuggler/mk/buildtools/buildhelper.xml: 1192:exec返回:2

总时间:73分17秒

我无法理解问题统计信息无法识别的命令行选项有人可以告诉我如何解决这个问题或在xuggler中规避?

解决方案

以下是我在构建pi时解决libspeex问题的确切代码更改。正如我在另一个问题中提到的你可以看到我在github上建立的变化。我知道我的pi分支不包括X264,但它有libspeex。



您可以在github上查看此提交中的更改




I am trying to compile Xuggler for Raspberry Pi(Running on Debian OS aka Raspbian),

I followed the 'Basic Build Instructions' available here for compiling Xuggler.

After I successfully installed all the prerequisites and set the correct paths, I ran the following command:

ant run-tests

After sometime I am facing the following error and the ant build fails:

{scroll at the end of log to see the issue}

 [exec] Making all in libspeex
 [exec] make[2]: Entering directory `/home/pi/Downloads/xuggle-xuggler/build/native/armv6l-unknown-linux-gnueabihf/captive/libspeex'
 [exec] Incarcerated package must be reconfigured; regenerating out of date captive Makefile from: ../../../../../captive/libspeex/csrc/configure
 [exec] /bin/mkdir -p csrc
 [exec] cd csrc && sh ../incarcerate
 [exec] checking for a BSD-compatible install... /usr/bin/install -c
 [exec] checking whether build environment is sane... yes
 [exec] checking for a thread-safe mkdir -p... /bin/mkdir -p
 [exec] checking for gawk... no
 [exec] checking for mawk... mawk
 [exec] checking whether make sets $(MAKE)... yes
 [exec] checking build system type... armv6l-unknown-linux-gnu
 [exec] checking host system type... armv6l-unknown-linux-gnu
 [exec] checking how to print strings... printf
 [exec] checking for style of include used by make... GNU
 [exec] checking for gcc... gcc
 [exec] checking whether the C compiler works... yes
 [exec] checking for C compiler default output file name... a.out
 [exec] checking for suffix of executables...
 [exec] checking whether we are cross compiling... no
 [exec] checking for suffix of object files... o
 [exec] checking whether we are using the GNU C compiler... yes
 [exec] checking whether gcc accepts -g... yes
 [exec] checking for gcc option to accept ISO C89... none needed
 [exec] checking dependency style of gcc... none
 [exec] checking for a sed that does not truncate output... /bin/sed
 [exec] checking for grep that handles long lines and -e... /bin/grep
 [exec] checking for egrep... /bin/grep -E
 [exec] checking for fgrep... /bin/grep -F
 [exec] checking for ld used by gcc... /usr/bin/ld
 [exec] checking if the linker (/usr/bin/ld) is GNU ld... yes
 [exec] checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
 [exec] checking the name lister (/usr/bin/nm -B) interface... BSD nm
 [exec] checking whether ln -s works... yes
 [exec] checking the maximum length of command line arguments... 805306365
 [exec] checking whether the shell understands some XSI constructs... yes
 [exec] checking whether the shell understands "+="... yes
 [exec] checking how to convert armv6l-unknown-linux-gnu file names to armv6l-unknown-linux-gnu format... func_convert_file_noop
 [exec] checking how to convert armv6l-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
 [exec] checking for /usr/bin/ld option to reload object files... -r
 [exec] checking for objdump... objdump
 [exec] checking how to recognize dependent libraries... pass_all
 [exec] checking for dlltool... false
 [exec] checking how to associate runtime and link libraries... printf %s\n
 [exec] checking for archiver @FILE support... @
 [exec] checking for strip... strip
 [exec] checking for ranlib... ranlib
 [exec] checking command to parse /usr/bin/nm -B output from gcc object... ok
 [exec] checking for sysroot... no
 [exec] checking for mt... mt
 [exec] checking if mt is a manifest tool... no
 [exec] checking how to run the C preprocessor... gcc -E
 [exec] checking for ANSI C header files... yes
 [exec] checking for sys/types.h... yes
 [exec] checking for sys/stat.h... yes
 [exec] checking for stdlib.h... yes
 [exec] checking for string.h... yes
 [exec] checking for memory.h... yes
 [exec] checking for strings.h... yes
 [exec] checking for inttypes.h... yes
 [exec] checking for stdint.h... yes
 [exec] checking for unistd.h... yes
 [exec] checking for dlfcn.h... yes
 [exec] checking for objdir... .libs
 [exec] checking if gcc supports -fno-rtti -fno-exceptions... no
 [exec] checking for gcc option to produce PIC... -fPIC -DPIC
 [exec] checking if gcc PIC flag -fPIC -DPIC works... yes
 [exec] checking if gcc static flag -static works... yes
 [exec] checking if gcc supports -c -o file.o... yes
 [exec] checking if gcc supports -c -o file.o... (cached) yes
 [exec] checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
 [exec] checking dynamic linker characteristics... GNU/Linux ld.so
 [exec] checking how to hardcode library paths into programs... immediate
 [exec] checking whether stripping libraries is possible... yes
 [exec] checking if libtool supports shared libraries... yes
 [exec] checking whether to build shared libraries... no
 [exec] checking whether to build static libraries... yes
 [exec] checking whether to enable maintainer-specific portions of Makefiles... no
 [exec] checking whether byte ordering is bigendian... no
 [exec] checking for an ANSI C-conforming const... yes
 [exec] checking for inline... inline
 [exec] checking for C/C++ restrict keyword... __restrict
 [exec] checking for C99 variable-size arrays... yes
 [exec] checking alloca.h usability... yes
 [exec] checking alloca.h presence... yes
 [exec] checking for alloca.h... yes
 [exec] checking getopt.h usability... yes
 [exec] checking getopt.h presence... yes
 [exec] checking for getopt.h... yes
 [exec] checking for alloca... yes
 [exec] checking for SSE in current arch/CFLAGS... no
 [exec] checking for ELF visibility... yes
 [exec] checking sys/soundcard.h usability... yes
 [exec] checking sys/soundcard.h presence... yes
 [exec] checking for sys/soundcard.h... yes
 [exec] checking sys/audioio.h usability... no
 [exec] checking sys/audioio.h presence... no
 [exec] checking for sys/audioio.h... no
 [exec] checking for Ogg... yes
 [exec] checking for sin in -lm... yes
 [exec] checking for getopt_long... yes
 [exec] checking for main in -lwinmm... no
 [exec] checking for pkg-config... /usr/bin/pkg-config
 [exec] checking pkg-config is at least version 0.9.0... yes
 [exec] checking size of short... 0
 [exec] checking size of int... 0
 [exec] checking size of long... 0
 [exec] configure: creating ./config.status
 [exec] config.status: creating Makefile
 [exec] config.status: creating libspeex/Makefile
 [exec] config.status: creating src/Makefile
 [exec] config.status: creating doc/Makefile
 [exec] config.status: creating Speex.spec
 [exec] config.status: creating include/Makefile
 [exec] config.status: creating include/speex/Makefile
 [exec] config.status: creating speex.pc
 [exec] config.status: creating speexdsp.pc
 [exec] config.status: creating win32/Makefile
 [exec] config.status: creating win32/libspeex/Makefile
 [exec] config.status: creating win32/speexenc/Makefile
 [exec] config.status: creating win32/speexdec/Makefile
 [exec] config.status: creating symbian/Makefile
 [exec] config.status: creating win32/VS2003/Makefile
 [exec] config.status: creating win32/VS2003/tests/Makefile
 [exec] config.status: creating win32/VS2003/libspeex/Makefile
 [exec] config.status: creating win32/VS2003/libspeexdsp/Makefile
 [exec] config.status: creating win32/VS2003/speexdec/Makefile
 [exec] config.status: creating win32/VS2003/speexenc/Makefile
 [exec] config.status: creating win32/VS2005/Makefile
 [exec] config.status: creating win32/VS2005/libspeex/Makefile
 [exec] config.status: creating win32/VS2005/speexdec/Makefile
 [exec] config.status: creating win32/VS2005/speexenc/Makefile
 [exec] config.status: creating win32/VS2005/libspeexdsp/Makefile
 [exec] config.status: creating win32/VS2005/tests/Makefile
 [exec] config.status: creating win32/VS2008/libspeexdsp/Makefile
 [exec] config.status: creating win32/VS2008/Makefile
 [exec] config.status: creating win32/VS2008/speexdec/Makefile
 [exec] config.status: creating win32/VS2008/tests/Makefile
 [exec] config.status: creating win32/VS2008/libspeex/Makefile
 [exec] config.status: creating win32/VS2008/speexenc/Makefile
 [exec] config.status: creating include/speex/speex_config_types.h
 [exec] config.status: creating ti/Makefile
 [exec] config.status: creating ti/speex_C54_test/Makefile
 [exec] config.status: creating ti/speex_C55_test/Makefile
 [exec] config.status: creating ti/speex_C64_test/Makefile
 [exec] config.status: creating config.h
 [exec] config.status: executing depfiles commands
 [exec] config.status: executing libtool commands
 [exec] Type "make; make install" to compile and install Speex
 [exec] Incarcerated package configured: ../../../../../captive/libspeex
 [exec] Incarcerating package ../../../../../captive/libspeex to fake DESTDIR=/home/pi/Downloads/xuggle-xuggler/build/native/armv6l-unknown-linux-gnueabihf/captive/stage
 [exec] make[3]: Entering directory `/home/pi/Downloads/xuggle-xuggler/build/native/armv6l-unknown-linux-gnueabihf/captive/libspeex/csrc'
 [exec] make  all-recursive
 [exec] make[4]: Entering directory `/home/pi/Downloads/xuggle-xuggler/build/native/armv6l-unknown-linux-gnueabihf/captive/libspeex/csrc'
 [exec] Making all in libspeex
 [exec] make[4]: *** [all-recursive] Error 1
 [exec] make[3]: *** [all] Error 2
 [exec] make[4]: Leaving directory `/home/pi/Downloads/xuggle-xuggler/build/native/armv6l-unknown-linux-gnueabihf/captive/libspeex/csrc'
 [exec] make[3]: Leaving directory `/home/pi/Downloads/xuggle-xuggler/build/native/armv6l-unknown-linux-gnueabihf/captive/libspeex/csrc'
 [exec] Out of date files; re-running make
 [exec] make[3]: Entering directory `/home/pi/Downloads/xuggle-xuggler/build/native/armv6l-unknown-linux-gnueabihf/captive/libspeex/csrc'
 [exec] make  all-recursive
 [exec] make[4]: Entering directory `/home/pi/Downloads/xuggle-xuggler/build/native/armv6l-unknown-linux-gnueabihf/captive/libspeex/csrc'
 [exec] Making all in libspeex
 [exec] make[5]: Entering directory `/home/pi/Downloads/xuggle-xuggler/build/native/armv6l-unknown-linux-gnueabihf/captive/libspeex/csrc/libspeex'
 [exec] /bin/bash ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I/home/pi/Downloads/xuggle-xuggler/build/native/armv6l-unknown-linux-gnueabihf/captive/../../../../captive/libspeex/csrc/libspeex -I.. -I/home/pi/Downloads/xuggle-xuggler/build/native/armv6l-unknown-linux-gnueabihf/captive/../../../../captive/libspeex/csrc/include -I../include -I.. -I/home/pi/Downloads/xuggler/include     -I/home/pi/Downloads/xuggle-xuggler/build/native/armv6l-unknown-linux-gnueabihf/captive/stage/home/pi/Downloads/xuggler/include  -fvisibility=hidden -O3 -msse -c -o cb_search.lo /home/pi/Downloads/xuggle-xuggler/build/native/armv6l-unknown-linux-gnueabihf/captive/../../../../captive/libspeex/csrc/libspeex/cb_search.c
 [exec] libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I/home/pi/Downloads/xuggle-xuggler/build/native/armv6l-unknown-linux-gnueabihf/captive/../../../../captive/libspeex/csrc/libspeex -I.. -I/home/pi/Downloads/xuggle-xuggler/build/native/armv6l-unknown-linux-gnueabihf/captive/../../../../captive/libspeex/csrc/include -I../include -I.. -I/home/pi/Downloads/xuggler/include -I/home/pi/Downloads/xuggle-xuggler/build/native/armv6l-unknown-linux-gnueabihf/captive/stage/home/pi/Downloads/xuggler/include -fvisibility=hidden -O3 -msse -c /home/pi/Downloads/xuggle-xuggler/build/native/armv6l-unknown-linux-gnueabihf/captive/../../../../captive/libspeex/csrc/libspeex/cb_search.c  -fPIC -DPIC -o cb_search.o
 [exec] cc1: error: unrecognized command line option '-msse'
 [exec] make[5]: *** [cb_search.lo] Error 1
 [exec] make[4]: *** [all-recursive] Error 1
 [exec] make[3]: *** [all] Error 2
 [exec] make[2]: *** [all-local] Error 2
 [exec] make[1]: *** [all-recursive] Error 1
 [exec] make: *** [all-recursive] Error 1
 [exec] make[5]: Leaving directory `/home/pi/Downloads/xuggle-xuggler/build/native/armv6l-unknown-linux-gnueabihf/captive/libspeex/csrc/libspeex'
 [exec] make[4]: Leaving directory `/home/pi/Downloads/xuggle-xuggler/build/native/armv6l-unknown-linux-gnueabihf/captive/libspeex/csrc'
 [exec] make[3]: Leaving directory `/home/pi/Downloads/xuggle-xuggler/build/native/armv6l-unknown-linux-gnueabihf/captive/libspeex/csrc'
 [exec] make[2]: Leaving directory `/home/pi/Downloads/xuggle-xuggler/build/native/armv6l-unknown-linux-gnueabihf/captive/libspeex'
 [exec] make[1]: Leaving directory `/home/pi/Downloads/xuggle-xuggler/build/native/armv6l-unknown-linux-gnueabihf/captive'

BUILD FAILED
/home/pi/Downloads/xuggle-xuggler/mk/buildtools/buildhelper.xml:1192: exec returned: 2

Total time: 73 minutes 17 seconds

I am unable to understand the problem statment "unrecognized command line option '-msse'" here, Can someone please tell me how can I resolve this or circumvent it in xuggler?

解决方案

Here are the exact code changes I made to resolve the libspeex issues when building on the pi. As I mentioned on another question you asked, you can see the changes I made to build on the pi on github. I know my pi branch doesn't include X264, but it does have libspeex.

You can view the changes in this commit on github here:

这篇关于使用libspeex编译Xuggler for Raspberry pi时,问题#1的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆