supplierdeeply

IXUS107IS

  • 13 Replies
  • 2033 Views
Re: IXUS107IS
« Reply #10 on: 26 / April / 2012, 20:08:54 »
Advertisements
To c10ud:
I think the branch misses the platform_camera.h.
Which one shall I take?
I copied ixu120's just to continue....

and I got this.

>> Entering to core/modules
../module_exportlist.c -> exportlist
-> fselect.flt
In file fselect.elf:
 point not to the __div0. Something unusual.

*

Offline reyalp

  • ******
  • 10069
Re: IXUS107IS
« Reply #11 on: 27 / April / 2012, 00:01:39 »
To c10ud:
I think the branch misses the platform_camera.h.
Which one shall I take?
I copied ixu120's just to continue....

and I got this.

>> Entering to core/modules
../module_exportlist.c -> exportlist
-> fselect.flt
In file fselect.elf:
 point not to the __div0. Something unusual.
Some discussion of this issue here: http://chdk.setepontos.com/index.php?topic=8000.0
It appears to be a toolchain problem of some kind.
Don't forget what the H stands for.

*

Offline c10ud

  • ***
  • 244
Re: IXUS107IS
« Reply #12 on: 27 / April / 2012, 07:54:12 »
To c10ud:
I think the branch misses the platform_camera.h.
Which one shall I take?
Whoops sorry, added in the next commit.
Anyway, you can start from one but your camera will differ especially depending on features you implement.
Also some values are retrieved by finsig directly. (e.g. dryos version, etc.)

Re: IXUS107IS
« Reply #13 on: 06 / May / 2012, 12:22:02 »
not able to complie gcc 3.4.6!!!

I ran
Code: [Select]
(cd gcc-3.4.6 && patch -p0 < ${CHDK}/tools/patches/gcc-3.4-arm.diff)
mkdir gcc-3.4.6-arm-elf && cd gcc-3.4.6-arm-elf
../gcc-3.4.6/configure --srcdir=../gcc-3.4.6 --target=arm-elf \
    --enable-multilib --enable-languages=c --enable-clocale=gnu \
    --disable-libm --disable-libc --disable-threads \
    --disable-nls --disable-libssp --disable-intl --disable-libiberty \
    --with-newlib --prefix=${ARMELF}
 (unset LIBRARY_PATH; unset CFLAGS; make -j 3 && make install)

and obtained:

Code: [Select]
In file included from /usr/include/fcntl.h:252:0,
                 from ../../gcc-3.4.6/gcc/system.h:214,
                 from ../../gcc-3.4.6/gcc/collect2.c:30:
In function ‘open’,
    inlined from ‘collect_execute’ at ../../gcc-3.4.6/gcc/collect2.c:1537:20:
/usr/include/i386-linux-gnu/bits/fcntl2.h:51:24: error: call to ‘__open_missing_mode’ declared with attribute error: open with O_CREAT in second argument needs 3 arguments

No idea on how to proceed....