[Gstreamer-bugs] GStreamer 0.6.0: Patch for bug# 106047
Martin Janzen
janzen at pixelmetrix.com
Mon Mar 3 22:48:40 PST 2003
In bug# 106047, gmourani at openna.com (Gerhard Mourani) wrote:
>I'm trying to compile gstreamer 0.6.0 on Gnome 2.2.0 and
> receive the folllowing error during build time:
> [...]
> ../../gst/.libs/libgstreamer-0.6.so: undefined reference
> to `__gst_function_pointers'
I got this too. If you compile without DEBUG enabled, you'll find
that the gstinfo.c file contains some code which should be #ifdef'ed
out:
*** gstinfo.c~ Sun Feb 2 05:09:22 2003
--- gstinfo.c Mon Mar 3 11:18:20 2003
***************
*** 564,569 ****
--- 564,570 ----
#endif /* GST_ENABLE_FUNC_INTSTRUMENTATION */
+ #ifdef GST_DEBUG_ENABLED
void *
_gst_debug_register_funcptr (void *ptr, gchar *ptrname)
{
***************
*** 573,576 ****
g_hash_table_insert (__gst_function_pointers, ptr, ptrname);
return ptr;
}
!
--- 574,577 ----
g_hash_table_insert (__gst_function_pointers, ptr, ptrname);
return ptr;
}
! #endif /* GST_DEBUG_ENABLED */
I don't know how one gets a Bugzilla account; perhaps the
gstreamer-maint folks could either update this bug report, and/or tell
me how to do it the "official" way...?
--
Martin Janzen
janzen at pixelmetrix dot com
More information about the Gstreamer-bugs
mailing list