Author Topic: iTunes Browsing -- arm alignment issues  (Read 2328 times)

jh

  • Full Member
  • ***
  • Posts: 115
    • View Profile
    • http://
iTunes Browsing -- arm alignment issues
« on: April 29, 2004, 04:30:56 pm »
Hi folks,

So I thought I\'d see if I could get libopendaap to compile for the Z (it\'s a library that allows you to browse iTunes shares).

Being the OE fan that I am, I hacked up a quick .oe and retrieved the source, ran configure, and started compiling.  However, the clever libopendaap folks have put in a compile-time check for correct struct alignment which fails for arm-linux-gcc (version 3.4).

I\'m not too familiar with the ARM alignment requirements... is it something that can be forced (i.e., don\'t auto-align), or is it something i\'d have to work around in the code?  The structs are for the network packets.  

Anyone have suggestions on what to try?  I\'ll paste the .oe below...

jason

Code: [Select]
DESCRIPTION = "iTunes protocol"                                                                                                                                                                                                        

SECTION = "base"                                                                                                                                                                                                                        

PRIORITY = "optional"                                                                                                                                                                                                                    

MAINTAINER = ""                                                                                                                                                                                                                          

LICENSE = "GPL"                                                                                                                                                                                                                          

RDEPENDS =""                                                                                                                                                                                              

DEPENDS = "virtual/libc"                                                                                                                                                                                                        

                                                                                                                                                                                                                                        

SRC_URI = "http://craz.net/programs/itunes/files/libopendaap-0.2.0.tar.bz2"                                                                                                                                                              

                                                                                                                                                                                                                                        

inherit autotools