Some missing recipes for building libSDL libraries
It would be nice to have bitbake recipes available to automate the building of all these libraries by Yocto Poky.
Thanks in advance!!
Accepted Answer0Just for reference, here I found some working recipes:
==> http://cgit.openembedded.org/openembedd ... es/libsdl/
To make that recipes work under Yocto, you have to add this line into .bb files:
LIC_FILES_CHKSUM = "file://COPYING;md5=27818cd7fd83877a8e3ef82b82798ef4"
Accepted Answer0To develop under opengles, I need the library libsdl-gles working into the target. This library is provided here:
But I haven't found any bitbake recipe to build it under Yocto Poky. So first I have tried to compile it from scratch using Poky Yocto SDK.
I configured it as expected:
./configure --prefix=/opt/poky/1.2.1/sysroots/armv7a-vfp-neon-poky-linux-gnueabi --host=arm-poky-linux-gnueabi --build=i686-pc-linux-gnu ... [some flags enabled or disabled]
And then I 'make' it. But the process fails with this error:
libtool: link: warning: library `/opt/poky/1.2.1/sysroots/armv7a-vfp-neon-poky-linux-gnueabi/usr/lib//libpulse-simple.la' was moved.
./libtool: line 3233: cd: =/usr/lib: No such file or directory
libtool: link: warning: cannot determine absolute directory name of `=/usr/lib'
grep: =/usr/lib/libpulse.la: No such file or directory
/bin/sed: can't read =/usr/lib/libpulse.la: No such file or directory
libtool: link: `=/usr/lib/libpulse.la' is not a valid libtool archive
make: *** [build/libSDL.la] Error 1
It seems some problem with libtool, because "=/usr/lib" is not a correct directory (char equal shouldn't be there...). Does some of you has solved this?
Accepted Answer0This issue has been temporarily fixed, editing these two files:
and modifying 'dependency_libs' variable contents, first deleting all '=' chars, and second adding the prefix
to every .la file.
This is a temporal patch to enable the compilation of libsdl-gle library. But is not a clean solution for the problem. It would be nice to fix the real source of this problem.
Thanks in advance.