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 110038 - sine fails to compile?
sine fails to compile?
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins
0.6.1
Other All
: Normal critical
: 0.6.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2003-04-05 11:29 UTC by Ronald Bultje
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Ronald Bultje 2003-04-05 11:29:34 UTC
make[3]: Entering directory
`/home/rbultje/projects/gstreamer/gstreamer-0.6.1/gst-plugins/gst/sine'
source='gstsinesrc.c' object='libgstsinesrc_la-gstsinesrc.lo' libtool=yes \
depfile='.deps/libgstsinesrc_la-gstsinesrc.Plo'
tmpdepfile='.deps/libgstsinesrc_la-gstsinesrc.TPlo' \
depmode=gcc3 /bin/sh ../../depcomp \
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../..  
 -I../../gst-libs -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pthread
-I/home/rbultje/projects/gstreamer/gstreamer-0.6.1/gstreamer/pkgconfig/..
-I/home/rbultje/projects/gstreamer/gstreamer-0.6.1/gstreamer/pkgconfig/../libs
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2
  -DGST_DISABLE_DEPRECATED
-g  -g -O2 -c -o libgstsinesrc_la-gstsinesrc.lo `test -f 'gstsinesrc.c' || echo
'./'`gstsinesrc.c
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../gst-libs -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -pthread
-I/home/rbultje/projects/gstreamer/gstreamer-0.6.1/gstreamer/pkgconfig/..
-I/home/rbultje/projects/gstreamer/gstreamer-0.6.1/gstreamer/pkgconfig/../libs
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2
-DGST_DISABLE_DEPRECATED -g -g -O2 -c gstsinesrc.c -MT
libgstsinesrc_la-gstsinesrc.lo -MD -MP -MF
.deps/libgstsinesrc_la-gstsinesrc.TPlo  -fPIC -DPIC -o
libgstsinesrc_la-gstsinesrc.lo
/bin/sh ../../libtool --mode=link gcc  -g -O2   -o libgstsinesrc.la -rpath
/usr/local/lib/gstreamer-0.6 -module -avoid-version
libgstsinesrc_la-gstsinesrc.lo
/home/rbultje/projects/gstreamer/gstreamer-0.6.1/gstreamer/pkgconfig/../gst/libgstreamer-0.6.la
-Wl,--export-dynamic -pthread -lgobject-2.0 -lgmodule-2.0 -ldl
-lgthread-2.0 -lxml2 -lz -lm -lglib-2.0   -lgstcontrol-0.6
mkdir .libs
rm -fr .libs/libgstsinesrc.la .libs/libgstsinesrc.* .libs/libgstsinesrc.*
(cd . && ln -s libgstsinesrc_la-gstsinesrc.lo libgstsinesrc_la-gstsinesrc.o)
gcc -shared  libgstsinesrc_la-gstsinesrc.lo  -Wl,--rpath
-Wl,/home/rbultje/projects/gstreamer/gstreamer-0.6.1/gstreamer/pkgconfig/../gst/.libs
-Wl,--rpath -Wl,/usr/local/lib  -L/usr/lib
/home/rbultje/projects/gstreamer/gstreamer-0.6.1/gstreamer/pkgconfig/../gst/.libs/libgstreamer-0.6.so
-lgobject-2.0 -lgmodule-2.0 -ldl -lgthread-2.0 -lxml2 -lz -lm -lglib-2.0
-lgstcontrol-0.6   -Wl,--export-dynamic -Wl,-soname -Wl,libgstsinesrc.so -o
.libs/libgstsinesrc.so
/usr/bin/ld: cannot find -lgstcontrol-0.6
collect2: ld returned 1 exit status
make[3]: *** [libgstsinesrc.la] Error 1
make[3]: Leaving directory
`/home/rbultje/projects/gstreamer/gstreamer-0.6.1/gst-plugins/gst/sine'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/rbultje/projects/gstreamer/gstreamer-0.6.1/gst-plugins/gst'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/rbultje/projects/gstreamer/gstreamer-0.6.1/gst-plugins'
make: *** [all] Error 2
[rbultje@tux gst-plugins]$
Comment 1 Ronald Bultje 2003-04-05 11:40:03 UTC
This only happens for uninstalled gst, btw. The offending lines are in
configure.ac for gst-plugins:

dnl additional gstcontrol libs
GST_CONTROL_LIBS=`pkg-config --variable=gstcontrol_libs
gstreamer-$GST_MAJORMINOR`
AC_SUBST(GST_CONTROL_LIBS)

We're not using PKG_CHECK_MODULES(), so we're not checking for
uninstalled gstreamer. we should use:

PKG_CHECK_MODULES(GST_CONTROL, gstreamer-control-$GST_MAJORMINOR, ,
AC_MSG_ERROR(You don't have gstreamer-control, go find a doctor))
Comment 2 Ronald Bultje 2003-04-07 21:22:35 UTC
Fixed in CVS/0.6.1.