Error compiling gstreamer

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Error compiling gstreamer

Chinmaya Padhi
Hi ,

I am compiling gstreamer from git. Got the below error message : Any idea how to solve this :

gtk-doc: Compiling scanner
libtool: compile:  gcc -I../../libs -I../.. -I../../libs -I../.. -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -DG_THREADS_MANDATORY -DG_DISABLE_CAST_CHECKS -I/usr/include/libxml2 -Wall -Wdeclaration-after-statement -Wvla -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wundef -Wwrite-strings -Wformat-nonliteral -Wformat-security -Wold-style-definition -Winit-self -Wmissing-include-dirs -Waddress -Waggregate-return -Wno-multichar -Wnested-externs -g -g -O2 -c gstreamer-scan.c  -fPIC -DPIC -o .libs/gstreamer-scan.o
libtool: compile:  gcc -I../../libs -I../.. -I../../libs -I../.. -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -DG_THREADS_MANDATORY -DG_DISABLE_CAST_CHECKS -I/usr/include/libxml2 -Wall -Wdeclaration-after-statement -Wvla -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wundef -Wwrite-strings -Wformat-nonliteral -Wformat-security -Wold-style-definition -Winit-self -Wmissing-include-dirs -Waddress -Waggregate-return -Wno-multichar -Wnested-externs -g -g -O2 -c gstreamer-scan.c -o gstreamer-scan.o >/dev/null 2>&1
gtk-doc: Linking scanner
libtool: link: gcc -o .libs/gstreamer-scan .libs/gstreamer-scan.o -pthread  ../../gst/.libs/libgstreamer-0.10.so -L/usr/local/lib /usr/local/lib/libgobject-2.0.so /usr/local/lib/libgthread-2.0.so /usr/local/lib/libgmodule-2.0.so -lrt /usr/local/lib/libglib-2.0.so -pthread
gtk-doc: Running scanner gstreamer-scan
/home/chinmaya/Desktop/gstreamer/gstreamer/docs/gst/.libs/lt-gstreamer-scan: symbol lookup error: /home/chinmaya/Desktop/gstreamer/gstreamer/gst/.libs/libgstreamer-0.10.so.0: undefined symbol: g_error_get_type
Scan failed:
make[5]: *** [scan-build.stamp] Error 127
make[5]: Leaving directory `/home/chinmaya/Desktop/gstreamer/gstreamer/docs/gst'
make[4]: *** [all] Error 2



Any inputs will be helpful.

~Chinmaya

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Error compiling gstreamer

Stefan Sauer
Am 20.09.2010 22:13, schrieb Chinmaya Padhi:
> Hi ,
>
> I am compiling gstreamer from git. Got the below error message : Any idea how to
> solve this :

try running ./autoregen.sh - something is borked in your build setup. Also du
you intend to link against libs in /usr/local ?

Stefan

>
> gtk-doc: Compiling scanner
> libtool: compile:  gcc -I../../libs -I../.. -I../../libs -I../.. -pthread
> -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
> -DG_THREADS_MANDATORY -DG_DISABLE_CAST_CHECKS -I/usr/include/libxml2 -Wall
> -Wdeclaration-after-statement -Wvla -Wpointer-arith -Wmissing-declarations
> -Wmissing-prototypes -Wredundant-decls -Wundef -Wwrite-strings
> -Wformat-nonliteral -Wformat-security -Wold-style-definition -Winit-self
> -Wmissing-include-dirs -Waddress -Waggregate-return -Wno-multichar
> -Wnested-externs -g -g -O2 -c gstreamer-scan.c  -fPIC -DPIC -o
> .libs/gstreamer-scan.o
> libtool: compile:  gcc -I../../libs -I../.. -I../../libs -I../.. -pthread
> -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
> -DG_THREADS_MANDATORY -DG_DISABLE_CAST_CHECKS -I/usr/include/libxml2 -Wall
> -Wdeclaration-after-statement -Wvla -Wpointer-arith -Wmissing-declarations
> -Wmissing-prototypes -Wredundant-decls -Wundef -Wwrite-strings
> -Wformat-nonliteral -Wformat-security -Wold-style-definition -Winit-self
> -Wmissing-include-dirs -Waddress -Waggregate-return -Wno-multichar
> -Wnested-externs -g -g -O2 -c gstreamer-scan.c -o gstreamer-scan.o >/dev/null 2>&1
> gtk-doc: Linking scanner
> libtool: link: gcc -o .libs/gstreamer-scan .libs/gstreamer-scan.o -pthread
> ../../gst/.libs/libgstreamer-0.10.so <http://libgstreamer-0.10.so>
> -L/usr/local/lib /usr/local/lib/libgobject-2.0.so <http://libgobject-2.0.so>
> /usr/local/lib/libgthread-2.0.so <http://libgthread-2.0.so>
> /usr/local/lib/libgmodule-2.0.so <http://libgmodule-2.0.so> -lrt
> /usr/local/lib/libglib-2.0.so <http://libglib-2.0.so> -pthread
> gtk-doc: Running scanner gstreamer-scan
> /home/chinmaya/Desktop/gstreamer/gstreamer/docs/gst/.libs/lt-gstreamer-scan:
> symbol lookup error:
> /home/chinmaya/Desktop/gstreamer/gstreamer/gst/.libs/libgstreamer-0.10.so.0:
> undefined symbol: g_error_get_type
> Scan failed:
> make[5]: *** [scan-build.stamp] Error 127
> make[5]: Leaving directory `/home/chinmaya/Desktop/gstreamer/gstreamer/docs/gst'
> make[4]: *** [all] Error 2
>
>
>
> Any inputs will be helpful.
>
> ~Chinmaya
>
>
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing.
> http://p.sf.net/sfu/novell-sfdev2dev
>
>
>
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel