So, I've been trying to get this compiling, in preperation for the arrival of my iliad!
I applied ericshliao's patch from above to the source from fbreader.org, and started out. First thing I got was a complaint about a missing bzip2 include files, so compiling and installing that into /usr/local/arm/oe/arm-linux/ did the trick.
Next up was:
as: Unrecognized option '-Qy'
which was fixed by soft linking /usr/local/arm/oe/bin/arm-linux-gcc to /usr/local/arm/oe/bin/gcc
And my final problem, which I'm still stuck on, is:
Code:
make[2]: Leaving directory `/home/pwarren/iliad/fbreader-0.10.7/zlibrary/core/src/unix/library'
Creating libzlcore.so.0.10.7 .../usr/local/arm/oe/arm-linux/bin/ld: unrecognised emulation mode: elf_i386
Supported emulations: armelf_linux armelf
collect2: ld returned 1 exit status
make[1]: *** [libzlcore.so.0.10.7] Error 1
make[1]: Leaving directory `/home/pwarren/iliad/fbreader-0.10.7/zlibrary/core'
make: *** [all] Error 1
pwarren@buildhost:~/iliad/fbreader-0.10.7$
linking ld as I did for gcc, does not help.
make LD="arm-linux-ld"
produces:
Code:
Creating libzlcore.so.0.10.7 ...arm-linux-ld: unrecognized option '-Wl,-soname,libzlcore.so.0.10'
arm-linux-ld: use the --help option for usage information
make[1]: *** [libzlcore.so.0.10.7] Error 1
make[1]: Leaving directory `/home/pwarren/iliad/fbreader-0.10.7/zlibrary/core'
make: *** [all] Error 1
So, I'm a bit stuck.
Does anyone have any pointers, or solutions?
I'm using the official toolchain, on debian 4.0r7, and have successfully compiled the iliados sources, and a few other bits and pieces.
This is leading up to me having a look at packaging up an installer for fbreader 0.10.7, and possibly continuing on the iliados project, which seems to be moving a little slowly at the moment.
Thanks for your time.