[gstreamer-bugs] [Bug 410997] New: Fails to build with -z defs

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Thu Feb 22 14:10:18 PST 2007


Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=410997

  GStreamer | gst-plugins-good | Ver: HEAD CVS

           Summary: Fails to build with -z defs
           Product: GStreamer
           Version: HEAD CVS
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: major
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: lool+gnome at via.ecp.fr
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


Hi,

gts-plugins-good fails to build with -z defs in LDFLAGS. This is due to a
missing -lm flag:
 gcc -shared  .libs/libgstvideobalance_la-gstvideobalance.o  -Wl,--rpath
-Wl,/home/lool/jhbuild-gnome-2.18/prefix/lib -Wl,--rpath
-Wl,/home/lool/jhbuild-gnome-2.18/prefix/lib
-L/home/lool/jhbuild-gnome-2.18/prefix/lib
/home/lool/jhbuild-gnome-2.18/prefix/lib/libgstvideo-0.10.so
/home/lool/jhbuild-gnome-2.18/prefix/lib/libgstinterfaces-0.10.so
/home/lool/jhbuild-gnome-2.18/prefix/lib/libgstbase-0.10.so
/home/lool/jhbuild-gnome-2.18/prefix/lib/libgstreamer-0.10.so
/home/lool/jhbuild-gnome-2.18/prefix/lib/libgobject-2.0.so
/home/lool/jhbuild-gnome-2.18/prefix/lib/libgmodule-2.0.so -ldl
/home/lool/jhbuild-gnome-2.18/prefix/lib/libgthread-2.0.so -lrt
/home/lool/jhbuild-gnome-2.18/prefix/lib/libxml2.so
/home/lool/jhbuild-gnome-2.18/prefix/lib/libglib-2.0.so  -Wl,-O1 -Wl,-z
-Wl,defs -pthread -pthread -pthread -Wl,-soname -Wl,libgstvideobalance.so
-Wl,-version-script -Wl,.libs/libgstvideobalance.ver -o
.libs/libgstvideobalance.so
.libs/libgstvideobalance_la-gstvideobalance.o: In function
`gst_video_balance_update_tables_planar411':
/home/lool/jhbuild-gnome-2.18/checkout/gst-plugins-good/gst/videofilter/gstvideobalance.c:118:
undefined reference to `rint'
/home/lool/jhbuild-gnome-2.18/checkout/gst-plugins-good/gst/videofilter/gstvideobalance.c:123:
undefined reference to `cos'
/home/lool/jhbuild-gnome-2.18/checkout/gst-plugins-good/gst/videofilter/gstvideobalance.c:124:
undefined reference to `sin'

I'll attach a patch completely different from the gst-plugins-base fix from bug
410963.

Bye,


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email




More information about the Gstreamer-bugs mailing list