After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 308483 - Problem compiling gstreamer 0.9.1
Problem compiling gstreamer 0.9.1
Status: RESOLVED INCOMPLETE
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other Linux
: Normal normal
: NONE
Assigned To: Stefan Sauer (gstreamer, gtkdoc dev)
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-06-21 06:10 UTC by Pierre
Modified: 2006-02-17 11:58 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Pierre 2005-06-21 06:10:57 UTC
Version details: 0.9.1

[...]
Making all in tools
make[2]: Entering directory `/tmp/gstreamer-0.9.1/tools'
/bin/sh ../libtool --tag=CC --mode=link gcc -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include    -s -O3 -march=i686   -o gst-register-0.9
../gst/libgstreamer-0.9.la gst_register_0.9-gst-register.o -L/usr/local/lib
-lglib-2.0 -liconv   -lpopt 
gcc -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -s -O3
-march=i686 -o .libs/gst-register-0.9 gst_register_0.9-gst-register.o 
../gst/.libs/libgstreamer-0.9.so -L/usr/local/lib
-L/usr/local/BerkeleyDB.4.1/lib /usr/local/lib/libxml2.so -lz -lm
/usr/local/lib/libgobject-2.0.so /usr/local/lib/libgthread-2.0.so
/usr/local/lib/libgmodule-2.0.so -ldl /usr/local/lib/libglib-2.0.so
/usr/local/lib/libiconv.so /usr/local/lib/libpopt.so -lpthread
gst_register_0.9-gst-register.o: In function `global constructors keyed to
main_GCOV':
gst-register.c:(.text+0x7be): undefined reference to `__gcov_init'
gst_register_0.9-gst-register.o:(.data+0x44): undefined reference to
`__gcov_merge_add'
collect2: ld returned 1 exit status
make[2]: *** [gst-register-0.9] Error 1
make[2]: Leaving directory `/tmp/gstreamer-0.9.1/tools'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/gstreamer-0.9.1'
make: *** [all] Error 2
Comment 1 Andy Wingo 2005-07-16 15:07:42 UTC
Assigning to Stefan Kost.
Comment 2 Stefan Sauer (gstreamer, gtkdoc dev) 2005-07-16 18:27:45 UTC
Please post which gcc and gcov version you are using and which distribution you
are on. Some distris seems to have broken gcov binaries installed.
For now just don't build with coverage enabled during configure if it does not
work on your system.
Comment 3 Pierre 2005-09-07 22:12:15 UTC
gcc/gcov 3.4.3
GNU/Linux LFS
Comment 4 Stefan Sauer (gstreamer, gtkdoc dev) 2005-09-13 08:21:11 UTC
Im using 3.3.3 and there it works. google gives lots of hits when searching for
"global constructors keyed to" but no answer.

After searching for "undefined reference to `__gcov_merge_add'" I found:
http://leaf.dragonflybsd.org/~joerg/gcc-update.diff
which sounds like they have changed the behaviour in gcc-3.4 (added
ATTRIBUTE_HIDDEN to the gcov symbols).
Unfortunately this is where my knowledge ends.
Comment 5 Andy Wingo 2005-11-14 12:33:23 UTC
Pierre, is this still an issue with 0.9.5 ?
Comment 6 Jan Schmidt 2006-02-17 11:58:48 UTC
No response since November - assuming this has since been fixed. Please reopen if that's not the case.