Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Sony Reader > Sony Reader Dev Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 08-25-2008, 07:16 PM   #1
benjaminvm
Junior Member
benjaminvm began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Jul 2008
Device: Sony Reader PRS-505
Toolchain Problems

Hello Everyone,

I am porting the reloaded kernel module to the Sony Reader to allow the Sony Reader PRS-505 to boot OpenInkpot. But before I can do that I must setup the appropriate toolchain, and this is where my problem lies. Here are the steps I have taken and the problem.

1. Downloaded the HHL_TARGE_GCC Source RPM.
2. Installed the RPM after creating the /usr/src/redhat/SOURCES/ directory on Fedora 8.
3. Attempted to build(rpmbuild -ba) the SPEC file located in /usr/src/redhat/SPECS/.

But I get the following error:

[root@localhost SPECS]# rpmbuild -ba hhl-target-gcc3.2.spec
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.60163
+ umask 022
+ cd /usr/src/redhat/BUILD
+ %target_check
/var/tmp/rpm-tmp.60163: line 23: fg: no job control
error: Bad exit status from /var/tmp/rpm-tmp.60163 (%prep)


RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.60163 (%prep)

Any help would be greatly appreciated, thank you!!

Sincerely, benjaminvm
benjaminvm is offline   Reply With Quote
Old 08-27-2008, 02:01 PM   #2
Megatron-UK
Connoisseur
Megatron-UK began at the beginning.
 
Posts: 76
Karma: 22
Join Date: Mar 2008
Location: uk
Device: Sony PRS505
At a guess, there's something in the makefile which is not getting expanded (%prep perhaps?) and it is then passing it to the shell to run (instead of the make command itself) where the fg command of your interpreter rightfully complains that the foreground/background job "%-whatever" doesn't actually exist.

Check line 23 of that tmp file and see what macros are being called.

HTH!
Megatron-UK is offline   Reply With Quote
Advert
Old 12-01-2008, 09:46 AM   #3
jekhor
Junior Member
jekhor began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Oct 2008
Device: lBook V3
Now reloaded module for Sony is ported. I used crosstool (http://kegel.com/crosstool) for build gcc-2.95 for arm (this version Sony used for kernel).

Sources of reloaded module can be found here: http://git.openinkpot.org/contrib/re...y-prs-505.git/
jekhor is offline   Reply With Quote
Old 12-02-2008, 10:03 PM   #4
jedix
Junior Member
jedix began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Dec 2008
Device: prs-505, Kobo H2O v1
did you get it going? I've debugged rpms in the past but not recently.. you can extract the scripts somehow..
jedix is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
iLiad How to build iPDF with toolchain? ericshliao iRex Developer's Corner 2 01-23-2008 11:15 AM
iLiad now in the wiki: iliad unofficial toolchain Antartica iRex Developer's Corner 22 12-26-2007 05:27 AM
iLiad Is possible a new toolchain with updated libc? tororebelde iRex Developer's Corner 3 04-25-2007 02:29 AM
PRS-500 Compiling for Reader: toolchain and libraries? igorsk Sony Reader Dev Corner 6 12-26-2006 01:11 PM
iLiad iPDF and Toolchain Sources Updated Adam B. iRex Developer's Corner 0 12-08-2006 08:42 AM


All times are GMT -4. The time now is 09:11 AM.


MobileRead.com is a privately owned, operated and funded community.