[Bug-report] [Lunar Linux 0000238]: gstreamer fails to compile
bug-reports at lunar-linux.org
bug-reports at lunar-linux.org
Sun Feb 9 16:42:39 GMT 2003
The following bug has been RESOLVED.
=======================================================================
http://bugs.lunar-linux.org/view_bug_page.php?f_id=0000238
=======================================================================
Reporter: tiomo
Handler: nhudson
=======================================================================
Project: Lunar Linux
Bug ID: 0000238
Category: moonbase
Reproducibility: always
Severity: minor
Priority: normal
Status: resolved
Resolution: fixed
=======================================================================
Date Submitted: 2003-02-08 02:39 GMT
Last Modified: 2003-02-09 16:42 GMT
=======================================================================
Summary: gstreamer fails to compile
Description:
well, strange error... compile log is below. I just wanted to install
gnome2 but it hangs on gstreamer.
after compilation failed i made a "configure --prefix=/opt/lunar/gnome/2"
and a "make" in /usr/src/gstreamer-0.6.0 and it worked without flaws. But
when compilation is started by a lin process it always fails with that
error.
Sam Feb 8 01:14:48 UTC 2003
Compile log for gstreamer 0.6.0 Built on Sam Feb 8 01:14:15 UTC 2003
CFLAGS:= -O3 -mcpu=athlon-xp -march=athlon-xp -funroll-loops -mmmx -msse
-m3dnow -mfpmath=sse,387
OPTS:=
++ ./configure --build=i686-pc-linux-gnu --prefix=/usr --sysconfdir=/etc
--localstatedir=/var --infodir=/usr/share/info --mandir=/usr/share/man
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
configure: configuring gstreamer for release
checking whether to enable maintainer-specific portions of Makefiles...
no
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for strerror in -lcposix... no
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependant libraries... pass_all
checking command to parse /usr/bin/nm -B output... ok
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... no
checking if we can lock with hard links... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/ld) supports shared libraries...
yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... no
creating libtool
checking for gcc option to accept ANSI C... none needed
checking for compiler flavour... gcc
checking for ANSI C header files... (cached) yes
checking for gtkdoc-scangobj... true
checking gtk-doc version (1.0) >= 0.7... yes
checking for xsltproc... true
checking for pdftops... false
checking for fig2dev... false
configure: WARNING: Did not find fig2dev (from xfig), images will not be
generated.
configure: Looking for Python version >= 2.1
checking for python... /usr/bin/python
checking "/usr/bin/python":... okay
checking local Python configuration... looks good
checking whether byte ordering is bigendian... no
checking for MMX-capable compiler... yes
checking for bison... /usr/bin/bison
checking for flex... /usr/bin/flex
checking for large file support... yes
checking for usable SVR4/SUSv2 makecontext(2)/swapcontext(2)... yes
checking whether gcc implements __PRETTY_FUNCTION__... yes
checking whether gcc implements __FUNCTION__... yes
checking whether gcc implements __func__... yes
checking for pkg-config... /usr/bin/pkg-config
checking for glib-2.0 >= 2.0.1 gobject-2.0 gthread-2.0 gmodule-2.0... yes
checking GLIB2_CFLAGS... -pthread -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include
checking GLIB2_LIBS... -pthread -Wl,--export-dynamic -lgobject-2.0
-lgthread-2.0 -lgmodule-2.0 -ldl -lglib-2.0
checking for libxml-2.0 >= 2.4.0... yes
checking XML_CFLAGS... -I/usr/include/libxml2
checking XML_LIBS... -lxml2 -lz -lm
configure: Test xml2 program linked
checking for poptStrippedArgv in -lpopt... yes
checking popt.h usability... yes
checking popt.h presence... yes
checking for popt.h... yes
configure: Checking for POPT_TABLEEND
checking asm/atomic.h usability... yes
checking asm/atomic.h presence... yes
checking for asm/atomic.h... yes
checking ucontext.h usability... yes
checking ucontext.h presence... yes
checking for ucontext.h... yes
configure: Using /var/cache/gstreamer-0.6 as registry cache dir
configure: WARNING: Sissy ! By asking to not build the tests known to
fail, you hereby waive your right to customer support. If you do not
agree with this EULA, please press Ctrl-C before the next line is printed.
By allowing the next line to be printed, you expressly acknowledge your
acceptance of this EULA.
checking for pthread_attr_setstack in -lpthread... yes
checking for posix_memalign... yes
checking for libgnomeui-2.0... yes
checking LIBGNOMEUI_CFLAGS... -DORBIT2=1 -pthread
-I/opt/lunar/gnome/2/include/libgnomeui-2.0
-I/opt/lunar/gnome/2/include/libgnome-2.0
-I/opt/lunar/gnome/2/include/libgnomecanvas-2.0
-I/opt/lunar/gnome/2/include/gconf/2
-I/opt/lunar/gnome/2/include/libbonoboui-2.0
-I/opt/lunar/gnome/2/include/libbonobo-2.0
-I/opt/lunar/gnome/2/include/gnome-vfs-2.0
-I/opt/lunar/gnome/2/lib/gnome-vfs-2.0/include
-I/opt/lunar/gnome/2/include/linc-1.0
-I/opt/lunar/gnome/2/include/bonobo-activation-2.0 -I/usr/include/gtk-2.0
-I/usr/include/libart-2.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0
-I/usr/include/pango-1.0 -I/usr/include/freetype2
-I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/X11R6/include
-I/usr/include/libxml2
checking LIBGNOMEUI_LIBS... -Wl,--export-dynamic -pthread
-L/opt/lunar/gnome/2/lib -L/usr/X11R6/lib -lgnomeui-2 -lSM -lICE
-lbonoboui-2 -lxml2 -lz -lgnomecanvas-2 -lgnome-2 -lart_lgpl_2
-lpangoft2-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0
-lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lbonobo-2 -lgconf-2 -lgnomevfs-2
-lbonobo-activation -lORBit-2 -lpthread -lm -llinc -lgmodule-2.0 -ldl
-lgobject-2.0 -lgthread-2.0 -lglib-2.0
configure: creating ./config.status
config.status: creating Makefile
config.status: creating include/Makefile
config.status: creating gst/Makefile
config.status: creating gst/gstversion.h
config.status: creating gst/autoplug/Makefile
config.status: creating gst/indexers/Makefile
config.status: creating gst/elements/Makefile
config.status: creating gst/parse/Makefile
config.status: creating gst/schedulers/Makefile
config.status: creating gst/types/Makefile
config.status: creating gst/registries/Makefile
config.status: creating libs/Makefile
config.status: creating libs/gst/Makefile
config.status: creating libs/gst/bytestream/Makefile
config.status: creating libs/gst/getbits/Makefile
config.status: creating libs/gst/putbits/Makefile
config.status: creating libs/gst/control/Makefile
config.status: creating libs/ext/Makefile
config.status: creating tests/Makefile
config.status: creating tests/bufspeed/Makefile
config.status: creating tests/memchunk/Makefile
config.status: creating tests/muxing/Makefile
config.status: creating tests/seeking/Makefile
config.status: creating tests/sched/Makefile
config.status: creating tests/threadstate/Makefile
config.status: creating testsuite/Makefile
config.status: creating testsuite/bytestream/Makefile
config.status: creating testsuite/caps/Makefile
config.status: creating testsuite/cleanup/Makefile
config.status: creating testsuite/clock/Makefile
config.status: creating testsuite/dynparams/Makefile
config.status: creating testsuite/elements/Makefile
config.status: creating testsuite/indexers/Makefile
config.status: creating testsuite/plugin/Makefile
config.status: creating testsuite/refcounting/Makefile
config.status: creating testsuite/threads/Makefile
config.status: creating examples/Makefile
config.status: creating examples/autoplug/Makefile
config.status: creating examples/cutter/Makefile
config.status: creating examples/helloworld/Makefile
config.status: creating examples/helloworld2/Makefile
config.status: creating examples/launch/Makefile
config.status: creating examples/manual/Makefile
config.status: creating examples/mixer/Makefile
config.status: creating examples/pingpong/Makefile
config.status: creating examples/plugins/Makefile
config.status: creating examples/queue/Makefile
config.status: creating examples/queue2/Makefile
config.status: creating examples/queue3/Makefile
config.status: creating examples/queue4/Makefile
config.status: creating examples/thread/Makefile
config.status: creating examples/typefind/Makefile
config.status: creating examples/xml/Makefile
config.status: creating tools/Makefile
config.status: creating docs/Makefile
config.status: creating docs/devhelp/Makefile
config.status: creating docs/faq/Makefile
config.status: creating docs/gst/Makefile
config.status: creating docs/gst/gstreamer.types
config.status: creating docs/libs/Makefile
config.status: creating docs/manual/Makefile
config.status: creating docs/pwg/Makefile
config.status: creating docs/plugins/Makefile
config.status: creating docs/plugins/gstreamer-plugins.types
config.status: creating docs/xsl/Makefile
config.status: creating pkgconfig/Makefile
config.status: creating pkgconfig/gstreamer.pc
config.status: creating pkgconfig/gstreamer-uninstalled.pc
config.status: creating pkgconfig/gstreamer-control.pc
config.status: creating pkgconfig/gstreamer-control-uninstalled.pc
config.status: creating stamp.h
config.status: creating gstreamer.spec
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing default commands
configure: configuring in libs/ext/cothreads
configure: running /bin/sh './configure' --prefix=/usr
'--build=i686-pc-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc'
'--localstatedir=/var' '--infodir=/usr/share/info'
'--mandir=/usr/share/man' 'CFLAGS=-O3 -mcpu=athlon-xp -march=athlon-xp
-funroll-loops -mmmx -msse -m3dnow -mfpmath=sse,387' 'LDFLAGS= -s'
'build_alias=i686-pc-linux-gnu' --cache-file=/dev/null --srcdir=.
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
Build Tools:
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking whether make sets ${MAKE}... (cached) yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependant libraries... pass_all
checking command to parse /usr/bin/nm -B output... ok
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... no
checking if we can lock with hard links... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/ld) supports shared libraries...
yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... no
creating libtool
checking for compiler flavour... gcc
Mandatory Platform Environment:
checking for ANSI C header files... (cached) yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for stdlib.h... (cached) yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking for string.h... (cached) yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking for unistd.h... (cached) yes
checking setjmp.h usability... yes
checking setjmp.h presence... yes
checking for setjmp.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking for sys/types.h... (cached) yes
checking for function sigaction... yes
checking for function sigprocmask... yes
checking for function sigpending... yes
checking for function sigsuspend... yes
decision on mandatory system headers and functions... all fine
Optional Platform Environment:
checking for attribute ss_base in struct sigaltstack from sys/signal.h...
no
checking for attribute ss_sp in struct sigaltstack from sys/signal.h...
yes
Machine Context Implementation:
checking ucontext.h usability... yes
checking ucontext.h presence... yes
checking for ucontext.h... yes
checking for function makecontext... yes
checking for function swapcontext... yes
checking for function getcontext... yes
checking for function setcontext... yes
checking for usable SVR4/SUSv2 makecontext(2)/swapcontext(2)... yes
checking for signal.h... (cached) yes
checking for function sigsetjmp... no
checking for function siglongjmp... yes
checking for function setjmp... yes
checking for function longjmp... yes
checking for function _setjmp... yes
checking for function _longjmp... yes
checking for function sigaltstack... yes
checking for function sigstack... yes
checking for signal-mask aware setjmp(3)/longjmp(3)... yes: ssjlj
checking for typedef stack_t... yes
checking for need for separate stack... no
checking for direction of stack growth... down
checking for function makecontext... (cached) yes
checking for stack setup via makecontext... ok
checking for function sigaltstack... (cached) yes
checking for typedef stack_t... (cached) yes
checking for stack setup via sigaltstack... ok
checking for function sigstack... (cached) yes
checking for stack setup via sigstack... guessed
decision on mctx implementation... mcsc/sc/mc
Cothreads Package Configuration:
checking for pthread_attr_setstack in -lpthread... yes
checking for posix_memalign... yes
checking for pkg-config... /usr/bin/pkg-config
checking for glib-2.0... yes
checking GLIB_CFLAGS... -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include
checking GLIB_LIBS... -lglib-2.0
checking for glib-2.0 gthread-2.0... yes
checking GTHREAD_CFLAGS... -pthread -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include
checking GTHREAD_LIBS... -pthread -lgthread-2.0 -lglib-2.0
Output Substitution:
configure: creating ./config.status
config.status: creating Makefile
config.status: creating tests/Makefile
config.status: creating cothreads/Makefile
config.status: creating cothreads/config-public.h
config.status: creating cothreads/config-private.h
config.status: cothreads/config-private.h is unchanged
config.status: executing depfiles commands
++ set +x
make all-recursive
make[1]: Wechsel in das Verzeichnis Verzeichnis
»/usr/src/gstreamer-0.6.0«
Making all in include
make[2]: Wechsel in das Verzeichnis Verzeichnis
»/usr/src/gstreamer-0.6.0/include«
make[2]: Für das Target »all« gibt es nichts zu tun.
make[2]: Verlassen des Verzeichnisses Verzeichnis
»/usr/src/gstreamer-0.6.0/include«
Making all in gst
make[2]: Wechsel in das Verzeichnis Verzeichnis
»/usr/src/gstreamer-0.6.0/gst«
glib-genmarshal --header --prefix=gst_marshal gstmarshal.list >
gstmarshal.h.tmp
mv gstmarshal.h.tmp gstmarshal.h
echo "#include \"glib-object.h\"" >gstmarshal.c.tmp
echo "#include \"gstlog.h\"" >> gstmarshal.c.tmp
echo "#include \"gstmarshal.h\"" >> gstmarshal.c.tmp
glib-genmarshal --body --prefix=gst_marshal gstmarshal.list >>
gstmarshal.c.tmp
mv gstmarshal.c.tmp gstmarshal.c
make all-recursive
make[3]: Wechsel in das Verzeichnis Verzeichnis
»/usr/src/gstreamer-0.6.0/gst«
Making all in parse
make[4]: Wechsel in das Verzeichnis Verzeichnis
»/usr/src/gstreamer-0.6.0/gst/parse«
make all-am
make[5]: Wechsel in das Verzeichnis Verzeichnis
»/usr/src/gstreamer-0.6.0/gst/parse«
source='lex._gst_parse_yy.c' object='libgstparse_la-lex._gst_parse_yy.lo'
libtool=yes \
depfile='.deps/libgstparse_la-lex._gst_parse_yy.Plo'
tmpdepfile='.deps/libgstparse_la-lex._gst_parse_yy.TPlo' \
depmode=gcc3 /bin/sh ../../depcomp \
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../..
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/libxml2
-pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I../..
-O3 -mcpu=athlon-xp -march=athlon-xp -funroll-loops -mmmx -msse -m3dnow
-mfpmath=sse,387 -c -o libgstparse_la-lex._gst_parse_yy.lo `test -f
'lex._gst_parse_yy.c' || echo './'`lex._gst_parse_yy.c
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I/usr/include/libxml2 -pthread
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I../.. -O3
-mcpu=athlon-xp -march=athlon-xp -funroll-loops -mmmx -msse -m3dnow
-mfpmath=sse,387 -c lex._gst_parse_yy.c -MT
libgstparse_la-lex._gst_parse_yy.lo -MD -MP -MF
.deps/libgstparse_la-lex._gst_parse_yy.TPlo -fPIC -DPIC
mv -f libgstparse_la-lex._gst_parse_yy.o
.libs/libgstparse_la-lex._gst_parse_yy.lo
mv: cannot stat `libgstparse_la-lex._gst_parse_yy.o': No such file or
directory
make[5]: *** [libgstparse_la-lex._gst_parse_yy.lo] Fehler 1
make[5]: Verlassen des Verzeichnisses Verzeichnis
»/usr/src/gstreamer-0.6.0/gst/parse«
make[4]: *** [all] Fehler 2
make[4]: Verlassen des Verzeichnisses Verzeichnis
»/usr/src/gstreamer-0.6.0/gst/parse«
make[3]: *** [all-recursive] Fehler 1
make[3]: Verlassen des Verzeichnisses Verzeichnis
»/usr/src/gstreamer-0.6.0/gst«
make[2]: *** [all] Fehler 2
make[2]: Verlassen des Verzeichnisses Verzeichnis
»/usr/src/gstreamer-0.6.0/gst«
make[1]: *** [all-recursive] Fehler 1
make[1]: Verlassen des Verzeichnisses Verzeichnis
»/usr/src/gstreamer-0.6.0«
make: *** [all] Fehler 2
=======================================================================
-----------------------------------------------------------------------
nhudson - 2003-02-08 05:04 GMT
-----------------------------------------------------------------------
There is nothing wrong with the gstreamer module .... it compiles fine
please turn off some of those optimizations. I run only this :
-03 -march=athlon-xp -mcpu=athlon-xp -z -s
-funroll-loops is very very bad on ALOT of programs ... as us lunar
developers suggest if you dont know what the optimization does then dont
use it. try it with my opts and see what happens. I have a Athlon xp1800
and it compiles fine using those options.
-----------------------------------------------------------------------
tiomo - 2003-02-09 12:54 GMT
-----------------------------------------------------------------------
well as i already wrote above disabling distcc fixed this one for me. my
optimizations worked but i'll use less aggressive settings...
More information about the Lunar-bugs
mailing list