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 90078 - Gstreamer build problem
Gstreamer build problem
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other Linux
: Normal normal
: 0.4.0
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2002-08-07 04:35 UTC by Mathew Alexander
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Makefile for cotheads/tests (17.42 KB, text/plain)
2002-08-12 17:15 UTC, Mathew Alexander
Details
Correct Makefile requested (17.66 KB, text/plain)
2002-08-12 18:03 UTC, Mathew Alexander
Details

Description Mathew Alexander 2002-08-07 04:35:19 UTC
ok, new bug for me: I have autoconf (GNU Autoconf) 2.52 and I've also
downloaded libtool from GNU version 1.4.2. This is the error I get:

Making all in tests
make[5]: Entering directory `/tmp/gstreamer/libs/ext/cothreads/tests'
source='pth.c' object='pth-pth.o' libtool=no \
depfile='.deps/pth-pth.Po' tmpdepfile='.deps/pth-pth.TPo' \
depmode=gcc /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I../cothreads    -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include   -I.. -g -O2 -c -o pth-pth.o `test -f pth.c ||
echo './'`pth.c
/bin/sh ../libtool --mode=link gcc  -g -O2   -o pth  pth-pth.o
../cothreads/libcothreads.la 
mkdir .libs
gcc -g -O2 -o pth pth-pth.o  ../cothreads/.libs/libcothreads.al
source='cothreads.c' object='cothreads-cothreads.o' libtool=no \
depfile='.deps/cothreads-cothreads.Po'
tmpdepfile='.deps/cothreads-cothreads.TPo' \
depmode=gcc /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I../cothreads    -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include   -I.. -g -O2 -c -o cothreads-cothreads.o `test
-f cothreads.c || echo './'`cothreads.c
/bin/sh ../libtool --mode=link gcc  -g -O2   -o cothreads 
cothreads-cothreads.o ../cothreads/libcothreads.la 
gcc -g -O2 -o cothreads cothreads-cothreads.o 
../cothreads/.libs/libcothreads.al
../cothreads/.libs/libcothreads.al(libcothreads_la-cothreads.lo): In
function `cothreads_init':
/tmp/gstreamer/libs/ext/cothreads/cothreads/cothreads.c:111: undefined
reference to `g_log'
../cothreads/.libs/libcothreads.al(libcothreads_la-cothreads.lo): In
function `cothreads_init_thread':
/tmp/gstreamer/libs/ext/cothreads/cothreads/cothreads.c:186: undefined
reference to `g_log'
../cothreads/.libs/libcothreads.al(libcothreads_la-cothreads.lo): In
function `cothread_create':
/tmp/gstreamer/libs/ext/cothreads/cothreads/cothreads.c:262: undefined
reference to `g_log'
/tmp/gstreamer/libs/ext/cothreads/cothreads/cothreads.c:267: undefined
reference to `g_log'
/tmp/gstreamer/libs/ext/cothreads/cothreads/cothreads.c:276: undefined
reference to `g_log'
../cothreads/.libs/libcothreads.al(libcothreads_la-cothreads.lo):/tmp/gstreamer/libs/ext/cothreads/cothreads/cothreads.c:375:
more undefined references to `g_log' follow
../cothreads/.libs/libcothreads.al(libcothreads_la-cothreads.lo): In
function `cothread_chunk_new':
/tmp/gstreamer/libs/ext/cothreads/cothreads/cothreads.c:543: undefined
reference to `g_malloc0'
/tmp/gstreamer/libs/ext/cothreads/cothreads/cothreads.c:545: undefined
reference to `g_malloc0'
collect2: ld returned 1 exit status
make[5]: *** [cothreads] Error 1
make[5]: Leaving directory `/tmp/gstreamer/libs/ext/cothreads/tests'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/tmp/gstreamer/libs/ext/cothreads'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/gstreamer/libs/ext'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/gstreamer/libs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/gstreamer'
make: *** [all] Error 2
Comment 1 Thomas Vander Stichele 2002-08-12 15:27:37 UTC
ok, something is wrong here.  It's not linking in glib.  Can you also
post the Makefile in gstreamer/gst/libs/ext/cothreads/cothreads so I
can see what happened there ?

You sure nothing before that triggered an error or a warning ?
Thanks

Thomas
Comment 2 Mathew Alexander 2002-08-12 17:15:11 UTC
Created attachment 10436 [details]
Makefile for cotheads/tests
Comment 3 Thomas Vander Stichele 2002-08-12 17:24:39 UTC
can you post the Makefile I requested instead (the one in
cothreads/cothreads) ?
Comment 4 Mathew Alexander 2002-08-12 18:03:34 UTC
Created attachment 10439 [details]
Correct Makefile requested