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, 12: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: 5,143
Karma: 5328985
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|Ematic E6+E8|Rooted Nook Touch|NO K2!!
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
__________________
Audiophile and electron bully.
My tunes (for free) soundcloud.com/twobob. DONATE TO KUAL BY CLICKING THIS SIMPLE LINK
Kung-Fu. Hard work over time to accomplish skill. A painter can have kung-fu... The musician can have kung-fu, or the poet who paints pictures with words and makes emperors weep. This, too, is kung-fu. Formless, nameless, the true master dwells within. Only you can free him.
The album I'm headlining on at the moment: s.beatport.com/OCp9dT - FREE: 2012 Award winning set

Last edited by twobob; 11-27-2012 at 12: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, 12:48 PM   #2
knc1
Embedded Cheerleader
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: 4,134
Karma: 3854695
Join Date: Feb 2012
Device: Intel 4004
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.
__________________
"Hack is just a four letter word." - - With apologies to B. Dylan
knc1 is offline   Reply With Quote
 
Enthusiast
Old 11-27-2012, 01: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: 5,143
Karma: 5328985
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|Ematic E6+E8|Rooted Nook Touch|NO K2!!
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
__________________
Audiophile and electron bully.
My tunes (for free) soundcloud.com/twobob. DONATE TO KUAL BY CLICKING THIS SIMPLE LINK
Kung-Fu. Hard work over time to accomplish skill. A painter can have kung-fu... The musician can have kung-fu, or the poet who paints pictures with words and makes emperors weep. This, too, is kung-fu. Formless, nameless, the true master dwells within. Only you can free him.
The album I'm headlining on at the moment: s.beatport.com/OCp9dT - FREE: 2012 Award winning set
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 09:41 PM
'NoneType' object has no attribute 'tag'? gweminence Calibre 7 09-13-2011 10:03 AM
Line' object has no attribute 'children mazzeltjes Calibre 0 02-12-2010 09:30 AM
'list' object has no attribute 'add_book' etc. mazzeltjes Calibre 1 12-26-2008 01:12 PM
'list' object has no attribute 'add_book' drmathprog Calibre 2 11-13-2008 04:52 PM


All times are GMT -4. The time now is 05:20 PM.


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