[aravis] Re: aravis on ARM

  • From: Nial Peters <nonbiostudent@xxxxxxxxxxx>
  • To: <aravis@xxxxxxxxxxxxx>
  • Date: Thu, 12 Jul 2012 13:59:17 +0000

Hi Emmanuel,

Yes it is a bit of a puzzle isn't it! Thanks a lot for all your help - I really 
appreciate it. 

I'll have a go at doing some more debugging on the arvzip.c code on my ARM 
board and see what I can come up with.

Cheers
Nial

> Subject: [aravis] Re: aravis on ARM
> From: emmanuel@xxxxxxxxx
> To: aravis@xxxxxxxxxxxxx
> Date: Thu, 12 Jul 2012 15:09:56 +0200
> 
> Hi,
> 
> Le mercredi 11 juillet 2012 à 10:40 +0000, Nial Peters a écrit :
> 
> > root@phidgetsbc:~# ./endian 
> > 0x000004d2
> > Little endian
> > from be = 0x78563412
> > from le = 0x12345678
> > from be = 0x3412
> > from le = 0x1234
> > guint32 from le_ptr = 0x88776655
> > guint16 from le_ptr = 0xaa99
> > root@phidgetsbc:~#
> 
> I'm running out of ideas. I fail to see what is going wrong.
> 
> Data read from the camera are fine.
> The code use to get integers from the zip file is working correctly.
> 
> Nevertheless, the number of files found in the zipped data is wrong. The
> debug output indicates 256 while it should return 1 (0x0100 is 0x0001 as
> 16 bit value read in the wrong endianess).
> 
> The next step is to run gdb or insert some printf statements in the
> code. Could you try this by yourself ?
> 
> The code in arvzip.c is relatively simple, and the zip file format is
> described here:
> 
> http://www.pkware.com/documents/casestudies/APPNOTE.TXT
> 
>       Emmanuel.
> 
> 
> 
> 
> 
                                          

Other related posts: