LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-24-2009, 04:11 PM   #1
miczi
LQ Newbie
 
Registered: Dec 2009
Posts: 2

Rep: Reputation: 0
problem with compiling gstreamermm-0.10.5.2 on Ubuntu 9.04


Hello,
I have a problem with installing gstreamermm-0.10.5.2 on Ubuntu 9.04. I've installed glib-2.23.1:
Code:
$ pkg-config --modversion glib-2.0 
2.23.1
but after './configure' have executed successfully, when I'm trying to build it by make I get:
Code:
make  all-recursive
make[1]: Entering directory `/home/miczi/Pulpit/gstreamermm-0.10.5.2'
Making all in tools
make[2]: Entering directory `/home/miczi/Pulpit/gstreamermm-0.10.5.2/tools'
depbase=`echo extra_defs_gen/get_plugin_defs.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
	/bin/bash ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H   -I.. -pthread   -pthread -I/usr/local/include/glibmm-2.4 -I/usr/local/lib/glibmm-2.4/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/giomm-2.4 -I/usr/local/lib/giomm-2.4/include -I/usr/local/include/gstreamer-0.10 -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/libxml++-2.6 -I/usr/lib/libxml++-2.6/include -I/usr/include/libxml2    -Wall -g -O2 -MT extra_defs_gen/get_plugin_defs.lo -MD -MP -MF $depbase.Tpo -c -o extra_defs_gen/get_plugin_defs.lo extra_defs_gen/get_plugin_defs.cc &&\
	mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  g++ -DHAVE_CONFIG_H -I.. -pthread -pthread -I/usr/local/include/glibmm-2.4 -I/usr/local/lib/glibmm-2.4/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/giomm-2.4 -I/usr/local/lib/giomm-2.4/include -I/usr/local/include/gstreamer-0.10 -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/libxml++-2.6 -I/usr/lib/libxml++-2.6/include -I/usr/include/libxml2 -Wall -g -O2 -MT extra_defs_gen/get_plugin_defs.lo -MD -MP -MF extra_defs_gen/.deps/get_plugin_defs.Tpo -c extra_defs_gen/get_plugin_defs.cc  -fPIC -DPIC -o extra_defs_gen/.libs/get_plugin_defs.o
/bin/bash ../libtool  --tag=CXX   --mode=link g++ -Wall -g -O2   -o extra_defs_gen/libgstreamermm_get_plugin_defs-0.10.la -rpath /usr/local/lib extra_defs_gen/get_plugin_defs.lo -pthread -L/usr/local/lib -lgiomm-2.4 -lgio-2.0 -lxml++-2.6 -lglibmm-2.4 -lsigc-2.0 -lgstcontroller-0.10 -lgstdataprotocol-0.10 -lgstnet-0.10 -lgstaudio-0.10 -lgstcdda-0.10 -lgsttag-0.10 -lgstinterfaces-0.10 -lgstnetbuffer-0.10 -lgstrtp-0.10 -lgstvideo-0.10 -lgstbase-0.10 -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lxml2 -lglib-2.0   -lglibmm_generate_extra_defs-2.4 
libtool: link: g++ -shared -nostdlib /usr/lib/gcc/i486-linux-gnu/4.3.3/../../../../lib/crti.o /usr/lib/gcc/i486-linux-gnu/4.3.3/crtbeginS.o  extra_defs_gen/.libs/get_plugin_defs.o   -L/usr/local/lib /usr/local/lib/libgiomm-2.4.so -L/usr/lib -lz /usr/local/lib/libgio-2.0.so -lresolv /usr/lib/libxml++-2.6.so /usr/lib/libglibmm-2.4.so /usr/local/lib/libglibmm-2.4.so /usr/local/lib/libgstcontroller-0.10.so /usr/local/lib/libgstdataprotocol-0.10.so /usr/local/lib/libgstnet-0.10.so /usr/local/lib/libgstaudio-0.10.so /usr/local/lib/libgstcdda-0.10.so /usr/local/lib/libgsttag-0.10.so /usr/local/lib/libgstinterfaces-0.10.so /usr/local/lib/libgstnetbuffer-0.10.so /usr/local/lib/libgstrtp-0.10.so /usr/local/lib/libgstvideo-0.10.so /usr/local/lib/libgstbase-0.10.so /usr/local/lib/libgstreamer-0.10.so /usr/lib/libgobject-2.0.so /usr/lib/libgthread-2.0.so /usr/lib/libgmodule-2.0.so /usr/lib/libglib-2.0.so /usr/local/lib/libgthread-2.0.so -lpthread /usr/lib/libxml2.so /usr/local/lib/libglibmm_generate_extra_defs-2.4.so /usr/lib/libsigc-2.0.so /usr/local/lib/libgobject-2.0.so /usr/local/lib/libgmodule-2.0.so -ldl -lrt /usr/local/lib/libglib-2.0.so -L/usr/lib/gcc/i486-linux-gnu/4.3.3 -L/usr/lib/gcc/i486-linux-gnu/4.3.3/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/i486-linux-gnu/4.3.3/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/i486-linux-gnu/4.3.3/crtendS.o /usr/lib/gcc/i486-linux-gnu/4.3.3/../../../../lib/crtn.o  -pthread   -pthread -Wl,-soname -Wl,libgstreamermm_get_plugin_defs-0.10.so.0 -o extra_defs_gen/.libs/libgstreamermm_get_plugin_defs-0.10.so.0.0.0
libtool: link: (cd "extra_defs_gen/.libs" && rm -f "libgstreamermm_get_plugin_defs-0.10.so.0" && ln -s "libgstreamermm_get_plugin_defs-0.10.so.0.0.0" "libgstreamermm_get_plugin_defs-0.10.so.0")
libtool: link: (cd "extra_defs_gen/.libs" && rm -f "libgstreamermm_get_plugin_defs-0.10.so" && ln -s "libgstreamermm_get_plugin_defs-0.10.so.0.0.0" "libgstreamermm_get_plugin_defs-0.10.so")
libtool: link: ( cd "extra_defs_gen/.libs" && rm -f "libgstreamermm_get_plugin_defs-0.10.la" && ln -s "../libgstreamermm_get_plugin_defs-0.10.la" "libgstreamermm_get_plugin_defs-0.10.la" )
depbase=`echo extra_defs_gen/generate_plugin_gmmproc_file.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
	g++ -DHAVE_CONFIG_H   -I.. -pthread   -pthread -I/usr/local/include/glibmm-2.4 -I/usr/local/lib/glibmm-2.4/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/giomm-2.4 -I/usr/local/lib/giomm-2.4/include -I/usr/local/include/gstreamer-0.10 -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/libxml++-2.6 -I/usr/lib/libxml++-2.6/include -I/usr/include/libxml2    -Wall -g -O2 -MT extra_defs_gen/generate_plugin_gmmproc_file.o -MD -MP -MF $depbase.Tpo -c -o extra_defs_gen/generate_plugin_gmmproc_file.o extra_defs_gen/generate_plugin_gmmproc_file.cc &&\
	mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool  --tag=CXX   --mode=link g++ -Wall -g -O2   -o extra_defs_gen/generate_plugin_gmmproc_file extra_defs_gen/generate_plugin_gmmproc_file.o extra_defs_gen/libgstreamermm_get_plugin_defs-0.10.la 
libtool: link: g++ -Wall -g -O2 -o extra_defs_gen/.libs/generate_plugin_gmmproc_file extra_defs_gen/generate_plugin_gmmproc_file.o  extra_defs_gen/.libs/libgstreamermm_get_plugin_defs-0.10.so -L/usr/local/lib /usr/local/lib/libgiomm-2.4.so -lz /usr/local/lib/libgio-2.0.so -lresolv /usr/lib/libxml++-2.6.so /usr/lib/libglibmm-2.4.so /usr/local/lib/libglibmm-2.4.so /usr/local/lib/libgstcontroller-0.10.so /usr/local/lib/libgstdataprotocol-0.10.so /usr/local/lib/libgstnet-0.10.so /usr/local/lib/libgstaudio-0.10.so /usr/local/lib/libgstcdda-0.10.so /usr/local/lib/libgsttag-0.10.so /usr/local/lib/libgstinterfaces-0.10.so /usr/local/lib/libgstnetbuffer-0.10.so /usr/local/lib/libgstrtp-0.10.so /usr/local/lib/libgstvideo-0.10.so /usr/local/lib/libgstbase-0.10.so /usr/local/lib/libgstreamer-0.10.so -lm /usr/lib/libgobject-2.0.so /usr/lib/libgthread-2.0.so /usr/lib/libgmodule-2.0.so /usr/lib/libglib-2.0.so /usr/local/lib/libgthread-2.0.so -lpthread /usr/lib/libxml2.so /usr/local/lib/libglibmm_generate_extra_defs-2.4.so /usr/lib/libsigc-2.0.so /usr/local/lib/libgobject-2.0.so /usr/local/lib/libgmodule-2.0.so -ldl -lrt /usr/local/lib/libglib-2.0.so -pthread
/usr/local/lib/libgio-2.0.so: undefined reference to `g_mkstemp_full'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_byte_array_unref'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_hostname_to_ascii'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_byte_array_get_type'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_error_new_valist'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_ptr_array_new_with_free_func'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_array_get_type'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_main_context_get_thread_default'
/usr/local/lib/libgio-2.0.so: undefined reference to `g_hostname_is_non_ascii'
collect2: ld returned 1 exit status
make[2]: *** [extra_defs_gen/generate_plugin_gmmproc_file] Error 1
make[2]: Leaving directory `/home/miczi/Pulpit/gstreamermm-0.10.5.2/tools'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/miczi/Pulpit/gstreamermm-0.10.5.2'
make: *** [all] Error 2
what do you think could be a reason?
sorry for my english - still learning
 
Old 12-25-2009, 12:04 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Welcome to LQ.

' gstreamermm-0.10.5.2 ' will compile with glib-2.22.2
with no errors.
Glib-2.22.2 is the current stable version.

' glib-2.23.1 ' is later than gstreamermm-0.10.5.2 and
obviously different and not yet stable.

.....
 
Old 12-25-2009, 06:05 AM   #3
miczi
LQ Newbie
 
Registered: Dec 2009
Posts: 2

Original Poster
Rep: Reputation: 0
Knudfl, thank you very much for trying to help, but your advice doesn't change anything - now I have glib-2.22.2 and there are the same errors. Any other ideas?
 
Old 12-25-2009, 12:13 PM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
What makes you think, the compilation isn't
picking up something from the system libglib2.0 ?
Did you remember to remove libglib2.0-dev ?

And how will you run the application after creating it ?
If you still have the system libglib2.0 around ?
( /usr/lib/libglib2...so.xx etc.)

.....

Last edited by knudfl; 12-26-2009 at 06:26 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Ubuntu 9.10 - Missing Separator Problem when Compiling slalomchip Linux - Newbie 2 12-05-2009 05:52 PM
Problem with compiling source code under Ubuntu Wormboy Linux - Software 4 05-01-2009 11:26 AM
Compiling on Ubuntu Susko80 Linux - Newbie 3 04-11-2009 01:40 AM
Nucleo not compiling in Ubuntu 6.06 Da_Panther Linux - Software 2 12-27-2006 07:09 PM
Problem compiling a programing using SDL under Ubuntu 5.40. RHLinuxGUY Programming 5 03-24-2006 08:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration