gst-plugins-bad-1.5.91 compiler error

jp.tanaka ppiq100 at ryuuo.com
Sat Sep 19 11:30:39 PDT 2015


thanks gstreamer team.

i compile gst-plugins-bad-1.5.91.

ON server_01:
$ gcc -v
組み込み spec を使用しています。
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/i686-redhat-linux/4.8.3/lto-wrapper
ターゲット: i686-redhat-linux
configure 設定: ../configure --prefix=/usr --mandir=/usr/share/man 
--infodir=/usr/share/info 
--with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap 
--enable-shared --enable-threads=posix --enable-checking=release 
--with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions 
--enable-gnu-unique-object --enable-linker-build-id 
--with-linker-hash-style=gnu 
--enable-languages=c,c++,objc,obj-c++,java,fortran,ada,go,lto 
--enable-plugin --enable-initfini-array --enable-java-awt=gtk 
--disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre 
--enable-libgcj-multifile --enable-java-maintainer-mode 
--with-ecj-jar=/usr/share/java/eclipse-ecj.jar 
--disable-libjava-multilib 
--with-isl=/builddir/build/BUILD/gcc-4.8.3-20140911/obj-i686-redhat-linux/isl-install 
--with-cloog=/builddir/build/BUILD/gcc-4.8.3-20140911/obj-i686-redhat-linux/cloog-install 
--with-tune=generic --with-arch=i686 --build=i686-redhat-linux
スレッドモデル: posix
gcc バージョン 4.8.3 20140911 (Red Hat 4.8.3-7) (GCC)
.......................................................................................................................

no problem ON server_01







but ON server_02

$ gcc -v
組み込み spec を使用しています。
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/i686-redhat-linux/5.1.1/lto-wrapper
ターゲット: i686-redhat-linux
configure 設定: ../configure --enable-bootstrap 
--enable-languages=c,c++,objc,obj-c++,fortran,ada,go,lto --prefix=/usr 
--mandir=/usr/share/man --infodir=/usr/share/info 
--with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared 
--enable-threads=posix --enable-checking=release --enable-multilib 
--with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions 
--enable-gnu-unique-object --enable-linker-build-id 
--with-linker-hash-style=gnu --enable-plugin --enable-initfini-array 
--disable-libgcj --with-default-libstdcxx-abi=c++98 --with-isl 
--enable-libmpx --enable-gnu-indirect-function --with-tune=generic 
--with-arch=i686 --build=i686-redhat-linux
スレッドモデル: posix
gcc バージョン 5.1.1 20150618 (Red Hat 5.1.1-4) (GCC)


$ ./autogen.sh  --prefix=/opt/local 
PKG_CONFIG_PATH=/opt/local/lib/pkgconfig 
LD_LIBRARY_PATH=/opt/local/lib:/usr/lib:/usr/local/lib: 
CFLAGS=-Wunused-function
.....................................................................................


gstvideoaggregator.c: At top level:
gstvideoaggregator.c:443:57: error: unknown type name 'gst_videoaggregator'
  _G_DEFINE_TYPE_EXTENDED_CLASS_INIT (GstVideoAggregator, 
gst_videoaggregator);
                                                          ^
gstvideoaggregator.c: In function 'gst_videoaggregator_get_type':
gstvideoaggregator.c:459:26: error: 
'gst_videoaggregator_class_intern_init' undeclared (first use in this 
function)
          (GClassInitFunc) gst_videoaggregator_class_intern_init,
                           ^
gstvideoaggregator.c:459:26: note: each undeclared identifier is 
reported only once for each function it appears in
gstvideoaggregator.c: At top level:
gstvideoaggregator.c:2073:1: warning: 'gst_videoaggregator_class_init' 
defined but not used [-Wunused-function]
  gst_videoaggregator_class_init (GstVideoAggregatorClass * klass)
  ^
Makefile:897: recipe for target 
'libgstbadvideo_1.0_la-gstvideoaggregator.lo' failed
make[4]: *** [libgstbadvideo_1.0_la-gstvideoaggregator.lo] Error 1
make[4]: Leaving directory 
'/home/user100/Library/Gst-1.5.90/gst-plugins-bad-1.5.91/gst-libs/gst/video'
Makefile:797: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory 
'/home/user100/Library/Gst-1.5.90/gst-plugins-bad-1.5.91/gst-libs/gst'
Makefile:782: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory 
'/home/user100/Library/Gst-1.5.90/gst-plugins-bad-1.5.91/gst-libs'
Makefile:951: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory 
'/home/user100/Library/Gst-1.5.90/gst-plugins-bad-1.5.91'
Makefile:880: recipe for target 'all' failed
make: *** [all] Error 2




any good idea ?









More information about the gstreamer-devel mailing list