[gst-devel] problem with gstinfo/gstclock

Brian Cameron Brian.Cameron at Sun.COM
Thu Jan 9 08:28:01 CET 2003


Gstreamer Gurus:

I'm not on this alias, so please cc: me on any response.  Thanks.

ISSUE #1
--------

When I try to compile gstinfo.c using the Sun Forte compiler, I get the
following error messages:

ild: (undefined symbol) _gst_debug_register_funcptr -- referenced in 
../../gst/.libs/libgstreamer-0.5.so
make[2]: *** [autoplugtest] Error 5

If I remove the leading "_" from all references to 
_gst_debug_register_funcptr and _gst_debug_nameof_funcptr, and 
remove the "inline" from the "gst_debug_register_funcptr", then
make clean, then remake, this error goes away.

I heard on the #gstreamer irc channel that this might be related
to libtool.  I'm using this version of libtool:

$ libtool --version
ltmain.sh (GNU libtool) 1.4 (1.920 2001/04/24 23:26:18)

Do I need to upgrade my libtool?

ISSUE #2
--------

Also, I have trouble compiling gstclock.c using the Sun Forte
compiler.  I get this error:

"gstclock.c", line 66: reference to static variable 
_gst_clock_entries_chunk" in inline extern function

The above error goes away if I make this change to gstclock.c:

-static inline GstClockID
+static GstClockID

The problem also goes away if I remove the static from the definition
of gst_clock_entries_chunk in gstclock.c.  Can this issue be fixed
by one of these two ways (whichever is most appropriate).

Brian





More information about the gstreamer-devel mailing list