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 11-27-2012, 01:39 PM   #1
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,552
Karma: 6021146
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
Alsa lib: Unknown EABI object attribute 44

I know this has been covered before. (I just looked up a few of the threads.)

But I don't see any reference to this so...

when I build alsa-lib I get a warning about Unknown EABI object attribute 44

And when I use the resulting libsound.a I get errors (saying similar things about the EABI)

arm-none-linux-gnueabi-gcc -march=armv6j -mtune=arm1136jf-s -mfpu=vfp --sysroot=/arm -Wall -Wno-implicit -Wno-long-long -fstrength-reduce -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -frerun-cse-after-loop -O2 -ffast-math -pipe -fPIC -s lcd.o refresh.o lcdc.o palette.o cpu.o mem.o rtc.o hw.o sound.o events.o keytable.o loader.o save.o debug.o emu.o main.o rccmds.o rckeys.o rcvars.o rcfile.o exports.o split.o path.o inflate.o sys/nix/nix.o sys/fbdev/fbdev.o sys/linux/kindleinput.o sys/alsa/alsa.o -o fbgnuboy -lasound

Code:
/arm/usr/lib/libasound.a(pcm_dshare.o): In function `snd_pcm_dshare_start_timer':
pcm_dshare.c:(.text+0x108): warning: 
/opt/arm-2007q3/bin/../lib/gcc/arm-none-linux-gnueabi/4.2.1/../../../../arm-none-linux-gnueabi/bin/ld: Warning: /arm/usr/lib/libasound.a(timer_symbols.o): Unknown EABI object attribute 44
the TC is the 2007q3 CodeSourcery one.

So I guess I am asking for some pointers on figuring out these types of errors

(the alsa lib ver is /usr/local/src/alsa-lib-1.0.25/src)

thanks

Last edited by twobob; 11-27-2012 at 01:42 PM. Reason: And when I use the resulting libsound.a I get errors (saying similar things about the EABI)
twobob is offline   Reply With Quote
Old 11-27-2012, 01:48 PM   #2
knc1
Helpdesk Junkie
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: 7,031
Karma: 6359394
Join Date: Feb 2012
Device: Too many.
Quote:
Originally Posted by twobob View Post
I know this has been covered before. (I just looked up a few of the threads.)

But I don't see any reference to this so...

when I build alsa-lib I get a warning about Unknown EABI object attribute 44

And when I use the resulting libsound.a I get errors (saying similar things about the EABI)

arm-none-linux-gnueabi-gcc -march=armv6j -mtune=arm1136jf-s -mfpu=vfp --sysroot=/arm -Wall -Wno-implicit -Wno-long-long -fstrength-reduce -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -frerun-cse-after-loop -O2 -ffast-math -pipe -fPIC -s lcd.o refresh.o lcdc.o palette.o cpu.o mem.o rtc.o hw.o sound.o events.o keytable.o loader.o save.o debug.o emu.o main.o rccmds.o rckeys.o rcvars.o rcfile.o exports.o split.o path.o inflate.o sys/nix/nix.o sys/fbdev/fbdev.o sys/linux/kindleinput.o sys/alsa/alsa.o -o fbgnuboy -lasound

Code:
/arm/usr/lib/libasound.a(pcm_dshare.o): In function `snd_pcm_dshare_start_timer':
pcm_dshare.c:(.text+0x108): warning: 
/opt/arm-2007q3/bin/../lib/gcc/arm-none-linux-gnueabi/4.2.1/../../../../arm-none-linux-gnueabi/bin/ld: Warning: /arm/usr/lib/libasound.a(timer_symbols.o): Unknown EABI object attribute 44
the TC is the 2007q3 CodeSourcery one.

So I guess I am asking for some pointers on figuring out these types of errors

(the alsa lib ver is /usr/local/src/alsa-lib-1.0.25/src)

thanks
I would first suspect that your binutils version is too old.
You should be able to update just those without re-building the compiler itself.
knc1 is online now   Reply With Quote
Old 11-27-2012, 02:18 PM   #3
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,552
Karma: 6021146
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
okay I will do it via debian then. thanks:

vi /etc/apt/sources.list
apt-get install emdebian-archive-keyring
Install ARM cross compilation tools:

apt-get update
apt-get install build-essential

apt-get install linux-libc-dev-armel-cross libc6-armel-cross libc6-dev-armel-cross binutils-arm-linux-gnueabi gcc-4.3-arm-linux-gnueabi g++-4.3-arm-linux-gnueabi gdb-arm-linux-gnueabi uboot-mkimage
Compile the sources:

Prepare the build directory that will contain the ARM binaries:

cd src/
mkdir build
Download, configure and compile the alsa library[2]:

wget ftp://ftp.alsa-project.org/pub/lib/a...1.0.25.tar.bz2
tar xzf alsa-lib-1.0.25.tar.bz2
cd alsa-lib-1.0.25
CC=arm-linux-gnueabi-gcc ./configure --target=arm-linux --host=i686-linux --prefix=/
make
make install DESTDIR=/usr/arm-linux-gnueabi/
make install DESTDIR=$(pwd)/../build
twobob is offline   Reply With Quote
Reply

Tags
alsa, compiling, errors, kindle 3, lib

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
'NoneType' object has no attribute '__getitem__' Steven630 Recipes 2 07-18-2012 10:41 PM
'NoneType' object has no attribute 'tag'? gweminence Calibre 7 09-13-2011 11:03 AM
Line' object has no attribute 'children mazzeltjes Calibre 0 02-12-2010 10:30 AM
'list' object has no attribute 'add_book' etc. mazzeltjes Calibre 1 12-26-2008 02:12 PM
'list' object has no attribute 'add_book' drmathprog Calibre 2 11-13-2008 05:52 PM


All times are GMT -4. The time now is 02:44 PM.


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