|08-25-2008, 08:16 PM||#1|
Join Date: Jul 2008
Device: Sony Reader PRS-505
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
/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!!
|08-27-2008, 03:01 PM||#2|
Join Date: Mar 2008
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.
|12-01-2008, 10:46 AM||#3|
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/
|12-02-2008, 11:03 PM||#4|
Join Date: Dec 2008
did you get it going? I've debugged rpms in the past but not recently.. you can extract the scripts somehow..
|Thread Tools||Search this Thread|
|Thread||Thread Starter||Forum||Replies||Last Post|
|iLiad How to build iPDF with toolchain?||ericshliao||iRex Developer's Corner||2||01-23-2008 12:15 PM|
|iLiad now in the wiki: iliad unofficial toolchain||Antartica||iRex Developer's Corner||22||12-26-2007 06:27 AM|
|iLiad Is possible a new toolchain with updated libc?||tororebelde||iRex Developer's Corner||3||04-25-2007 03:29 AM|
|PRS-500 Compiling for Reader: toolchain and libraries?||igorsk||Sony Reader Dev Corner||6||12-26-2006 02:11 PM|
|iLiad iPDF and Toolchain Sources Updated||Adam B.||iRex Developer's Corner||0||12-08-2006 09:42 AM|