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

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 08-27-2012, 06:05 AM   #181
icantbebothered
Penguin
icantbebothered ought to be getting tired of karma fortunes by now.icantbebothered ought to be getting tired of karma fortunes by now.icantbebothered ought to be getting tired of karma fortunes by now.icantbebothered ought to be getting tired of karma fortunes by now.icantbebothered ought to be getting tired of karma fortunes by now.icantbebothered ought to be getting tired of karma fortunes by now.icantbebothered ought to be getting tired of karma fortunes by now.icantbebothered ought to be getting tired of karma fortunes by now.icantbebothered ought to be getting tired of karma fortunes by now.icantbebothered ought to be getting tired of karma fortunes by now.icantbebothered ought to be getting tired of karma fortunes by now.
 
icantbebothered's Avatar
 
Posts: 1,017
Karma: 4742434
Join Date: Jul 2012
Device: Kindle Touch 5.3.2.1
Quote:
Originally Posted by twobob View Post
Good luck
I'll need it.
icantbebothered is offline   Reply With Quote
Old 08-30-2012, 09:21 AM   #182
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
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
sdl port would be cool

Quote:
Originally Posted by geekmaster View Post
They would even be easy to port to any OS that supports SDL (linux, mac, windows) instead of /dev/fb0. Or if you boot from DOS, you could write directly to the video RAM.
I vote for the sdl port *raises hand* I did dig through the code and hunt for places to ram in a system("eips '' && usleep 80000"); or two but with no success. perhaps you would one day find time to implement this.

http://opentom.org/LibSDL has an interesting solution to to problem - and I believe his solution supports TSlib also.

Anyways. get's my vote. That would also make PrBoom a reailty. which can be no bad thing. Cheers. Sorry I can't be more help.
twobob is offline   Reply With Quote
Advert
Old 08-30-2012, 11:54 PM   #183
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
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
using

Quote:
#!/bin/sh
#

# killall -stop cvm launchpad 2>$DN # use if running via Kite
killall -stop cvm # use if running via Launchpad
cd /mnt/us
. ./go
eips -c;
cd /mnt/us/usr/games
SDL_VIDEODRIVER=fbcon ./prboom > prboom.log
#./roms/"$(getkb)".g* 2>gnuboy.log
# killall -cont cvm launchpad 2>$DN # use if running via Kite
killall -cont cvm # use if running via Launchpad
I get.. via launchpad:

prboom v2.5.0 (http://prboom.sourceforge.net/)
I_SetAffinityMask: manual affinity mask is 1
Could not initialize SDL [Unable to open a console terminal]

ho hum
twobob is offline   Reply With Quote
Old 08-31-2012, 05:31 AM   #184
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
grep the source for that specific error message - see what the authors are trying to say by studying the conditions under which it could be printed.
knc1 is offline   Reply With Quote
Old 09-01-2012, 11:56 PM   #185
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
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:
Originally Posted by geekmaster View Post

Anyway, the point is that I am now playing a live High-definition stream (http://mirrorblender.top-ix.org/movi...8-surround.mp4) directly from the web server to my kindle, through a transcoder/proxy on my host PC.

transcode/proxy (2-up image 400x600) using ffmpeg installed with ubuntu apt-get:
PHP Code:
ffmpeg -i http://mirrorblender.top-ix.org/movies/sintel-2048-surround.mp4 \
 
-pix_fmt gray -vf transpose=-vcodec rawvideo -f rawvideo --s 600x400 - | \
 
raw2gmv nc -l 5555 
The link is no good anymore. anyone know any online mp4's??
twobob is offline   Reply With Quote
Advert
Old 09-02-2012, 12:46 AM   #186
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
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
root@kindle:video> ffmpeg -i ./pluto.avi -pix_fmt gray -r 15 -f rawvideo -s 800x600 -|./raw2gmv > output
Quote:
ffmpeg version 0.8.12, Copyright (c) 2000-2011 the FFmpeg developers
built on Sep 2 2012 03:36:07 with gcc 4.2.1
configuration: --enable-cross-compile --cross-prefix=/home/you/GIT/buildroot/output/host/usr/bin/arm-none-linux-gnueabi- --sysroot=/home/you/GIT/buildroot/output/host/usr/arm-unknown-linux-gnueabi/sysroot --host-cc=/usr/bin/gcc --arch=arm --target-os=linux --extra-cflags=-fPIC --enable-static --enable-shared --prefix=/usr --disable-avfilter --disable-doc --enable-gpl --enable-nonfree --enable-ffmpeg --enable-ffplay --enable-ffserver --enable-postproc --enable-swscale --enable-indevs --enable-outdevs --enable-pthreads --disable-zlib --enable-armv6 --enable-armvfp
libavutil 51. 9. 1 / 51. 9. 1
libavcodec 53. 8. 0 / 53. 8. 0
libavformat 53. 5. 0 / 53. 5. 0
libavdevice 53. 1. 1 / 53. 1. 1
libswscale 2. 0. 0 / 2. 0. 0
libpostproc 51. 2. 0 / 51. 2. 0
Input #0, avi, from './pluto.avi':
Metadata:
encoder : Lavf52.94.0
Duration: 00:00:55.01, start: 0.000000, bitrate: 1012 kb/s
Stream #0.0: Video: mpeg4, yuv420p, 320x234 [PAR 254:255 DAR 8128:5967], 24 tbr, 24 tbn, 24 tbc
Stream #0.1: Audio: mp2, 22050 Hz, stereo, s16, 64 kb/s
Output #0, rawvideo, to 'pipe:':
Metadata:
encoder : Lavf53.5.0
Stream #0.0: Video: rawvideo, gray, 800x600, q=2-31, 200 kb/s, 90k tbn, 15 tbc
Stream mapping:
Stream #0.0 -> #0.0
Press [q] to stop, [?] for help
frame= 826 fps= 3 q=0.0 Lsize= 387188kB time=00:00:55.06 bitrate=57600.0kbits/s dup=0 drop=493
video:387188kB audio:0kB global headers:0kB muxing overhead 0.000000%
root@kindle:video> cat output | ./video
717 frames in 108.4 secs = 6.6 FPS

Would be nice to get the audio stream in now...
Attached Thumbnails
Click image for larger version

Name:	ImageMagick: kindle.fb.pgm_033.png
Views:	259
Size:	29.5 KB
ID:	91680   Click image for larger version

Name:	ImageMagick: kindle.fb.pgm_034.png
Views:	260
Size:	26.5 KB
ID:	91681   Click image for larger version

Name:	ImageMagick: kindle.fb.pgm_035.png
Views:	259
Size:	22.8 KB
ID:	91682   Click image for larger version

Name:	ImageMagick: kindle.fb.pgm_036.png
Views:	247
Size:	19.6 KB
ID:	91683  
twobob is offline   Reply With Quote
Old 09-02-2012, 11:15 AM   #187
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
Quote:
Originally Posted by twobob View Post
The link is no good anymore. anyone know any online mp4's??
That link still works for me. I do not see why the blender project would have regional restrictions on their videos. Perhaps it was a temporary problem. Try again (or try a different mirror) and report back.

There are lots of mp4s in the "Moving Images" collection at archive.org (home of the "WayBackMachine").

Last edited by geekmaster; 09-02-2012 at 11:18 AM.
geekmaster is offline   Reply With Quote
Old 09-02-2012, 11:21 AM   #188
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
Quote:
Originally Posted by twobob View Post
root@kindle:video> ffmpeg -i ./pluto.avi -pix_fmt gray -r 15 -f rawvideo -s 800x600 -|./raw2gmv > output

root@kindle:video> cat output | ./video
717 frames in 108.4 secs = 6.6 FPS

Would be nice to get the audio stream in now...
You screenshots look like negative images. What happened there? Is it negative on the screen, or is that just in the framebuffer? Some of my eink driver code uses negative images and lets the eink controller invert it, so if your screen appears correct, you need to invert the framebuffer when you convert it to an image file.

Last edited by geekmaster; 09-02-2012 at 03:02 PM.
geekmaster is offline   Reply With Quote
Old 09-02-2012, 11:24 AM   #189
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by twobob View Post
The link is no good anymore. anyone know any online mp4's??
Thousands available here:
http://www.imdb.com/features/video/browse/

Which, with a bit of clicking will lead you to a page like this:
http://archive.org/details/fright_to_the_finish

And in the left side-bar, a selection of the media types available.
If one of those don't do it for you, then programs like VLC can transcode it for you.
knc1 is offline   Reply With Quote
Old 09-02-2012, 03:09 PM   #190
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
Quote:
Originally Posted by knc1 View Post
Thousands available here:
http://www.imdb.com/features/video/browse/

Which, with a bit of clicking will lead you to a page like this:
http://archive.org/details/fright_to_the_finish

And in the left side-bar, a selection of the media types available.
If one of those don't do it for you, then programs like VLC can transcode it for you.
The Moving Images collection at archive.org where you found that video has much more to offer, which you can browse by collections and categories.
geekmaster is offline   Reply With Quote
Old 09-02-2012, 05:25 PM   #191
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
I do not remember entering a competition.

Last edited by knc1; 09-02-2012 at 05:55 PM.
knc1 is offline   Reply With Quote
Old 09-02-2012, 06:07 PM   #192
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
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
ffmpeg -i http://archive.org/download/BunkerHi...kerllBunny.mp4 -pix_fmt gray -vf transpose=2 -vcodec rawvideo -f rawvideo -r 7.8 -y -s 600x800 - |./raw2gmv | nc -l 5555

was the magic formula for me.

Thanks for all the pointers, don't know why it failed before.
Attached Thumbnails
Click image for larger version

Name:	ImageMagick: kindle.fb.pgm_045.png
Views:	263
Size:	31.7 KB
ID:	91724   Click image for larger version

Name:	ImageMagick: kindle.fb.pgm_047.png
Views:	274
Size:	23.2 KB
ID:	91725   Click image for larger version

Name:	ImageMagick: kindle.fb.pgm_046.png
Views:	280
Size:	29.2 KB
ID:	91726   Click image for larger version

Name:	ImageMagick: kindle.fb.pgm_049.png
Views:	256
Size:	28.1 KB
ID:	91727   Click image for larger version

Name:	ImageMagick: kindle.fb.pgm_043.png
Views:	252
Size:	30.2 KB
ID:	91728   Click image for larger version

Name:	ImageMagick: kindle.fb.pgm_050.png
Views:	258
Size:	24.9 KB
ID:	91729   Click image for larger version

Name:	ImageMagick: kindle.fb.pgm_048.png
Views:	261
Size:	17.4 KB
ID:	91730   Click image for larger version

Name:	ImageMagick: kindle.fb.pgm_044.png
Views:	267
Size:	30.5 KB
ID:	91731   Click image for larger version

Name:	ImageMagick: kindle.fb.pgm_042.png
Views:	249
Size:	25.9 KB
ID:	91732  
twobob is offline   Reply With Quote
Old 09-02-2012, 07:04 PM   #193
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
Quote:
Originally Posted by twobob View Post
ffmpeg -i http://archive.org/download/BunkerHi...kerllBunny.mp4 -pix_fmt gray -vf transpose=2 -vcodec rawvideo -f rawvideo -r 7.8 -y -s 600x800 - |./raw2gmv | nc -l 5555

was the magic formula for me.

Thanks for all the pointers, don't know why it failed before.
I have been doing -r7.7, which is closer to the 130msec/frame that gmplay uses. Using -r7.8 will make it play slightly slower. That -r15 you used earlier is about half-speed, which works fine on the K5 (with an adjusted gmplay that can play faster), but a K3 cannot go that fast.

In fact, on a K4/K5, you do not need those "nc" commands -- you can do it all on one command line inside the K5. A K3 cannot do the conversion AND the playing at the same time because the eips call uses too much CPU time in a K3 (hence piping the dithered stream from a host PC for realtime streaming, or two-step conversion to a .gmv.gz file like those in the first post).

I see that the screenshots are the proper polarity now (not negative images).

You do not need to rotate (transpose) the image with ffmpeg because that is already done inside the raw2gmv (by swapping scan coordinates). Your aspect ration is messed up. Try removing the "transpose" parameter.

Last edited by geekmaster; 09-02-2012 at 07:06 PM.
geekmaster is offline   Reply With Quote
Old 09-20-2012, 09:34 AM   #194
ppoo
Connoisseur
ppoo writes the songs that make the whole world sing.ppoo writes the songs that make the whole world sing.ppoo writes the songs that make the whole world sing.ppoo writes the songs that make the whole world sing.ppoo writes the songs that make the whole world sing.ppoo writes the songs that make the whole world sing.ppoo writes the songs that make the whole world sing.ppoo writes the songs that make the whole world sing.ppoo writes the songs that make the whole world sing.ppoo writes the songs that make the whole world sing.ppoo writes the songs that make the whole world sing.
 
Posts: 56
Karma: 40393
Join Date: May 2012
Device: Kindle Touch
Error when compiling FFMpeg

I've tried to compile ffmpeg for KT and got error:
Code:
root@ppoo:/home/ppoo/Downloads/ffmpeg-0.11.2# ./configure --enable-cross-compile --cross-prefix=/root/x-tools/arm-cortex_a8-linux-gnueabi/arm-cortex_a8-linux-gnueabi/bin/ --sysroot=/root/x-tools/arm-cortex_a8-linux-gnueabi/arm-cortex_a8-linux-gnueabi/sysroot/ --target-os=linux --extra-cflags=-fPIC --enable-shared --prefix=/home/ppoo/Downloads/ffmpeg-0.11.2/test/ --disable-avfilter --disable-doc --enable-gpl --enable-nonfree --enable-ffmpeg --enable-ffplay --enable-ffserver --enable-postproc --enable-swscale --enable-indevs --enable-outdevs --enable-pthreads --disable-zlib --enable-armv6 --enable-neon --enable-static --arch=arm
/root/x-tools/arm-cortex_a8-linux-gnueabi/arm-cortex_a8-linux-gnueabi/bin/gcc is unable to create an executable file.
C compiler test failed.
( ./configure options same as twobob above)

And I ./cat config.log:
Code:
WARNING: /root/x-tools/arm-cortex_a8-linux-gnueabi/arm-cortex_a8-linux-gnueabi/bin/pkg-config not found, library detection may fail.
mktemp -u XXXXXX
AfNCfx
check_ld cc
check_cc
BEGIN /tmp/ffconf.W4y42Pqe.c
    1	int main(void){ return 0; }
END /tmp/ffconf.W4y42Pqe.c
/root/x-tools/arm-cortex_a8-linux-gnueabi/arm-cortex_a8-linux-gnueabi/bin/gcc --sysroot=/root/x-tools/arm-cortex_a8-linux-gnueabi/arm-cortex_a8-linux-gnueabi/sysroot/ -fPIC -c -o /tmp/ffconf.EReNrDbR.o /tmp/ffconf.W4y42Pqe.c
as: unrecognized option '-mcpu=cortex-a8'
C compiler test failed.
I follow here to build toolchain.

Last edited by ppoo; 09-20-2012 at 09:37 AM.
ppoo is offline   Reply With Quote
Old 09-20-2012, 10:08 AM   #195
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
That message is because configure is trying to run ARM compiled test code on a non-ARM machine.

Two possible solutions:
Install and use scratchbox2 (it is designed to solve exactly this problem).
or
Follow the Ubuntu model of defining a binfmt_misc entry to use qemu to run the arm code.

Your choice should in-part be guided by what Linux distribution you are using.
Some "just work" - others can be a real hassle to setup.

There is a third choice -
Pass the appropriate ac_* settings in the environment of configure to turn off the testing but that is a technical level beyond this forum.
knc1 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
Hacks free kindle video player geekmaster Amazon Kindle 0 05-07-2012 12:17 AM
Video Player wilbrich Kobo Tablets 1 11-24-2011 02:40 PM
Video player, Video streaming,Remote mint121 enTourage eDGe 1 11-18-2011 03:31 PM
Frustrated with the video player TonyToews Kobo Tablets 10 11-01-2011 01:15 PM


All times are GMT -4. The time now is 01:33 PM.


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