[gst-devel] More problems building...
Myers W. Carpenter
myers at fil.org
Thu May 11 00:20:21 CEST 2000
I'm having troubles getting everything built. I hope you don't mind
digging through all this stuff to help me figure them out. I hoping
that you'll find the "newbie with only a vague clue" report useful.
--------> Problem 1
After adding that line that Erik sent (shouldn't all read_tsc be
replaced with gst_trace_read_tsc? and should we add #ifdef's for this
diffrent code? And why is this in ASM anyway? I don't know enought to
tell what it is doing) and fixing refrences to it everything worked.
But what needs to be done so that it works right out of CVS?
--------> Problem 2
The next failure was with docs/gst/gstreamer.types
numbers:~/gstreamer/docs/gst$ make
make sgml
make[1]: Entering directory `/home/myers/gstreamer/docs/gst'
env CC="/bin/sh ../../libtool --mode=link gcc"
CFLAGS="-I/usr/lib/glib/include -D_REENTRANT -I/usr/lib/glib/include
-I/usr/X11R6/include -I../.." LDFLAGS="-L/usr/lib -rdynamic -lgmodule
-lgthread -lglib -lpthread -ldl -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk
-rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm
../../gst/libgst.la ../../gst/elements/libgstelements.la" \
gtkdoc-scanobj --module=gstreamer \
--types=./gstreamer.types
/bin/sh ../../libtool --mode=link gcc -I/usr/lib/glib/include
-D_REENTRANT -I/usr/lib/glib/include -I/usr/X11R6/include -I../.. -o
gstreamer-scan gstreamer-scan.c -L/usr/lib -rdynamic -lgmodule -lgthread
-lglib -lpthread -ldl -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic
-lgmodule -lglib -ldl -lXi -lXext -lX11 -lm ../../gst/libgst.la
../../gst/elements/libgstelements.la
gcc -I/usr/lib/glib/include -D_REENTRANT -I/usr/lib/glib/include
-I/usr/X11R6/include -I../.. -o .libs/gstreamer-scan gstreamer-scan.c
-L/usr/lib -rdynamic -lgmodule -lgthread -lglib -lpthread -ldl
-L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl
-lXi -lXext -lX11 -lm ../../gst/.libs/libgst.so -lgmodule -lgthread
-lglib -lpthread -ldl -lgtk -lgdk -lgmodule -lglib -ldl -lXi -lXext
-lX11 -lm -lxml -lz -lgmodule -lgthread -lglib -lpthread -ldl
../../gst/elements/.libs/libgstelements.so -lgmodule -lgthread -lglib
-lpthread -ldl -lgtk -lgdk -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm
-lgmodule -lgthread -lglib -lpthread -ldl -Wl,--rpath -Wl,/usr/local/lib
-Wl,--rpath -Wl,/usr/local/lib/gst
/tmp/ccN53LOf.o: In function `get_object_types':
/tmp/ccN53LOf.o(.text+0x1d0): undefined reference to
`gst_httpsrc_get_type'
collect2: ld returned 1 exit status
Compilation of scanner failed
make[1]: *** [scanobj] Error 1
make[1]: Leaving directory `/home/myers/gstreamer/docs/gst'
make: *** [sgml/gstreamer-doc.bottom] Error 2
Removing the line "gst_httpsrc_get_type" in gstreamer.types allowed me
to go on. The first time I build this I didn't have the libghttp-dev
package installed, and configure noted this. After running into this
error I installed it and still kept coming up with it. I didn't do
"make distclean" tho, so I'm trying now.
--------> Problem 3
gsteditor crashes on me right after I click on the canvas for the first
time. It quits with this error:
GLib-CRITICAL **: file gstrfuncs.c: line 1146 (g_strsplit): assertion
`string != NULL' failed.
Here it is running under gdb:
numbers:~/gstreamer/editor$ libtool gdb gsteditor
GNU gdb 19990928
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for
details.
This GDB was configured as "i686-pc-linux-gnu"...
(no debugging symbols found)...
(gdb) run
Starting program: /home/myers/gstreamer/editor/.libs/lt-gsteditor
error loading plugin: /home/myers/gstreamer/./gst/types/libgsttypes.so:
cannot open shared object file: No such file or directory
gsttypes: loaded 8 standard types
error loading plugin:
/home/myers/gstreamer/./gst/types/libgstelements.so: cannot open shared
object file: No such file or directory
error loading plugin:
/home/myers/gstreamer/./gst/types/.libs/libgstelements.so: cannot open
shared object file: No such file or directory
error loading plugin:
/home/myers/gstreamer/./gst/elements/libgstelements.so: cannot open
shared object file: No such file or directory
gstelements: loaded 11 standard elements
parseau: added 'parseau' element
parseau: added 'audio/au' type
error loading plugin: /home/myers/gstreamer/./gst/types/libgstriff.so:
cannot open shared object file: No such file or directory
error loading plugin:
/home/myers/gstreamer/./gst/types/.libs/libgstriff.so: cannot open
shared object file: No such file or directory
error loading plugin:
/home/myers/gstreamer/./gst/elements/libgstriff.so: cannot open shared
object file: No such file or directory
error loading plugin:
/home/myers/gstreamer/./gst/elements/.libs/libgstriff.so: cannot open
shared object file: No such file or directory
error loading plugin: /home/myers/gstreamer/./libs/libgstriff.so: cannot
open shared object file: No such file or directory
error loading plugin: /home/myers/gstreamer/./libs/.libs/libgstriff.so:
cannot open shared object file: No such file or directory
parseavi: added 'parseavi' element
parseavi: added 'video/avi' type
error loading plugin: /home/myers/gstreamer/./gst/types/libgstriff.so:
cannot open shared object file: No such file or directory
error loading plugin:
/home/myers/gstreamer/./gst/types/.libs/libgstriff.so: cannot open
shared object file: No such file or directory
error loading plugin:
/home/myers/gstreamer/./gst/elements/libgstriff.so: cannot open shared
object file: No such file or directory
error loading plugin:
/home/myers/gstreamer/./gst/elements/.libs/libgstriff.so: cannot open
shared object file: No such file or directory
error loading plugin: /home/myers/gstreamer/./libs/libgstriff.so: cannot
open shared object file: No such file or directory
error loading plugin: /home/myers/gstreamer/./libs/.libs/libgstriff.so:
cannot open shared object file: No such file or directory
aviencoder: added 'aviencoder' element
aviencoder: added 'video/avi' type
error loading plugin:
/home/myers/gstreamer/./gst/types/libgstcolorspace.so: cannot open
shared object file: No such file or directory
error loading plugin:
/home/myers/gstreamer/./gst/types/.libs/libgstcolorspace.so: cannot open
shared object file: No such file or directory
error loading plugin:
/home/myers/gstreamer/./gst/elements/libgstcolorspace.so: cannot open
shared object file: No such file or directory
error loading plugin:
/home/myers/gstreamer/./gst/elements/.libs/libgstcolorspace.so: cannot
open shared object file: No such file or directory
error loading plugin: /home/myers/gstreamer/./libs/libgstcolorspace.so:
cannot open shared object file: No such file or directory
error loading plugin:
/home/myers/gstreamer/./libs/.libs/libgstcolorspace.so: cannot open
shared object file: No such file or directory
v4lsrc: added 'v4lsrc' element
cobin: added 'cobin' element
spindentity: added 'spindentity' element
stereo: added 'stereo' element
volume: added 'volume' element
jpeg: added 'jpegenc' element
jpeg: added 'jpegdec' element
mpg123: added 'mpg123' element
mp3parse: added 'mp3parse' element
xing: added 'xing' element
error loading plugin:
/home/myers/gstreamer/./gst/types/libgstgetbits.so: cannot open shared
object file: No such file or directory
error loading plugin:
/home/myers/gstreamer/./gst/types/.libs/libgstgetbits.so: cannot open
shared object file: No such file or directory
error loading plugin:
/home/myers/gstreamer/./gst/elements/libgstgetbits.so: cannot open
shared object file: No such file or directory
error loading plugin:
/home/myers/gstreamer/./gst/elements/.libs/libgstgetbits.so: cannot open
shared object file: No such file or directory
error loading plugin: /home/myers/gstreamer/./libs/libgstgetbits.so:
cannot open shared object file: No such file or directory
error loading plugin:
/home/myers/gstreamer/./libs/.libs/libgstgetbits.so: cannot open shared
object file: No such file or directory
mpeg_play: added 'mpeg_play' element
mpeg1parse: added 'mpeg1parse' element
mp1videoparse: added 'mp1videoparse' element
ac3dec: added 'ac3dec' element
ac3parse: added 'ac3parse' element
mpeg2enc: added 'mpeg2enc' element
mpeg2parse: added 'mpeg2parse' element
error loading plugin:
/home/myers/gstreamer/./gst/types/libgstgetbits.so: cannot open shared
object file: No such file or directory
error loading plugin:
/home/myers/gstreamer/./gst/types/.libs/libgstgetbits.so: cannot open
shared object file: No such file or directory
error loading plugin:
/home/myers/gstreamer/./gst/elements/libgstgetbits.so: cannot open
shared object file: No such file or directory
error loading plugin:
/home/myers/gstreamer/./gst/elements/.libs/libgstgetbits.so: cannot open
shared object file: No such file or directory
error loading plugin: /home/myers/gstreamer/./libs/libgstgetbits.so:
cannot open shared object file: No such file or directory
error loading plugin:
/home/myers/gstreamer/./libs/.libs/libgstgetbits.so: cannot open shared
object file: No such file or directory
mpeg2play: added 'mpeg2play' element
rtjpeg: added 'rtjpegenc' element
rtjpeg: added 'rtjpegdec' element
vcdsrc: added 'vcdsrc' element
error loading plugin:
/home/myers/gstreamer/./gst/types/libgstcolorspace.so: cannot open
shared object file: No such file or directory
error loading plugin:
/home/myers/gstreamer/./gst/types/.libs/libgstcolorspace.so: cannot open
shared object file: No such file or directory
error loading plugin:
/home/myers/gstreamer/./gst/elements/libgstcolorspace.so: cannot open
shared object file: No such file or directory
error loading plugin:
/home/myers/gstreamer/./gst/elements/.libs/libgstcolorspace.so: cannot
open shared object file: No such file or directory
error loading plugin: /home/myers/gstreamer/./libs/libgstcolorspace.so:
cannot open shared object file: No such file or directory
error loading plugin:
/home/myers/gstreamer/./libs/.libs/libgstcolorspace.so: cannot open
shared object file: No such file or directory
videosink: added 'videosink' element
smoothwave: added 'smoothwave' element
spectrum: added 'spectrum' element
spectrum: added 'spectrum' type
synaesthesia: added 'synaesthesia' element
vumeter: added 'vumeter' element
parsewav: added 'parsewav' element
parsewav: added 'audio/wav' type
GLib-CRITICAL **: file gstrfuncs.c: line 1146 (g_strsplit): assertion
`string != NULL' failed.
(no debugging symbols found)...(no debugging symbols found)...
Program received signal SIGSEGV, Segmentation fault.
0x4040cb23 in element_select_dialog ()
from /home/myers/gstreamer/editor/.libs/libgsteditor.so.0
(gdb) bt
#0 0x4040cb23 in element_select_dialog ()
from /home/myers/gstreamer/editor/.libs/libgsteditor.so.0
#1 0x4040cdb8 in gst_editor_create_item ()
from /home/myers/gstreamer/editor/.libs/libgsteditor.so.0
#2 0x40409eed in gst_editor_canvas_button_release ()
from /home/myers/gstreamer/editor/.libs/libgsteditor.so.0
#3 0x401cc30b in gtk_marshal_BOOL__POINTER () from
/usr/lib/libgtk-1.2.so.0
#4 0x401faf3c in gtk_signal_remove_emission_hook ()
from /usr/lib/libgtk-1.2.so.0
#5 0x401fa4f5 in gtk_signal_set_funcs () from /usr/lib/libgtk-1.2.so.0
#6 0x401f84d3 in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0
#7 0x4022e8ab in gtk_widget_event () from /usr/lib/libgtk-1.2.so.0
#8 0x401cc275 in gtk_propagate_event () from /usr/lib/libgtk-1.2.so.0
#9 0x401cb49e in gtk_main_do_event () from /usr/lib/libgtk-1.2.so.0
#10 0x40277df7 in gdk_wm_protocols_filter () from
/usr/lib/libgdk-1.2.so.0
#11 0x403ec2d9 in g_get_current_time () from /usr/lib/libglib-1.2.so.0
#12 0x403ec8e3 in g_get_current_time () from /usr/lib/libglib-1.2.so.0
#13 0x403eca7c in g_main_run () from /usr/lib/libglib-1.2.so.0
#14 0x401cad97 in gtk_main () from /usr/lib/libgtk-1.2.so.0
#15 0x8048be3 in main ()
#16 0x404b6a42 in __libc_start_main () from /lib/libc.so.6
(gdb) quit
>---
I can't figure out how to tell gdb where the source for
libgsteditor.so.0 is so I can get a line number. Any hints?
thanks.
myers
--
You're just jealous because the voices only talk to me.
More information about the gstreamer-devel
mailing list