User(s) browsing this thread: 1 Guest(s)
|
[200] Cross Compile issues
|
|
09-29-2011, 09:46 PM
|
|||
|
|||
|
Cross Compile issues
Hi everybody,
I have some source code that I want to cross compile for C200. In order to doing this, I realized my toolchain following the tutorial made by vaidyasr (and completed by other users) about creating a toolchain from scratch. After a while, I had a GCC completely functional and my "Hello world" application works fine and I want to thank you for that !!! As I said at the beginning, I have some source code to cross compile. This code uses libxml2. Under linux, no problem to compile and to execute. To cross compile, I try to get libxml2.so and headers from C200, copy them on my Linux. But it doesn't work I have the following message : "/path/to/libxml2.so: could not read symbols: File in wrong format"So, I decided to get the latest release of the libxml2 and to cross compile it with my toolchain. I try a Code: export CFLAGS="-EL -march=74kc -fPIC"![]() Can you help me about my problem ? I think my issue is about the configuration of my project. For information, my project is under an Eclipse IDE with generated Makefile (by eclipse). Thanks for reading me Amenophiks PCH-C200 + Samsung 1To PS3 160Go |
|||
|
09-30-2011, 03:24 AM
|
|||
|
|||
RE: Cross Compile issues
(09-29-2011 09:46 PM)amenophiks Wrote: Can you help me about my problem ? The LDFLAGS should be same as CFLAGS. Make sure the file format of the generated *.o file should say LSB (little endian) not MSB (big endian). Sriram C200/A400/RPi - Onkyo HT-S3400 - LG 47LV3730 |
|||
|
09-30-2011, 10:00 AM
|
|||
|
|||
|
RE: Cross Compile issues
Thanks for the information. Now my program is generated.
![]() Tests will be done tonight. For the libxml2, shared library is still missing after cross compile step
PCH-C200 + Samsung 1To PS3 160Go |
|||
|
« Next Oldest | Next Newest »
|

Twitter
Facebook
NMT Wiki
Search
Member List
Help
A-400 [13 May 2013]



I have the following message : "/path/to/libxml2.so: could not read symbols: File in wrong format"


![[+]](images/collapse_collapsed.gif)


