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の問題でもある可能性があります。

編集: gstreamer が大幅に高速化されるため、orc をインストールすることをお勧めします。

于 2012-08-28T18:51:28.793 に答える