![]() |
#1 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,430
Karma: 95000
Join Date: Dec 2007
Location: Germany, near Bingen/Rhein
Device: K3,K4,PB360,PB360+,PB701-IQ und noch diverse andere Lesegeräte....
|
FBReader 0.10.7 Problem
Hello,
i have build FBReader 0.10.7 for the iliad. it is running, but if i add: erIpcStartClient(ER_BUSYD_CHANNEL, &erbusyChannel); busySetBusy(erbusyChannel, ccBusyState_Off); to funktion doPaint in ZLGtkViewWidget.cpp the porogram ends with "zlui-gtk.so: undefined symbol: erIpcStartClient". Without this lines FBReader works fine, but with always flashing busy-led. How can i fix this? best regards Fellball |
![]() |
![]() |
![]() |
#2 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() Posts: 976
Karma: 687
Join Date: Nov 2007
Device: Dell X51v; iLiad v2
|
Try this patch. I put led control code in a different place. I built fbreader 0.10.7 against GTK+2.10 and 2.14, and it's working on my iLiad. FIY.
Last edited by ericshliao; 04-04-2009 at 06:19 AM. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,430
Karma: 95000
Join Date: Dec 2007
Location: Germany, near Bingen/Rhein
Device: K3,K4,PB360,PB360+,PB701-IQ und noch diverse andere Lesegeräte....
|
Thanks. I test the patch tonight.....
Fellball |
![]() |
![]() |
![]() |
#4 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,430
Karma: 95000
Join Date: Dec 2007
Location: Germany, near Bingen/Rhein
Device: K3,K4,PB360,PB360+,PB701-IQ und noch diverse andere Lesegeräte....
|
|
![]() |
![]() |
![]() |
#5 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 375
Karma: 2200000
Join Date: Feb 2009
Location: Chennai
Device: .*
|
Hi,
Need some help/suggestions: I had some free time last weekend and set out to compile the fbreader 0.10.7 source. I have Adam's vmware setup etc., and I think i followed his steps in his dev corner sticky. But had to stop soon enough since I started getting a truckload of compile errors. The header files under zlibrary/core/include/ were mostly empty files. Am i missing something in the configuration? Can someone provide any suggestions? Thanks in advance. hari |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() Posts: 976
Karma: 687
Join Date: Nov 2007
Device: Dell X51v; iLiad v2
|
|
![]() |
![]() |
![]() |
#7 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 95
Karma: 186186
Join Date: May 2009
Location: Canberra, Australia
Device: Irex Iliad (Dead), EcoReader (Smashed screen), Kobo Touch
|
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$ 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 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. Last edited by pwarren; 06-01-2009 at 01:46 AM. Reason: correct error message for second code block |
![]() |
![]() |
![]() |
#8 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 95
Karma: 186186
Join Date: May 2009
Location: Canberra, Australia
Device: Irex Iliad (Dead), EcoReader (Smashed screen), Kobo Touch
|
Managed to figure this out. Needed to make links for ar, as and g++ as well as the above. Something funky going on with my $PATH I guess.
Then found that FBReader needs fribidi and liblinebreak. Anyways, all compiled now, and stripped down to 4.9MB. Next up, getting a package going ![]() Well, Guess I'd better test it first, make sure my compile actually works! Iliad should be here within 48 hours!!! Last edited by pwarren; 06-01-2009 at 08:43 AM. |
![]() |
![]() |
![]() |
#9 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 95
Karma: 186186
Join Date: May 2009
Location: Canberra, Australia
Device: Irex Iliad (Dead), EcoReader (Smashed screen), Kobo Touch
|
sad face
![]() Doesn't work at all, it seems to run, produces no output and returns in a second or less. Completely not sure what's happening there. even with xpedmgr it doesn't work. |
![]() |
![]() |
![]() |
#10 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() Posts: 976
Karma: 687
Join Date: Nov 2007
Device: Dell X51v; iLiad v2
|
You can run /usr/bin/fbreader.sh in mrxvt to see if any error message.
|
![]() |
![]() |
![]() |
#11 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 95
Karma: 186186
Join Date: May 2009
Location: Canberra, Australia
Device: Irex Iliad (Dead), EcoReader (Smashed screen), Kobo Touch
|
Ah, sorry, wasn't being clear!
I've copied my compiled install to /mnt/cf/myfbreader on my iliad, via scp after installing the unbrickable application. so I run Code:
root@ereader:/media/cf/myfbreader# export DISPLAY=:0 root@ereader:/media/cf/myfbreader# export LD_LIBRARY_PATH=/media/cf/myfbreader/lib root@ereader:/media/cf/myfbreader# xepdmgr :0 ./bin/FBReader xepdmgr: client mode, child ./bin/FBReader root@ereader:/media/cf/myfbreader# ![]() Code:
root@ereader:/media/cf/myfbreader# LD_LIBRARY_PATH=/media/cf/myfbreader/lib /lib/ld-linux.so.2 --list ./bin/FBReader libzltext.so.0.10 => /media/cf/myfbreader/lib/libzltext.so.0.10 (0x40000000) libzlcore.so.0.10 => /media/cf/myfbreader/lib/libzlcore.so.0.10 (0x4004f000) libdl.so.2 => /lib/libdl.so.2 (0x400f0000) liberipc.so.0 => /usr/lib/liberipc.so.0 (0x400fb000) libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x4010b000) libm.so.6 => /lib/libm.so.6 (0x401ea000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x40297000) libc.so.6 => /lib/libc.so.6 (0x402a1000) liblinebreak.so.1 => /media/cf/myfbreader/lib/liblinebreak.so.1 (0x403ad000) libfribidi.so.0 => /media/cf/myfbreader/lib/libfribidi.so.0 (0x403bd000) libexpat.so.0 => /usr/lib/libexpat.so.0 (0x403d3000) libz.so.1 => /usr/lib/libz.so.1 (0x403f8000) libcurl.so.3 => /usr/lib/libcurl.so.3 (0x40411000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x2aaaa000) libssl.so.0.9.7 => /usr/lib/libssl.so.0.9.7 (0x4044a000) libcrypto.so.0.9.7 => /usr/lib/libcrypto.so.0.9.7 (0x4047f000) and now that I've actually read through his thread, I find that the install path, is actually compiled in to FBReader, which might be my problem, as I changed that! brb.... |
![]() |
![]() |
![]() |
#12 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() Posts: 976
Karma: 687
Join Date: Nov 2007
Device: Dell X51v; iLiad v2
|
libzlcore is dependent on install path which is fixed at building. If you use my patch file without altering it, you must install to /media/card/programs/fbreader. Or you must modify the install dir.
Last edited by ericshliao; 06-03-2009 at 10:42 PM. |
![]() |
![]() |
![]() |
#13 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 95
Karma: 186186
Join Date: May 2009
Location: Canberra, Australia
Device: Irex Iliad (Dead), EcoReader (Smashed screen), Kobo Touch
|
heh, that's fixed it. Awesome!
I started it with xepdmgr, is that required, even with your patches? |
![]() |
![]() |
![]() |
#14 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() Posts: 976
Karma: 687
Join Date: Nov 2007
Device: Dell X51v; iLiad v2
|
My patch does not deal with screen refreshment, so xepdmgr is a must-have with my patch. But if you use patched x-lib in the fbreader 0.8.14 package, maybe xepdmgr is not needed. That's beyond my reach, 'cause I've never used that 0.8.14 package.
Last edited by ericshliao; 06-03-2009 at 11:04 PM. |
![]() |
![]() |
![]() |
#15 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 95
Karma: 186186
Join Date: May 2009
Location: Canberra, Australia
Device: Irex Iliad (Dead), EcoReader (Smashed screen), Kobo Touch
|
cool. I'm Ok with using xepdmgr.
Next problem, is no exit button, no easy way to quit FBReader. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem with grays fbreader 0.9.2 on Pocketbook 360: | readerreader | PocketBook | 6 | 09-01-2010 04:42 AM |
iLiad FBReader 0.8.17 problem | ericshliao | iRex Developer's Corner | 10 | 12-25-2008 05:20 PM |
little problem with fbreader | Escaflowne | iRex | 1 | 02-05-2008 05:10 PM |
iLiad Little problem with fbreader | Escaflowne | iRex Developer's Corner | 8 | 01-16-2008 01:30 AM |
FBReader fixes character encoding problem | jbenny | News | 1 | 10-18-2007 10:50 PM |