lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hi,

I'm trying to compile Lua Sqlite 3.0.4.1 in an arm hynix hms30c7202 linux platform, with kernel version 2.4.18-rmk3 , arm720T-rev2, with 16MB RAM. It has also libc6 version 2.1.3.

The first thing I did was create a lua binary linking dynamically to the libraries. Everything went fine. I have a lua interpreter in an arm platform. In order to have the possibility to install lua sqlite, I need to install sqlite3.5.1 and lua sqlite. So, from its source code, I've modified the makefile to be able to execute sqlite3.5.1 in the arm platform. As before, everything went fine; I've got a shared library (libsqlite.so.0.8.6 ), 2 links to this library (libsqlite3.so.0 and libsqlite3.so), libsqlite3.la  and also an interpreter for arm of sqlite 3.5.1. I did the same for lua sqlite 3.0.4.1 , modifying the source code to cross compile (I write ./configure --with-lua-includedir=/usr/local/include/ --with-sqlite3-libdir=/home/julio/Lua/sqlite-3.5.1/.libs/ --with-lua-libdir=/usr/local/lib/ --host=arm-linux --enable-rpath). It also compiles fine.

Then when I put all the shared libraries in the arm target, I've got the following error: R_ARM_PC24 relocation out of range.

Any idea?? Any help would be appreciate.

Thanks

Julio Mora