After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 93529 - Gstreamer doesn't compile
Gstreamer doesn't compile
Status: VERIFIED INCOMPLETE
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
0.4.1
Other Linux
: Normal critical
: 0.4.0
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2002-09-17 22:22 UTC by Christian Meyer
Modified: 2009-08-15 18:40 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Christian Meyer 2002-09-17 22:22:02 UTC
I'm using gcc3.2.
Latest glib release. Everything's ok so far.

./configure --prefix=/usr/local

The following compiler error shows up:

gcc -g -O2 -o cothreads cothreads-cothreads.o 
../cothreads/.libs/libcothreads.al
../cothreads/.libs/libcothreads.al(libcothreads_gthreads_la-cothreads.lo):
In function `cothreads_init':
/tmp/gstreamer/libs/ext/cothreads/cothreads/cothreads.c:115: undefined
reference to `g_log'
../cothreads/.libs/libcothreads.al(libcothreads_gthreads_la-cothreads.lo):
In function `cothreads_init_thread':
/tmp/gstreamer/libs/ext/cothreads/cothreads/cothreads.c:162: undefined
reference to `g_static_private_get'
/tmp/gstreamer/libs/ext/cothreads/cothreads/cothreads.c:167: undefined
reference to `g_log'
/tmp/gstreamer/libs/ext/cothreads/cothreads/cothreads.c:197: undefined
reference to `g_static_private_set'
/tmp/gstreamer/libs/ext/cothreads/cothreads/cothreads.c:175: undefined
reference to `g_log'
../cothreads/.libs/libcothreads.al(libcothreads_gthreads_la-cothreads.lo):
In function `cothreads_get_chunk':
/tmp/gstreamer/libs/ext/cothreads/cothreads/cothreads.c:211: undefined
reference to `g_static_private_get'
/tmp/gstreamer/libs/ext/cothreads/cothreads/cothreads.c:213: undefined
reference to `g_static_private_get'
../cothreads/.libs/libcothreads.al(libcothreads_gthreads_la-cothreads.lo):
In function `cothread_create':
/tmp/gstreamer/libs/ext/cothreads/cothreads/cothreads.c:280: undefined
reference to `g_log'
/tmp/gstreamer/libs/ext/cothreads/cothreads/cothreads.c:271: undefined
reference to `g_log'
/tmp/gstreamer/libs/ext/cothreads/cothreads/cothreads.c:266: undefined
reference to `g_log'
../cothreads/.libs/libcothreads.al(libcothreads_gthreads_la-cothreads.lo):
In function `cothread_destroy':
/tmp/gstreamer/libs/ext/cothreads/cothreads/cothreads.c:383: undefined
reference to `g_log'
/tmp/gstreamer/libs/ext/cothreads/cothreads/cothreads.c:379: undefined
reference to `g_log'
../cothreads/.libs/libcothreads.al(libcothreads_gthreads_la-cothreads.lo):/tmp/gstreamer/libs/ext/cothreads/cothreads/cothreads.c:525:
more undefined references to `g_log' follow
../cothreads/.libs/libcothreads.al(libcothreads_gthreads_la-cothreads.lo):
In function `cothread_chunk_new':
/tmp/gstreamer/libs/ext/cothreads/cothreads/cothreads.c:547: undefined
reference to `g_malloc0'
/tmp/gstreamer/libs/ext/cothreads/cothreads/cothreads.c:549: undefined
reference to `g_malloc0'
../cothreads/.libs/libcothreads.al(libcothreads_gthreads_la-cothreads.lo):
In function `cothread_chunk_free':
/tmp/gstreamer/libs/ext/cothreads/cothreads/cothreads.c:571: undefined
reference to `g_free'
collect2: ld returned 1 exit status
make[5]: *** [cothreads] Fehler 1
make[5]: Verlassen des Verzeichnisses Verzeichnis
»/tmp/gstreamer/libs/ext/cothreads/tests«
Comment 1 Thomas Vander Stichele 2002-09-20 20:01:06 UTC
I've only seen this with libtool 1.4.2
For some reason it doesn't pick up the glib lib lines.
I've been told it might be a pkg-config bug.

Please try with the new (as of today) pkg-config release, or with
libtool 1.4.0 and let us know.
Comment 2 Christian Fredrik Kalager Schaller 2002-11-15 20:25:38 UTC
I know you have gotten GStreamer to compile now, so I am closing :)