The link error does not complain about not finding the libs - but not finding references in them.
This is probably due to wrong version of the libs.
You can use grep to see if the symbols really are missing in the respective libs.
The link error does not complain about not finding the libs - but not finding references in them.
This is probably due to wrong version of the libs.
You can use grep to see if the symbols really are missing in the respective libs.
==========================signature=============== ==================
S.O.L.I.D principles (use them!):
https://en.wikipedia.org/wiki/SOLID_...iented_design)
Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.
Yes they are in.
nm /home/tang/Projects/OE/build/Aips/../tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib/libgplayer.a | grep gplayer
00000394 T gplayer
00000000 t gplayer_callback
nm ../tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib/libavformat.so |grep av_register_all
00016910 T av_register_all
Aren't you missing an -L here?:
-L/home/tang/usr/local/angstrom/arm/arm-angstrom-linux-gnueabi//usr/lib -L/home/tang/Projects/OE/build/Aips/../tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib
==========================signature=============== ==================
S.O.L.I.D principles (use them!):
https://en.wikipedia.org/wiki/SOLID_...iented_design)
Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.
But without -L I am not sure it is considered as lib search path.
Try
-L../tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib
Just checking: you built these libs for your current target too, right?I tried the same build for x86 platform with Qt creator.
==========================signature=============== ==================
S.O.L.I.D principles (use them!):
https://en.wikipedia.org/wiki/SOLID_...iented_design)
Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.
You see -L is there -L/home/tang/Projects/OE/build/Aips/../tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib.
I build for beagleboard. To figure out, I tried my build and libraries on x86 platform. But if I put gst_init() of gstreamer-0.10.so in my code. It has no problem.
Do you only copy the libs between the platforms, or do you build them for each platform?To figure out, I tried my build and libraries on x86 platform. But if I put gst_init() of gstreamer-0.10.so in my code. It has no problem.
==========================signature=============== ==================
S.O.L.I.D principles (use them!):
https://en.wikipedia.org/wiki/SOLID_...iented_design)
Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.
Bookmarks