10-01-2012, 02:55 PM | #31 |
Junior Member
Posts: 8
Karma: 5320
Join Date: Sep 2012
Device: Kindle 3 Wireless (k3w)
|
Oh sorry if this isn't clear, I'm compiling this on the Raspberry Pi. I wanted to use KindleVNC to display aaquake2 playing on the Pi.
|
10-01-2012, 06:39 PM | #32 | |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
Quote:
mentions this type of error in clibs on arm. he also talks about digging into the errors originating code, which would no doubt help. It's beyond my skills. I assume you have all the relevant kernel symbols in your keychain, although again I am not sure if that is even related to the issue. sorry mate |
|
Advert | |
|
10-01-2012, 07:44 PM | #33 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
And why does that line show an unadorned "gcc" - Are you native compiling this thing? |
|
10-01-2012, 08:30 PM | #34 |
BLAM!
Posts: 13,478
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@projectdp: Oh, right, missed that, sorry .
Then, yes, +1 on knc1 answer: build the *library* in PIC mode. (If it's using a decent buildsystem, there's a switch, if not, carefully messing around with the *PIC flags). |
10-02-2012, 11:53 AM | #35 | |||
Junior Member
Posts: 8
Karma: 5320
Join Date: Sep 2012
Device: Kindle 3 Wireless (k3w)
|
Quote:
Thanks for your efforts! Quote:
1: I don't know, what is unadorned about the gcc line? 2: Yes I'm native compiling. Sure appreciate the help Quote:
Thanks NiLuJe |
|||
Advert | |
|
10-02-2012, 12:20 PM | #36 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
unadorned "gcc" -
as opposed to /opt/gcc-linaro-arm-linux-gnueabi-2012.04-20120426_linux/bin/arm-linux-gnueabi-gcc (Linaro K5) or /opt/arm-2007q3/bin/arm-none-linux-gnueabi-gcc (Code Sourcery K3) native compile = build for the machine you are running build on cross compile = build for a different target. gcc -o foo blar.c would build a windows executable on a window box, linux on a linux arm-linux-gnueabi-gcc -o foo blar.c would build a kindle-ready one, on both. Have a read up on the general principles of x-compiling : ) but that's the gist of it : ) (pictures, kindle 5 and 3 TC's) Last edited by twobob; 10-02-2012 at 12:27 PM. Reason: added both machines to make the point. |
10-02-2012, 12:38 PM | #37 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Cross Make Example
This is only an example of statements you may find in a Makefile intended to be used for both cross-compiles and native-compiles:
PHP Code:
$(AS) So in twobob's example path to the ARM cross-compiler, if the Makefile is called with: PHP Code:
If CROSS_COMPILE is not set (or an empty string), then $(AS) will be: as The 'unadorned' name for the host machine's assembler. In other words, your #2 answered your #1 |
10-10-2012, 12:58 PM | #38 | |
Connoisseur
Posts: 71
Karma: 23166
Join Date: Sep 2012
Device: Kindle 4NT
|
Quote:
|
|
10-10-2012, 01:19 PM | #39 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
I already have that code in GIT.
needs porting is "all" time allowing |
01-20-2013, 10:59 PM | #40 |
Enthusiast
Posts: 28
Karma: 20614
Join Date: Jun 2012
Device: Kindle Touch
|
Amazing work !
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
SOME K3 HACK - Using a Raspberry Pi as your travel computer | peter12345 | Kindle Developer's Corner | 1 | 09-12-2012 04:10 AM |
Mystery and Crime Wells, Carolyn: Raspberry Jam, LIT v1, 12 March 2010. | Patricia | Other Books | 0 | 03-11-2010 11:42 PM |
Mystery and Crime Wells, Carolyn: Raspberry Jam, v1, 12 March 2010. | Patricia | IMP Books | 0 | 03-11-2010 11:40 PM |
Mystery and Crime Wells, Carolyn: Raspberry Jam, v1, 12 March 2010. | Patricia | BBeB/LRF Books | 0 | 03-11-2010 11:39 PM |
Mystery and Crime Wells, Carolyn: Raspberry Jam, v1, 12 March 2010. | Patricia | Kindle Books | 0 | 03-11-2010 11:37 PM |