LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 06-06-2012, 05:49 AM   #1
Takido
LQ Newbie
 
Registered: Jun 2012
Location: France
Distribution: Crunchbang, Ubuntu, Xbian
Posts: 12

Rep: Reputation: Disabled
Errors while compiling gstreamer plugins base


Hi,

I'm using Gentoo and trying to compile the gst-plugins-base package. The configuring phase runs well but while making, I'm getting the error :
Quote:
./.libs/libgsstag-0.10.so: undefined reference to `gst_date_time_get_minute`
And a dozen of errors like this one.
Gstreamer is installed and I've checked that all the references that can't be found by the compiler are actually present in the includes.
Does someone have a clue about how to solve my problem ?

Thanks.
 
Old 06-06-2012, 05:58 AM   #2
pan64
Senior Member
 
Registered: Mar 2012
Location: Hungary
Distribution: debian i686 (solaris)
Posts: 4,517

Rep: Reputation: 1222Reputation: 1222Reputation: 1222Reputation: 1222Reputation: 1222Reputation: 1222Reputation: 1222Reputation: 1222Reputation: 1222
this is a message from the linker, it means it is looking for libs, not includes. So probably the gst plugin libs are not available or there is a missing/misconfigured parameter somewhere.
 
Old 06-06-2012, 06:04 AM   #3
Takido
LQ Newbie
 
Registered: Jun 2012
Location: France
Distribution: Crunchbang, Ubuntu, Xbian
Posts: 12

Original Poster
Rep: Reputation: Disabled
Thanks for your answer.
What is strange is that the references the compiler is complaining about are present in the .h files.
So yes, I think there may be a parameter problem, but since I'm using portage, I don't know where the error could be.

Do you know what parameter I should check ?
 
Old 06-06-2012, 06:15 AM   #4
pan64
Senior Member
 
Registered: Mar 2012
Location: Hungary
Distribution: debian i686 (solaris)
Posts: 4,517

Rep: Reputation: 1222Reputation: 1222Reputation: 1222Reputation: 1222Reputation: 1222Reputation: 1222Reputation: 1222Reputation: 1222Reputation: 1222
would be better to see more of the compile log
 
Old 06-06-2012, 06:18 AM   #5
Takido
LQ Newbie
 
Registered: Jun 2012
Location: France
Distribution: Crunchbang, Ubuntu, Xbian
Posts: 12

Original Poster
Rep: Reputation: Disabled
You're right, indeed.
Here it is : http://pastebin.com/jjkn9juD
 
Old 06-06-2012, 06:31 AM   #6
pan64
Senior Member
 
Registered: Mar 2012
Location: Hungary
Distribution: debian i686 (solaris)
Posts: 4,517

Rep: Reputation: 1222Reputation: 1222Reputation: 1222Reputation: 1222Reputation: 1222Reputation: 1222Reputation: 1222Reputation: 1222Reputation: 1222
probably: line 584:
Quote:
libtool: link: gcc -o /home/hamza/crossSRP/tmp/portage/media-libs/gst-plugins-base-0.10.35/work/gst-plugins-base-0.10.35/gst-libs/gst/tag/tmp-introspectZq5fUr/.libs/GstTag-0.10 -O2 -march=i686 -pipe -I/home/hamza/crossSRP/root/usr/include -pthread /home/hamza/crossSRP/tmp/portage/media-libs/gst-plugins-base-0.10.35/work/gst-plugins-base-0.10.35/gst-libs/gst/tag/tmp-introspectZq5fUr/GstTag-0.10.o -Wl,--export-dynamic -L. ./.libs/libgsttag-0.10.so -lgio-2.0 /usr/lib/libgstbase-0.10.so /usr/lib/libgstreamer-0.10.so -lgobject-2.0 -lgmodule-2.0 -lxml2 -lgthread-2.0 -lrt -lglib-2.0 -pthread
the unresolved symbol gst_date_time_get_minute should be found in libgstreamer-0.10.so and gst_byte_writer_init_with_size in libgstbase-0.10.so.
You can check it by nm <libname> | grep <symbol> for example. So the question is if the libs in /usr/lib are really available and contains these symbols
 
Old 06-06-2012, 06:38 AM   #7
Takido
LQ Newbie
 
Registered: Jun 2012
Location: France
Distribution: Crunchbang, Ubuntu, Xbian
Posts: 12

Original Poster
Rep: Reputation: Disabled
I see.

I tried to find out whether these symbols were supposed to be and indeed, they aren't.

Quote:
nm /usr/lib/libgstreamer-0.10.so | grep gst_date_time_get_minute
returns "no symbols".

And so does
Quote:
nm /usr/lib/libgstbase-0.10.so | grep gst_byte_writer_init_with_size
I tried to recompile gstreamer many times before, but it did not change anything. I can't get what I did wrong...
 
Old 06-06-2012, 06:43 AM   #8
pan64
Senior Member
 
Registered: Mar 2012
Location: Hungary
Distribution: debian i686 (solaris)
Posts: 4,517

Rep: Reputation: 1222Reputation: 1222Reputation: 1222Reputation: 1222Reputation: 1222Reputation: 1222Reputation: 1222Reputation: 1222Reputation: 1222
can you please try: file /usr/lib/libgst*
 
Old 06-06-2012, 07:20 AM   #9
Takido
LQ Newbie
 
Registered: Jun 2012
Location: France
Distribution: Crunchbang, Ubuntu, Xbian
Posts: 12

Original Poster
Rep: Reputation: Disabled
Here is what I get :

Quote:
/usr/lib/libgstapp-0.10.la: libtool library file,
/usr/lib/libgstapp-0.10.so: symbolic link to `libgstapp-0.10.so.0.24.0'
/usr/lib/libgstapp-0.10.so.0: symbolic link to `libgstapp-0.10.so.0.24.0'
/usr/lib/libgstapp-0.10.so.0.24.0: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, stripped
/usr/lib/libgstaudio-0.10.a: current ar archive
/usr/lib/libgstaudio-0.10.la: libtool library file,
/usr/lib/libgstaudio-0.10.so: symbolic link to `libgstaudio-0.10.so.0.24.0'
/usr/lib/libgstaudio-0.10.so.0: symbolic link to `libgstaudio-0.10.so.0.24.0'
/usr/lib/libgstaudio-0.10.so.0.24.0: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, stripped
/usr/lib/libgstbase-0.10.a: current ar archive
/usr/lib/libgstbase-0.10.la: libtool library file,
/usr/lib/libgstbase-0.10.so: symbolic link to `libgstbase-0.10.so.0.29.0'
/usr/lib/libgstbase-0.10.so.0: symbolic link to `libgstbase-0.10.so.0.29.0'
/usr/lib/libgstbase-0.10.so.0.14.0: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, stripped
/usr/lib/libgstbase-0.10.so.0.29.0: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, stripped
/usr/lib/libgstcdda-0.10.a: current ar archive
/usr/lib/libgstcdda-0.10.la: libtool library file,
/usr/lib/libgstcdda-0.10.so: symbolic link to `libgstcdda-0.10.so.0.24.0'
/usr/lib/libgstcdda-0.10.so.0: symbolic link to `libgstcdda-0.10.so.0.24.0'
/usr/lib/libgstcdda-0.10.so.0.24.0: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, stripped
/usr/lib/libgstcheck-0.10.a: current ar archive
/usr/lib/libgstcheck-0.10.la: libtool library file,
/usr/lib/libgstcheck-0.10.so: symbolic link to `libgstcheck-0.10.so.0.29.0'
/usr/lib/libgstcheck-0.10.so.0: symbolic link to `libgstcheck-0.10.so.0.29.0'
/usr/lib/libgstcheck-0.10.so.0.14.0: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, stripped
/usr/lib/libgstcheck-0.10.so.0.29.0: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, stripped
/usr/lib/libgstcontroller-0.10.a: current ar archive
/usr/lib/libgstcontroller-0.10.la: libtool library file,
/usr/lib/libgstcontroller-0.10.so: symbolic link to `libgstcontroller-0.10.so.0.29.0'
/usr/lib/libgstcontroller-0.10.so.0: symbolic link to `libgstcontroller-0.10.so.0.29.0'
/usr/lib/libgstcontroller-0.10.so.0.14.0: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, stripped
/usr/lib/libgstcontroller-0.10.so.0.29.0: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, stripped
/usr/lib/libgstdataprotocol-0.10.a: current ar archive
/usr/lib/libgstdataprotocol-0.10.la: libtool library file,
/usr/lib/libgstdataprotocol-0.10.so: symbolic link to `libgstdataprotocol-0.10.so.0.29.0'
/usr/lib/libgstdataprotocol-0.10.so.0: symbolic link to `libgstdataprotocol-0.10.so.0.29.0'
/usr/lib/libgstdataprotocol-0.10.so.0.14.0: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, stripped
/usr/lib/libgstdataprotocol-0.10.so.0.29.0: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, stripped
/usr/lib/libgstfft-0.10.a: current ar archive
/usr/lib/libgstfft-0.10.la: libtool library file,
/usr/lib/libgstfft-0.10.so: symbolic link to `libgstfft-0.10.so.0.24.0'
/usr/lib/libgstfft-0.10.so.0: symbolic link to `libgstfft-0.10.so.0.24.0'
/usr/lib/libgstfft-0.10.so.0.24.0: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, stripped
/usr/lib/libgstinterfaces-0.10.a: current ar archive
/usr/lib/libgstinterfaces-0.10.la: libtool library file,
/usr/lib/libgstinterfaces-0.10.so: symbolic link to `libgstinterfaces-0.10.so.0.24.0'
/usr/lib/libgstinterfaces-0.10.so.0: symbolic link to `libgstinterfaces-0.10.so.0.24.0'
/usr/lib/libgstinterfaces-0.10.so.0.24.0: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, stripped
/usr/lib/libgstnet-0.10.a: current ar archive
/usr/lib/libgstnet-0.10.la: libtool library file,
/usr/lib/libgstnet-0.10.so: symbolic link to `libgstnet-0.10.so.0.29.0'
/usr/lib/libgstnet-0.10.so.0: symbolic link to `libgstnet-0.10.so.0.29.0'
/usr/lib/libgstnet-0.10.so.0.14.0: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, stripped
/usr/lib/libgstnet-0.10.so.0.29.0: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, stripped
/usr/lib/libgstnetbuffer-0.10.a: current ar archive
/usr/lib/libgstnetbuffer-0.10.la: libtool library file,
/usr/lib/libgstnetbuffer-0.10.so: symbolic link to `libgstnetbuffer-0.10.so.0.24.0'
/usr/lib/libgstnetbuffer-0.10.so.0: symbolic link to `libgstnetbuffer-0.10.so.0.24.0'
/usr/lib/libgstnetbuffer-0.10.so.0.24.0: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, stripped
/usr/lib/libgstpbutils-0.10.a: current ar archive
/usr/lib/libgstpbutils-0.10.la: libtool library file,
/usr/lib/libgstpbutils-0.10.so: symbolic link to `libgstpbutils-0.10.so.0.24.0'
/usr/lib/libgstpbutils-0.10.so.0: symbolic link to `libgstpbutils-0.10.so.0.24.0'
/usr/lib/libgstpbutils-0.10.so.0.24.0: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, stripped
/usr/lib/libgstreamer-0.10.a: current ar archive
/usr/lib/libgstreamer-0.10.la: libtool library file,
/usr/lib/libgstreamer-0.10.so: symbolic link to `libgstreamer-0.10.so.0.29.0'
/usr/lib/libgstreamer-0.10.so.0: symbolic link to `libgstreamer-0.10.so.0.29.0'
/usr/lib/libgstreamer-0.10.so.0.14.0: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, stripped
/usr/lib/libgstreamer-0.10.so.0.29.0: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, stripped
/usr/lib/libgstriff-0.10.a: current ar archive
/usr/lib/libgstriff-0.10.la: libtool library file,
/usr/lib/libgstriff-0.10.so: symbolic link to `libgstriff-0.10.so.0.24.0'
/usr/lib/libgstriff-0.10.so.0: symbolic link to `libgstriff-0.10.so.0.24.0'
/usr/lib/libgstriff-0.10.so.0.24.0: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, stripped
/usr/lib/libgstrtp-0.10.a: current ar archive
/usr/lib/libgstrtp-0.10.la: libtool library file,
/usr/lib/libgstrtp-0.10.so: symbolic link to `libgstrtp-0.10.so.0.24.0'
/usr/lib/libgstrtp-0.10.so.0: symbolic link to `libgstrtp-0.10.so.0.24.0'
/usr/lib/libgstrtp-0.10.so.0.24.0: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, stripped
/usr/lib/libgstrtsp-0.10.a: current ar archive
/usr/lib/libgstrtsp-0.10.la: libtool library file,
/usr/lib/libgstrtsp-0.10.so: symbolic link to `libgstrtsp-0.10.so.0.24.0'
/usr/lib/libgstrtsp-0.10.so.0: symbolic link to `libgstrtsp-0.10.so.0.24.0'
/usr/lib/libgstrtsp-0.10.so.0.24.0: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, stripped
/usr/lib/libgstsdp-0.10.a: current ar archive
/usr/lib/libgstsdp-0.10.la: libtool library file,
/usr/lib/libgstsdp-0.10.so: symbolic link to `libgstsdp-0.10.so.0.24.0'
/usr/lib/libgstsdp-0.10.so.0: symbolic link to `libgstsdp-0.10.so.0.24.0'
/usr/lib/libgstsdp-0.10.so.0.24.0: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, stripped
/usr/lib/libgsttag-0.10.a: current ar archive
/usr/lib/libgsttag-0.10.la: libtool library file,
/usr/lib/libgsttag-0.10.so: symbolic link to `libgsttag-0.10.so.0.24.0'
/usr/lib/libgsttag-0.10.so.0: symbolic link to `libgsttag-0.10.so.0.24.0'
/usr/lib/libgsttag-0.10.so.0.24.0: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, stripped
/usr/lib/libgstvideo-0.10.a: current ar archive
/usr/lib/libgstvideo-0.10.la: libtool library file,
/usr/lib/libgstvideo-0.10.so: symbolic link to `libgstvideo-0.10.so.0.24.0'
/usr/lib/libgstvideo-0.10.so.0: symbolic link to `libgstvideo-0.10.so.0.24.0'
/usr/lib/libgstvideo-0.10.so.0.24.0: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, stripped
 
Old 06-06-2012, 08:06 AM   #10
pan64
Senior Member
 
Registered: Mar 2012
Location: Hungary
Distribution: debian i686 (solaris)
Posts: 4,517

Rep: Reputation: 1222Reputation: 1222Reputation: 1222Reputation: 1222Reputation: 1222Reputation: 1222Reputation: 1222Reputation: 1222Reputation: 1222
do you build a 32bit or 64bit lib? you can try to rebuild gstreamer without -s (because nm does not work on stripped objects).
 
Old 06-06-2012, 08:18 AM   #11
Takido
LQ Newbie
 
Registered: Jun 2012
Location: France
Distribution: Crunchbang, Ubuntu, Xbian
Posts: 12

Original Poster
Rep: Reputation: Disabled
I'm building a 32bit lib.
I'm sorry, but what do you mean by building without -s ?
 
Old 06-06-2012, 08:27 AM   #12
pan64
Senior Member
 
Registered: Mar 2012
Location: Hungary
Distribution: debian i686 (solaris)
Posts: 4,517

Rep: Reputation: 1222Reputation: 1222Reputation: 1222Reputation: 1222Reputation: 1222Reputation: 1222Reputation: 1222Reputation: 1222Reputation: 1222
the libs are stripped and you wrote you built them. During the build (if you could see the log) there is a -s flag in the link command. If you could remove it you should be able to check the content with nm.
 
Old 06-06-2012, 08:30 AM   #13
Takido
LQ Newbie
 
Registered: Jun 2012
Location: France
Distribution: Crunchbang, Ubuntu, Xbian
Posts: 12

Original Poster
Rep: Reputation: Disabled
Okay, I got it.
However, I actually used the portage tool to build them. So I'll try to build them manually.

Thanks.
 
Old 06-06-2012, 09:06 AM   #14
Takido
LQ Newbie
 
Registered: Jun 2012
Location: France
Distribution: Crunchbang, Ubuntu, Xbian
Posts: 12

Original Poster
Rep: Reputation: Disabled
Since I did not manage to remove the "-s", I tried to build gstreamer from its sources.
After this, when I tried to compile gst-plugins-base from sources, I got the same error as before... But when emerging it using Portage, it worked !

Now I need to cross-compile it.
Thank you !
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Gstreamer-plugins update kususe Linux - Software 2 04-19-2012 05:26 AM
What is your experience with GStreamer plugins? alan_ri Linux - General 1 04-17-2011 08:29 PM
[SOLVED] gstreamer-plugins-base conflicts with gstreamer-plugins-good Raveolution Linux - Software 14 11-17-2009 12:24 PM
[SOLVED] stupid gstreamer plugins amiga32 Slackware 7 09-09-2009 05:11 AM
GStreamer Plugins for FC3 FunkyRes Fedora 7 12-22-2004 10:29 AM


All times are GMT -5. The time now is 12:42 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration