[Bug 644176] New: a patch to build gst-plugins-bad-0.10.21.1+git20110307

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Mar 8 01:13:05 PST 2011


https://bugzilla.gnome.org/show_bug.cgi?id=644176
  GStreamer | gst-plugins-bad | 0.10.32

           Summary: a patch to build gst-plugins-bad-0.10.21.1+git20110307
    Classification: Desktop
           Product: GStreamer
           Version: 0.10.32
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: brofkims at gmail.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
      GNOME target: ---
     GNOME version: ---


1. On Ubuntu natty(11.04 developmental, gcc-4.5.2) I failed to build
gst-plugins-bad-0.10.21.1+git20110307 due to 'undefined reference to floor()'.
Details are followed at the end of this report.


2. This problem is solved by linking relevant objects against libm.


3. A patch about this problem is here.

--- gst-plugins-bad0.10-0.10.21.1+git20110307/gst/videofilters/Makefile.am.orig
2011-03-08 17:43:57.000000000 +0900
+++ gst-plugins-bad0.10-0.10.21.1+git20110307/gst/videofilters/Makefile.am     
2011-03-08 16:54:27.000000000 +0900
@@ -12,7 +12,7 @@
        $(GST_CFLAGS) \
        $(ORC_CFLAGS)
 libgstvideofiltersbad_la_LIBADD = \
-       $(GST_PLUGINS_BASE_LIBS) -lgstvideo-$(GST_MAJORMINOR) \
+       $(GST_PLUGINS_BASE_LIBS) $(LIBM) -lgstvideo-$(GST_MAJORMINOR) \
        $(GST_BASE_LIBS) \
        $(GST_LIBS) \
        $(ORC_LIBS)


4. Error log:

...
libtool: link: mv -f ".libs/libgstvideofiltersbad.expT"
".libs/libgstvideofiltersbad.exp"
libtool: link: echo "{ global:" > .libs/libgstvideofiltersbad.ver
libtool: link:  cat .libs/libgstvideofiltersbad.exp | sed -e "s/\(.*\)/\1;/" >>
.libs/libgstvideofiltersbad.ver
libtool: link:  echo "local: *; };" >> .libs/libgstvideofiltersbad.ver
libtool: link:  gcc -shared  .libs/libgstvideofiltersbad_la-gstzebrastripe.o
.libs/libgstvideofiltersbad_la-gstvideofiltersbad.o   -lgstvideo-0.10
/usr/lib/libgstbase-0.10.so /usr/lib/libgstreamer-0.10.so
/usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so /usr/lib/libxml2.so
/usr/lib/libgthread-2.0.so -lrt /usr/lib/libglib-2.0.so -lorc-0.4  -pthread
-pthread -Wl,-Bsymbolic-functions -Wl,-z -Wl,defs -Wl,-O1 -Wl,--as-needed
-pthread -pthread -pthread   -pthread -Wl,-soname -Wl,libgstvideofiltersbad.so
-Wl,-version-script -Wl,.libs/libgstvideofiltersbad.ver -o
.libs/libgstvideofiltersbad.so
.libs/libgstvideofiltersbad_la-gstzebrastripe.o: In function
`gst_zebra_stripe_transform_ip':
/home/brofkims/build/gst-plugins-bad0.10-0.10.21.1+git20110307/gst/videofilters/gstzebrastripe.c:294:
undefined reference to `floor'
collect2: ld returned 1 exit status
make[4]: *** [libgstvideofiltersbad.la] error 1

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list