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
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a
virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month.
Click here for more info.
06-06-2012, 05:49 AM
#1
LQ Newbie
Registered: Jun 2012
Location: France
Distribution: Crunchbang, Ubuntu, Xbian
Posts: 12
Rep:
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.
06-06-2012, 05:58 AM
#2
LQ Addict
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,850
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.
06-06-2012, 06:04 AM
#3
LQ Newbie
Registered: Jun 2012
Location: France
Distribution: Crunchbang, Ubuntu, Xbian
Posts: 12
Original Poster
Rep:
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 ?
06-06-2012, 06:15 AM
#4
LQ Addict
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,850
would be better to see more of the compile log
06-06-2012, 06:18 AM
#5
LQ Newbie
Registered: Jun 2012
Location: France
Distribution: Crunchbang, Ubuntu, Xbian
Posts: 12
Original Poster
Rep:
You're right, indeed.
Here it is :
http://pastebin.com/jjkn9juD
06-06-2012, 06:31 AM
#6
LQ Addict
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,850
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
06-06-2012, 06:38 AM
#7
LQ Newbie
Registered: Jun 2012
Location: France
Distribution: Crunchbang, Ubuntu, Xbian
Posts: 12
Original Poster
Rep:
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...
06-06-2012, 06:43 AM
#8
LQ Addict
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,850
can you please try: file /usr/lib/libgst*
06-06-2012, 07:20 AM
#9
LQ Newbie
Registered: Jun 2012
Location: France
Distribution: Crunchbang, Ubuntu, Xbian
Posts: 12
Original Poster
Rep:
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
06-06-2012, 08:06 AM
#10
LQ Addict
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,850
do you build a 32bit or 64bit lib? you can try to rebuild gstreamer without -s (because nm does not work on stripped objects).
06-06-2012, 08:18 AM
#11
LQ Newbie
Registered: Jun 2012
Location: France
Distribution: Crunchbang, Ubuntu, Xbian
Posts: 12
Original Poster
Rep:
I'm building a 32bit lib.
I'm sorry, but what do you mean by building without -s ?
06-06-2012, 08:27 AM
#12
LQ Addict
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,850
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.
06-06-2012, 08:30 AM
#13
LQ Newbie
Registered: Jun 2012
Location: France
Distribution: Crunchbang, Ubuntu, Xbian
Posts: 12
Original Poster
Rep:
Okay, I got it.
However, I actually used the portage tool to build them. So I'll try to build them manually.
Thanks.
06-06-2012, 09:06 AM
#14
LQ Newbie
Registered: Jun 2012
Location: France
Distribution: Crunchbang, Ubuntu, Xbian
Posts: 12
Original Poster
Rep:
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 !
All times are GMT -5. The time now is 02:45 PM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News