Le 07/04/2012 00:34, Tomas Cech a écrit :
Hi,
First, thanks for your answer.
On Fri, Apr 06, 2012 at 11:17:26AM +0200, Guillaume Gardet wrote:
Hi,
Le 05/04/2012 22:51, Tomas Cech a écrit :
Hi,
I enabled compilation of E17 for armv7l and got strange error:
/usr/bin/edje_cc: error while loading shared libraries: /usr/lib/liblua-5.1.so: unexpected reloc type 0x03
Full log is accessible with:
osc rbl X11:Enlightenment:Nightly emotion openSUSE_Factory_ARM armv7l
I believe that this doesn't seem to be packager issue... Any ideas?
Best regards,
Tomas Cech
I think the liblua you are using was compiled without -fPIC option.
I added -fPIC to CFLAGS, but the problem is the same.
Can you try liblua from openSUSE:Factory:ARM? Or recompile liblua with -fPIC option?
Unfortunatelly no, E17 still depends on lua 5.1 as there were API changes...
Acording to: osc rbl X11:Enlightenment:Nightly lua51 openSUSE_Factory_ARM armv7l RPM lit reports: ******************************************************************************** lua51-libs.armv7l: W: shlib-with-non-pic-code /usr/lib/liblua-5.1.so The listed shared libraries contain object code that was compiled without -fPIC. All object code in shared libraries should be recompiled separately from the static libraries with the -fPIC option. Another common mistake that causes this problem is linking with ``gcc -Wl,-shared'' instead of ``gcc -shared''. ******************************************************************************** So something get wrong. maybe try to do CFLAGS+=-fPIC instead of CFLAGS=-fPIC or use MYCFLAGS. Have a look at the following links for used option and maybe patches for lua: https://build.opensuse.org/package/view_file?file=lua.spec&package=lua&project=openSUSE%3A12.1&rev=eaf0fe31d0474731c8db6204dc85ea6e http://git.buildroot.net/buildroot/tree/package/lua Regards, Guillaume -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org