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 320756 - gstreamer-0.9.4 compile error on Fedora Core 4 x86_64
gstreamer-0.9.4 compile error on Fedora Core 4 x86_64
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
0.9.x
Other Linux
: High normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-11-05 13:30 UTC by Simon Lanzmich
Modified: 2005-12-04 19:13 UTC
See Also:
GNOME target: ---
GNOME version: 2.9/2.10



Description Simon Lanzmich 2005-11-05 13:30:04 UTC
Distribution/Version: Fedora Core 4 x86_64

The compilation of gstreamer-0.9.4 on Fedora Core 4 x86_64 fails with the
following error:

[...]
Making all in check
make[4]: Entering directory `/home/simon/build/gstreamer-0.9.4/gst/check'
if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I../..    -I../../libs -I../.. -I../.. -pthread -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/include/libxml2   -Wall  -g  
-DGST_DISABLE_DEPRECATED  -g -O2 -MT libgstcheck_0.9_la-gstcheck.lo -MD -MP -MF
".deps/libgstcheck_0.9_la-gstcheck.Tpo" -c -o libgstcheck_0.9_la-gstcheck.lo
`test -f 'gstcheck.c' || echo './'`gstcheck.c; \
then mv -f ".deps/libgstcheck_0.9_la-gstcheck.Tpo"
".deps/libgstcheck_0.9_la-gstcheck.Plo"; else rm -f
".deps/libgstcheck_0.9_la-gstcheck.Tpo"; exit 1; fi
mkdir .libs
 gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libs -I../.. -I../.. -pthread
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2
-Wall -g -DGST_DISABLE_DEPRECATED -g -O2 -MT libgstcheck_0.9_la-gstcheck.lo -MD
-MP -MF .deps/libgstcheck_0.9_la-gstcheck.Tpo -c gstcheck.c  -fPIC -DPIC -o
.libs/libgstcheck_0.9_la-gstcheck.o
 gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libs -I../.. -I../.. -pthread
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2
-Wall -g -DGST_DISABLE_DEPRECATED -g -O2 -MT libgstcheck_0.9_la-gstcheck.lo -MD
-MP -MF .deps/libgstcheck_0.9_la-gstcheck.Tpo -c gstcheck.c -o
libgstcheck_0.9_la-gstcheck.o >/dev/null 2>&1
/bin/sh ../../libtool --tag=CC --mode=link gcc  -g -O2   -o libgstcheck-0.9.la
-rpath /usr/lib64 -no-undefined libgstcheck_0.9_la-gstcheck.lo
../../gst/libgstreamer-0.9.la -pthread -Wl,--export-dynamic -lgobject-2.0
-lgthread-2.0 -lgmodule-2.0 -ldl -lglib-2.0    -lcheck ../libgstreamer-0.9.la
gcc -shared  .libs/libgstcheck_0.9_la-gstcheck.o  -Wl,--rpath
-Wl,/home/simon/build/gstreamer-0.9.4/gst/.libs
../../gst/.libs/libgstreamer-0.9.so -lgobject-2.0 -lgthread-2.0 -lgmodule-2.0
-ldl -lglib-2.0 -lcheck ../.libs/libgstreamer-0.9.so  -pthread
-Wl,--export-dynamic -Wl,-soname -Wl,libgstcheck-0.9.so.0 -o
.libs/libgstcheck-0.9.so.0.0.0
/usr/bin/ld:
/usr/lib/gcc/x86_64-redhat-linux/4.0.1/../../../../lib64/libcheck.a(check.o):
relocation R_X86_64_32 against `a local symbol' can not be used when making a
shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-redhat-linux/4.0.1/../../../../lib64/libcheck.a: could not
read symbols: Bad value
collect2: ld returned 1 exit status
make[4]: *** [libgstcheck-0.9.la] Fehler 1
make[4]: Leaving directory `/home/simon/build/gstreamer-0.9.4/gst/check'
make[3]: *** [all-recursive] Fehler 1
make[3]: Leaving directory `/home/simon/build/gstreamer-0.9.4/gst'
make[2]: *** [all] Fehler 2
make[2]: Leaving directory `/home/simon/build/gstreamer-0.9.4/gst'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/home/simon/build/gstreamer-0.9.4'
make: *** [all] Fehler 2
Comment 1 Daniel Fort 2005-11-12 21:17:36 UTC
Same problem on Gentoo AMD64. Using './configure --enable-fPIC' doesn't help.
Comment 2 Simon Lanzmich 2005-11-12 22:43:46 UTC
Same error with gstreamer-0.9.5
Comment 3 Thomas Vander Stichele 2005-11-23 11:56:54 UTC
which version of the check library is this ? It looks like it was built wrong.
Comment 4 Simon Lanzmich 2005-11-23 17:16:56 UTC
I have installed
check.x86_64                             0.9.3-1.fc4
check-devel.x86_64                       0.9.3-2.fc4
from the fedora extras repository.
For that, I can't really tell whether it was built wrong or not, or can I?
Comment 5 Thomas Vander Stichele 2005-11-27 13:24:32 UTC
drawing from experience on other distros, it would seem check needs to be
recompiled with -fPIC.  Can you open a bug in fedora's bugzilla ?
Comment 6 Simon Lanzmich 2005-11-27 18:20:50 UTC
done. Here it is: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=174313
Comment 7 Simon Lanzmich 2005-12-04 18:03:34 UTC
The fedora package has been updated.
Works now.