[gst-devel] problems trying to configure/compile divx plugin

J. Gardner Biggs gardnerbiggs at houston.rr.com
Sat Oct 30 10:49:29 CEST 2004


I am trying to get a gstreamer enabled totem to play this file:

[jgbiggs at gort Videos]$ file sample01.avi
sample01.avi: RIFF (little-endian) data, AVI, 360 x 212, 25.00 fps,
video: DivX 5, audio: ADPCM (stereo, 44100 Hz)

I installed gstreamer-0.8.7 and gst-plugins-0.8.5 via garnome-2.8.1
installed to /opt/gnome-2.8.1

I take it is because the divx plugin is to being built.

I installed the divx4linux libraries to /opt/gnome-2.8.1/lib

I get this in my config.log

configure:38743: *** These plugins will not be built: dirac
configure:38811: checking encore2.h usability
configure:38823: ccache gcc -c -I/opt/gnome-2.8.1/include
-I/usr/X11R6/include -L/opt/gnome-2.8.1/lib -L/usr/X11R6/lib
-march=pentium3 -msse -pipe -I/opt/gnome-2.8.1/include
-I/usr/X11R6/include conftest.c >&5
configure:38829: $? = 0
configure:38833: test -z 
			 || test ! -s conftest.err
configure:38836: $? = 0
configure:38839: test -s conftest.o
configure:38842: $? = 0
configure:38852: result: yes
configure:38856: checking encore2.h presence
configure:38866: ccache gcc -E -I/opt/gnome-2.8.1/include
-I/usr/X11R6/include conftest.c
configure:38872: $? = 0
configure:38892: result: yes
configure:38927: checking for encore2.h
configure:38934: result: yes
configure:38948: checking Checking for valid divx4linux encore version
configure:38973: ccache gcc -c -I/opt/gnome-2.8.1/include
-I/usr/X11R6/include -L/opt/gnome-2.8.1/lib -L/usr/X11R6/lib
-march=pentium3 -msse -pipe -I/opt/gnome-2.8.1/include
-I/usr/X11R6/include conftest.c >&5
configure:38979: $? = 0
configure:38983: test -z 
			 || test ! -s conftest.err
configure:38986: $? = 0
configure:38989: test -s conftest.o
configure:38992: $? = 0
configure:38994: result: yes
configure:39018: checking decore.h usability
configure:39030: ccache gcc -c -I/opt/gnome-2.8.1/include
-I/usr/X11R6/include -L/opt/gnome-2.8.1/lib -L/usr/X11R6/lib
-march=pentium3 -msse -pipe -I/opt/gnome-2.8.1/include
-I/usr/X11R6/include conftest.c >&5
configure:39036: $? = 0
configure:39040: test -z 
			 || test ! -s conftest.err
configure:39043: $? = 0
configure:39046: test -s conftest.o
configure:39049: $? = 0
configure:39059: result: yes
configure:39063: checking decore.h presence
configure:39073: ccache gcc -E -I/opt/gnome-2.8.1/include
-I/usr/X11R6/include conftest.c
configure:39079: $? = 0
configure:39099: result: yes
configure:39134: checking for decore.h
configure:39141: result: yes
configure:39156: checking Checking for valid divx4linux decore version
configure:39181: ccache gcc -c -I/opt/gnome-2.8.1/include
-I/usr/X11R6/include -L/opt/gnome-2.8.1/lib -L/usr/X11R6/lib
-march=pentium3 -msse -pipe -I/opt/gnome-2.8.1/include
-I/usr/X11R6/include conftest.c >&5
configure:39187: $? = 0
configure:39191: test -z 
			 || test ! -s conftest.err
configure:39194: $? = 0
configure:39197: test -s conftest.o
configure:39200: $? = 0
configure:39202: result: yes
configure:39218: checking for encore in -ldivxencore
configure:39248: ccache gcc -o conftest -I/opt/gnome-2.8.1/include
-I/usr/X11R6/include -L/opt/gnome-2.8.1/lib -L/usr/X11R6/lib
-march=pentium3 -msse -pipe -I/opt/gnome-2.8.1/include
-I/usr/X11R6/include -L/opt/gnome-2.8.1/lib -L/usr/X11R6/lib conftest.c
-ldivxencore  -lm >&5
/usr/bin/ld: warning: libstdc++-libc6.2-2.so.3, needed
by /opt/gnome-2.8.1/lib/libdivxencore.so, not found (try using -rpath or
-rpath-link)
/opt/gnome-2.8.1/lib/libdivxencore.so: undefined reference to
`__cp_push_exception'
/opt/gnome-2.8.1/lib/libdivxencore.so: undefined reference to `char
type_info node'
/opt/gnome-2.8.1/lib/libdivxencore.so: undefined reference to
`__rtti_attr'
/opt/gnome-2.8.1/lib/libdivxencore.so: undefined reference to `char
type_info function'
/opt/gnome-2.8.1/lib/libdivxencore.so: undefined reference to `bad_alloc
virtual table'
/opt/gnome-2.8.1/lib/libdivxencore.so: undefined reference to
`__uncatch_exception'
/opt/gnome-2.8.1/lib/libdivxencore.so: undefined reference to
`__rtti_user'
/opt/gnome-2.8.1/lib/libdivxencore.so: undefined reference to
`__rtti_si'
/opt/gnome-2.8.1/lib/libdivxencore.so: undefined reference to
`__check_eh_spec'
/opt/gnome-2.8.1/lib/libdivxencore.so: undefined reference to `__throw'
/opt/gnome-2.8.1/lib/libdivxencore.so: undefined reference to
`terminate(void)'
/opt/gnome-2.8.1/lib/libdivxencore.so: undefined reference to
`__start_cp_handler'
/opt/gnome-2.8.1/lib/libdivxencore.so: undefined reference to
`__cp_pop_exception'
/opt/gnome-2.8.1/lib/libdivxencore.so: undefined reference to
`__builtin_vec_new'
/opt/gnome-2.8.1/lib/libdivxencore.so: undefined reference to
`__eh_rtime_match'
/opt/gnome-2.8.1/lib/libdivxencore.so: undefined reference to
`__rtti_ptr'
/opt/gnome-2.8.1/lib/libdivxencore.so: undefined reference to
`__builtin_vec_delete'
/opt/gnome-2.8.1/lib/libdivxencore.so: undefined reference to `exception
virtual table'
/opt/gnome-2.8.1/lib/libdivxencore.so: undefined reference to
`bad_alloc::~bad_alloc(void)'
/opt/gnome-2.8.1/lib/libdivxencore.so: undefined reference to
`__builtin_delete'
/opt/gnome-2.8.1/lib/libdivxencore.so: undefined reference to
`__terminate'
/opt/gnome-2.8.1/lib/libdivxencore.so: undefined reference to
`__builtin_new'
/opt/gnome-2.8.1/lib/libdivxencore.so: undefined reference to
`__eh_alloc'
collect2: ld returned 1 exit status
configure:39254: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define GST_PLUGINS_VERSION "0.8.5"
| #define GST_PLUGINS_VERSION_RELEASE "1"
| #define PACKAGE "gst-plugins"
| #define VERSION "0.8.5"
| #define PACKAGE "gst-plugins"
| #define VERSION "0.8.5"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #define ENABLE_NLS 1
| #define HAVE_GETTEXT 1
| #define HAVE_DCGETTEXT 1
| #define GETTEXT_PACKAGE "gst-plugins-0.8"
| #define LOCALEDIR "/opt/gnome-2.8.1/share/locale"
| #define STDC_HEADERS 1
| #define HAVE_MALLOC_H 1
| #define HAVE_PRETTY_FUNCTION 1
| #define HAVE_FUNCTION 1
| #define HAVE_FUNC 1
| #define GST_FUNCTION __PRETTY_FUNCTION__
| #define HAVE_FIONREAD_IN_SYS_IOCTL 1
| #define HAVE_EXTERNAL
| #define HAVE_CPU_I386 1
| #define HAVE_RDTSC 1
| #define HAVE_GCONFTOOL
| #define HAVE_GCONF
| #define HAVE_OSS_INCLUDE_IN_SYS
| #define HAVE_OSS
| #define HAVE_QCAM
| #define HAVE_VCD
| #define HAVE_OPENGL
| #define HAVE_LINUX_CDROM_H 1
| #define HAVE_CDROM_SOLARIS
| #define HAVE_CDROM
| #define HAVE_X
| #define HAVE_XVIDEO
| #define HAVE_XSHM
| #define HAVE_V4L
| #define HAVE_ALSA
| #define HAVE_AUDIOFILE
| #define CDPARANOIA_HEADERS_IN_DIR
| #define HAVE_CDPARANOIA
| /* end confdefs.h.  */
| 
| /* Override any gcc2 internal prototype to avoid an error.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| /* We use char because int might match the return type of a gcc2
|    builtin and then its argument prototype would still apply.  */
| char encore ();
| int
| main ()
| {
| encore ();
|   ;
|   return 0;
| }
configure:39280: result: no
configure:39290: WARNING: Divx4linux encore libs not found
configure:39405: *** These plugins will not be built: divx


Any ideas?


-- 
J. Gardner Biggs <gardnerbiggs at houston.rr.com>







More information about the gstreamer-devel mailing list