On 2012-12-07 11:59, Gary Thomas wrote:
On 2012-12-07 11:15, Eric Bénard wrote:
Hi,
Le Fri, 07 Dec 2012 10:35:52 -0700,
Gary Thomas <[email protected]> a écrit :
I just tried to build modphp_5.3.19.bb for my ARM target.
It seems that the make is using the wrong tools (or libraries),
as it fails with this error:
| /usr/lib/libbz2.so: could not read symbols: File in wrong format
| collect2: error: ld returned 1 exit status
| make: *** [libphp5.la] Error 1
Any ideas how to make this work? Has it ever been built/tested
for a cross target? I can see that the cross paths for libz and libbz2
are being passed to the configure step, but they don't seem to be reflected
in the actual link step when making the modphp.so library.
it was build and run tested here on an ARM target before sending the
patches.
So why did it not work for me? What can I do to diagnose this?
I found that there was a libbz2.la installed in the sysroot/usr/lib
This is what was causing the problem. I deleted it manually and reran
the build and now the modphp package builds.
I'll continue to look to see how that libbz2.la file got there..
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel