0

我有 gstraemer 源的流动目录结构

/home/dev/cerbero/sources/linux_x86_64/gst-plugins-bad-0.10.23

当我运行 .autogen.sh 它运行良好

但是当我“制作”时,它会出现以下错误

gst-plugins_bad_compile_error

进一步来说

Making all in gst
make[2]: Entering directory `/home/dev/cerbero/sources/linux_x86_64/gst-plugins-  bad-0.10.23/gst'
make -C adpcmdec
make[3]: Entering directory `/home/dev/cerbero/sources/linux_x86_64/gst-plugins-bad-0.10.23/gst/adpcmdec'
  CC     libgstadpcmdec_la-adpcmdec.lo
adpcmdec.c:586:21: error: expected declaration specifiers or '...' before '(' token
adpcmdec.c:586:40: error: expected declaration specifiers or '...' before '(' token
adpcmdec.c:586:59: error: unknown type name 'adpcmdec'
adpcmdec.c:587:5: error: expected declaration specifiers or '...' before string constant
adpcmdec.c:587:22: error: expected declaration specifiers or '...' before 'plugin_init'
adpcmdec.c:587:35: error: expected declaration specifiers or '...' before string constant
adpcmdec.c:587:44: error: expected declaration specifiers or '...' before string constant
adpcmdec.c:587:52: error: expected declaration specifiers or '...' before string constant
adpcmdec.c:588:5: error: expected declaration specifiers or '...' before string constant
adpcmdec.c:576:1: warning: 'plugin_init' defined but not used [-Wunused-function]
make[3]: *** [libgstadpcmdec_la-adpcmdec.lo] Error 1
make[3]: Leaving directory `/home/dev/cerbero/sources/linux_x86_64/gst-plugins-    bad-0.10.23/gst/adpcmdec'
make[2]: *** [adpcmdec] Error 2
make[2]: Leaving directory `/home/dev/cerbero/sources/linux_x86_64/gst-plugins-bad-0.10.23/gst'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/dev/cerbero/sources/linux_x86_64/gst-plugins-bad-0.10.23'
make: *** [all] Error 2
4

1 回答 1

0

建站前的几件事

你安装了 liboil 和 orc 编译器吗?

运行 ./configure --enable-orc 如果你没有运行 ./configure 如果你没有

然后做一个

请记住在执行上述步骤之前执行 make distclean 或简单地获取干净的源代码。不要直接在“dirty half built”文件夹上执行此操作。

尽管我对此表示怀疑,但它也可能是一个 nasm/yasm 问题。

编辑:我的建议是安装 orc,因为这可以大大加快 gstreamer 的速度!

于 2012-08-28T18:51:28.793 回答