![]() |
#136 | |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,586
Karma: 6299993
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:
|
|
![]() |
![]() |
![]() |
#137 | |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,586
Karma: 6299993
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:
Code:
twobob@dev ~/BLDS/system-image-armv6l $ \ /opt/qemu111/bin/qemu-system-arm --version /opt/qemu111/bin/qemu-system-arm: error while loading shared libraries: libjpeg.so.62: cannot open shared object file: No such file or directory I'll do the full build myself again - this time for 32 bit mint - and see how I go ![]() Extra info: twobob@dev ~/BLDS/system-image-armv6l $ find /usr -name libjpeg* /usr/lib/gthumb/extensions/libjpeg_utils.so /usr/lib/i386-linux-gnu/libjpeg.so.8.0.2 /usr/lib/i386-linux-gnu/libjpeg.so.8 /usr/lib/jvm/java-6-openjdk-i386/jre/lib/i386/libjpeg.so Last edited by twobob; 08-08-2012 at 09:04 AM. Reason: formattery |
|
![]() |
![]() |
Advert | |
|
![]() |
#138 |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Try installing (apt-get install libjpeg62) the libjpeg libraries first.
Your newer version of Linux-Mint may not have them installed (or have libjpeg8 installed). That post __was__ built on 32bit Linux-Mint. Last edited by knc1; 08-08-2012 at 09:03 AM. |
![]() |
![]() |
![]() |
#139 | |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,586
Karma: 6299993
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
|
In search of the Grayul
Quote:
kk. Installing the libs now. Thanks for the heads up. No doubt there is some supremely easy and well documented way of just knowing these things. The Howto HolyGrail : D As you suspected: Not installed Code:
After this operation, 229 kB of additional disk space will be used. Get:1 http://archive.ubuntu.com/ubuntu/ precise/main libjpeg62 i386 6b1-2ubuntu1 [87.0 kB] Fetched 87.0 kB in 0s (270 kB/s) Selecting previously unselected package libjpeg62. (Reading database ... 227850 files and directories currently installed.) Unpacking libjpeg62 (from .../libjpeg62_6b1-2ubuntu1_i386.deb) ... blah de blah... Last edited by twobob; 08-08-2012 at 10:01 AM. Reason: added confirmation |
|
![]() |
![]() |
![]() |
#140 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,586
Karma: 6299993
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
|
Sweeeet
Code:
twobob@dev ~/BLDS/system-image-armv6l $ \ /opt/qemu111/bin/qemu-system-arm --version QEMU emulator version 1.1.1, Copyright (c) 2003-2008 Fabrice Bellard |
![]() |
![]() |
Advert | |
|
![]() |
#141 | |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,586
Karma: 6299993
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
|
Emu a gogo
Quote:
hmm. /dev/dsp... student excerise... : ) The working Emu initial Outies: Spoiler:
|
|
![]() |
![]() |
![]() |
#142 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,586
Karma: 6299993
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
|
How to fix an inode error for dummies
Whoopsie.
Code:
EXT4-fs error (device sdb): ext4_lookup:1044: inode #2: comm ls: deleted inode referenced: 15 ls: ./xz504-static-arm.tar.gz: Input/output error Spoiler:
EXT4-fs (sdb): warning: mounting fs with errors, running e2fsck is recommended EXT4-fs (sdb): recovery complete EXT4-fs (sdb): mounted filesystem with ordered data mode. Opts: (null) Not using distcc. Heh, running e2fsck, any ideas, I'm struggling to conceptualise the device. EDIT: Simply point it at the file... twobob@dev ~/BLDS/system-image-armv6l $ e2fsck -v hdb.img Spoiler:
Sorted. Last edited by twobob; 08-08-2012 at 01:15 PM. Reason: Sorted it. |
![]() |
![]() |
![]() |
#143 |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
This note is about x86 (32bit) **native** compiles, but since it effects things being built for posting in this thread . . .
The Ubuntu gcc: 'Ubuntu/Linaro 4.6.1-9ubuntu3' Has one bug and one configuration option incorrect. The bug: Is in the author's source code, not in the compiler. The configuration error: The notation: -L/search/path/ is **supposed** to be put first on the library search paths, before the built-in search paths . . . It is not - it is being put **second** - after the first path to the multi-lib/multi-arch library path. Hmm... Which is probably why all of the trouble getting 32bit stuff to run on a 64bit install (it **should** just work - if the compiler wasn't hosed up). The work-around for that depends on what your trying to build. For what I am building at the moment, (against libusb), removing the libusb* files from: /lib/i386-linux-gnu/ So that both the loader and the linker find the ones in /usr/local/lib first may have done the job - until the package manager finds the installed packages "broken" the next time it tries to update libusb* ![]() Last edited by knc1; 08-09-2012 at 06:53 AM. |
![]() |
![]() |
![]() |
#144 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,586
Karma: 6299993
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
|
So I'm working on porting ncurses:
Code:
cd (armv6l:1) wget: http://ftp.gnu.org/pub/gnu/ncurses/ncurses-5.9.tar.gz (armv6l:1) tar -xvf ncurses-5.9.tar.gz (armv6l:1) cd ncurses-5.9 (armv6l:1) /home/ncurses-5.9 # ANNOUNCE c++ lib AUTHORS config.guess man Ada95 config.log menu INSTALL config.status misc MANIFEST config.sub mk-0th.awk Makefile configure mk-1st.awk Makefile.in configure.in mk-2nd.awk Makefile.os2 convert_configure.pl mk-dlls.sh.in NEWS dist.mk mk-hdr.awk README doc ncurses README.MinGW edit_man.sh obj_g README.emx form objects TO-DO headers.sh panel aclocal.m4 include progs announce.html.in install-sh test Code:
** Configuration summary for NCURSES 5.9 20110404: extended funcs: yes xterm terminfo: xterm-new bin directory: /usr/bin lib directory: /usr/lib include directory: /usr/include man directory: /usr/man terminfo directory: /usr/share/terminfo Last edited by twobob; 08-08-2012 at 01:56 PM. Reason: added conf outy |
![]() |
![]() |
![]() |
#145 | |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,586
Karma: 6299993
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
|
^this
Quote:
|
|
![]() |
![]() |
![]() |
#146 |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
You got it correct - use a:
--prefix=/home option to configure for running in the emulator (/home is the only place you can write) use a: --prefix=/mnt/us option to configure for running in the Kindle. When doing the "make install" step - mkdir /home/<something> DESTDIR=/home/<something> make install Then cd to /home/<something> and create a tar-ball of everything below it (for un-packing into /mnt/us) as in: tar -czf something.tar.gz . notice the trailing "space dot" in that command |
![]() |
![]() |
![]() |
#147 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,586
Karma: 6299993
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
|
Bloody hell, I suppose I had to eventually, just by sheer force of numbers
![]() ** Configuration summary for NCURSES 5.9 20110404: extended funcs: yes xterm terminfo: xterm-new bin directory: /home/bin lib directory: /home/lib include directory: /home/include/ncurses man directory: /home/man terminfo directory: /home/share/terminfo ** Include-directory is not in a standard location |
![]() |
![]() |
![]() |
#148 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,586
Karma: 6299993
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 have a stupid question.
Other than the RW problem What's to prevent mkdir /mnt/us; ln -s mnt/us ~/ (or something) to stop the extra /home || mnt/us faffing in the future. Or is that a stupid question? |
![]() |
![]() |
![]() |
#149 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@twobob: Check my ncurses stage (or a Gentoo ebuild) if you want to preserve ABI compatiblity with previous ncurses version (5.4), there's a bunch of flags to pass to configure to avoid mismatch in data types. Not sure which version of ncurses the K3 bundles, so it might not be critical (it might even be counter productive, depending on how the Kindle's ncurses was built), but I always build ncurses that way, just to be safe
![]() In fact, checking the Gentoo ebuild and configure --help are the two things I usually do first when trying to x-compile something new ![]() @twobob/knc1: You probably only really need to use a staged /mnt/us as the autotools prefix in very few cases, when stuff actually hardcode paths (OpenSSH, I'm looking at you), or inject an rpath at the linking stage. Last edited by NiLuJe; 08-08-2012 at 02:46 PM. |
![]() |
![]() |
![]() |
#150 | |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
Nothing. But the "DESTDIR= ..." thing allows you to build archives that can be directly unpacked into /mnt/us from per-package top directories. If you directly install the /mnt/us (however you get it to be present), then once you build your second package, you have to start sorting out the various package parts from /mnt/us/* - - - - Sometimes, when BOPC (building other people's code) you have to enter into a Zen-like trance and try to channel into the author's mind with a: "What the p... where you thinking when ...." . ![]() - - - - Yup, I agree. You haven't asked yet, but we most probably need to build our own version of a rootfs rather than use Rob's idea of a rootfs. |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Accessories DIY KT Case | echo013 | Amazon Kindle | 2 | 01-27-2012 06:53 PM |
DIY Stylus | scottjl | Apple Devices | 3 | 05-10-2010 01:52 AM |
DIY Scanner | Eratosthenes | News | 14 | 04-16-2010 04:21 PM |
DIY Idea | sřrensundsans | Sony Reader | 6 | 01-26-2010 01:25 AM |
DIY stylus | -Thomas- | iRex | 5 | 02-12-2009 12:05 PM |