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

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Thu Feb 22 12:42:01 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=410963

  GStreamer | gst-plugins-base | 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-base
        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,

/bin/sh ../../libtool --tag=CC --mode=link gcc  -Os  -Wl,-O1 -Wl,-z,defs -o
libgstaudiotestsrc.la -rpath
/home/lool/jhbuild-gnome-2.18/prefix/lib/gstreamer-0.10 -module -avoid-version
-export-symbols-regex '^_*gst_plugin_desc$' -no-undefined
libgstaudiotestsrc_la-gstaudiotestsrc.lo -pthread
-L/home/lool/jhbuild-gnome-2.18/prefix/lib -lgstbase-0.10 -lgstreamer-0.10
-lgobject-2.0 -lgmodule-2.0 -ldl -lgthread-2.0 -lrt -lxml2 -lglib-2.0  
-pthread -L/home/lool/jhbuild-gnome-2.18/prefix/lib -lgstreamer-0.10
-lgobject-2.0 -lgmodule-2.0 -ldl -lgthread-2.0 -lrt -lxml2 -lglib-2.0   
-pthread -L/home/lool/jhbuild-gnome-2.18/prefix/lib -lgstcontroller-0.10
-lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -ldl -lgthread-2.0 -lrt -lxml2
-lglib-2.0   
rm -fr  .libs/libgstaudiotestsrc.exp .libs/libgstaudiotestsrc.ver
generating symbol list for `libgstaudiotestsrc.la'
/usr/bin/nm -B  .libs/libgstaudiotestsrc_la-gstaudiotestsrc.o  | sed -n -e
's/^.*[      ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[         ][     
]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | /bin/sed 's/.* //' | sort | uniq >
.libs/libgstaudiotestsrc.exp
/bin/grep -E -e "^_*gst_plugin_desc$" ".libs/libgstaudiotestsrc.exp" >
".libs/libgstaudiotestsrc.expT"
mv -f ".libs/libgstaudiotestsrc.expT" ".libs/libgstaudiotestsrc.exp"
echo "{ global:" > .libs/libgstaudiotestsrc.ver
 cat .libs/libgstaudiotestsrc.exp | sed -e "s/\(.*\)/\1;/" >>
.libs/libgstaudiotestsrc.ver
 echo "local: *; };" >> .libs/libgstaudiotestsrc.ver
 gcc -shared  .libs/libgstaudiotestsrc_la-gstaudiotestsrc.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/libgstbase-0.10.so
/home/lool/jhbuild-gnome-2.18/prefix/lib/libgstcontroller-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,libgstaudiotestsrc.so
-Wl,-version-script -Wl,.libs/libgstaudiotestsrc.ver -o
.libs/libgstaudiotestsrc.so
.libs/libgstaudiotestsrc_la-gstaudiotestsrc.o: In function
`gst_audio_test_src_init_sine_table':
/home/lool/jhbuild-gnome-2.18/checkout/gst-plugins-base/gst/audiotestsrc/gstaudiotestsrc.c:500:
undefined reference to `sin'
.libs/libgstaudiotestsrc_la-gstaudiotestsrc.o: In function
`gst_audio_test_src_create_sine':
/home/lool/jhbuild-gnome-2.18/checkout/gst-plugins-base/gst/audiotestsrc/gstaudiotestsrc.c:324:
undefined reference to `sin'
collect2: ld returned 1 exit status
make[3]: *** [libgstaudiotestsrc.la] Erreur 1
make[3]: quittant le répertoire «
/home/lool/jhbuild-gnome-2.18/checkout/gst-plugins-base/gst/audiotestsrc »
make[2]: *** [all-recursive] Erreur 1
make[2]: quittant le répertoire «
/home/lool/jhbuild-gnome-2.18/checkout/gst-plugins-base/gst »

You might want to call AC_CHECK_LIBM in configure.ac.

Bye,


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




More information about the Gstreamer-bugs mailing list