Quote:
Originally Posted by kodomo
fbreader compiles for x86 in 32bit environments, if a not needed cryptopenssl lib inclusion is removed from its CMakeLists.txt (patch attached) - but arm toolchain & sdk are lacking the needed libcrypto .
cr3 yields linker errors (several 'multiple definition' errors, such as this one)
Code:
./../../../libs/libonyx_ui.a(number_dialog.cpp.o): In function `ui::NumberDialog::keyPressEvent(QKeyEvent*)':
number_dialog.cpp:(.text+0x0): multiple definition of `ui::NumberDialog::keyPressEvent(QKeyEvent*)'
Hence what we need from Onyx seems - The feed_action.h header file
- The crypto lib in the SDK (prebuilt and/or source)
- The kernel sources and patches
- A solution to the cr3 linker issue (anyone?)
|
Compiling openssl and placing the resulting 'lib' and 'include' directory content into respective /opt/onyx/arm/ subdirectories allowed compilation of fbreader.
Attached, you'll find a patchfile modifying the Makefile to make it easy to use the toolchain.
To use it, download and unpack the openssl archive, patch the Makefile, set your environment variables (as described in the Development wiki), and call
Code:
export INSTALLTOP=`pwd`/build/arm ; export TC_PREFIX=arm-linux- ; make install
The binaries will then be put into ./build/arm .
Copy the contents of the include and lib directories into your onyx sdk environment (presumably under /opt/onyx/arm - mind that there's already an include/openssl directory).
fbreader should compile thereafter (mind to remove the other library dependency).
I'll update the Devel wiki to that respect.
Cheers!
Update: initial post was missing a '-' after arm-linux