Hi all,
I'm trying to compile the latest svn "trunk" chdk on OSX for the IXUS100 for a special near space ballooning project but I'm having some troubles, make you can help me. The image for the IXUS100 fails to compile with the following errors. Others compile fine. Here:
[...]
gui.c -> gui.o
-> main.elf
[...]
/opt/local/lib/gcc/arm-elf/4.3.2/../../../../arm-elf/bin/ld: Warning: /opt/local/lib/gcc/arm-elf/4.3.2/thumb/libgcc.a(_fixunssfsi.o) does not support interworking, whereas main.elf does
/opt/local/lib/gcc/arm-elf/4.3.2/../../../../arm-elf/bin/ld: /opt/local/lib/gcc/arm-elf/4.3.2/thumb/libgcc.a(_divsi3.o)(__divsi3): warning: interworking not enabled.
first occurrence: ../platform/ixus100_sd780/libplatform.a(main.o): arm call to thumb
/opt/local/lib/gcc/arm-elf/4.3.2/../../../../arm-elf/bin/ld: /opt/local/lib/gcc/arm-elf/4.3.2/thumb/libgcc.a(_addsubdf3.o)(__floatsidf): warning: interworking not enabled.
first occurrence: ../platform/ixus100_sd780/libplatform.a(wrappers.o): arm call to thumb
/opt/local/lib/gcc/arm-elf/4.3.2/../../../../arm-elf/bin/ld: /opt/local/lib/gcc/arm-elf/4.3.2/thumb/libgcc.a(_muldivdf3.o)(__divdf3): warning: interworking not enabled.
first occurrence: ../platform/ixus100_sd780/libplatform.a(wrappers.o): arm call to thumb
/opt/local/lib/gcc/arm-elf/4.3.2/../../../../arm-elf/bin/ld: /opt/local/lib/gcc/arm-elf/4.3.2/thumb/libgcc.a(_muldivdf3.o)(__muldf3): warning: interworking not enabled.
first occurrence: ../platform/ixus100_sd780/libplatform.a(wrappers.o): arm call to thumb
/opt/local/lib/gcc/arm-elf/4.3.2/../../../../arm-elf/bin/ld: /opt/local/lib/gcc/arm-elf/4.3.2/thumb/libgcc.a(_fixdfsi.o)(__fixdfsi): warning: interworking not enabled.
first occurrence: ../platform/ixus100_sd780/libplatform.a(wrappers.o): arm call to thumb
/opt/local/lib/gcc/arm-elf/4.3.2/../../../../arm-elf/bin/ld: /opt/local/lib/gcc/arm-elf/4.3.2/thumb/libgcc.a(_udivsi3.o)(__udivsi3): warning: interworking not enabled.
first occurrence: ../platform/ixus100_sd780/libplatform.a(wrappers.o): arm call to thumb
../platform/ixus100_sd780/libplatform.a(kbd.o): In function `save_rom_log':
kbd.c:(.text+0x24): undefined reference to `no symbol'
/opt/local/lib/gcc/arm-elf/4.3.2/../../../../arm-elf/bin/ld: /opt/local/lib/gcc/arm-elf/4.3.2/thumb/libgcc.a(_addsubsf3.o)(__floatsisf): warning: interworking not enabled.
first occurrence: ../platform/ixus100_sd780/libplatform.a(shooting.o): arm call to thumb
/opt/local/lib/gcc/arm-elf/4.3.2/../../../../arm-elf/bin/ld: /opt/local/lib/gcc/arm-elf/4.3.2/thumb/libgcc.a(_muldivsf3.o)(__mulsf3): warning: interworking not enabled.
first occurrence: ../platform/ixus100_sd780/libplatform.a(shooting.o): arm call to thumb
/opt/local/lib/gcc/arm-elf/4.3.2/../../../../arm-elf/bin/ld: /opt/local/lib/gcc/arm-elf/4.3.2/thumb/libgcc.a(_cmpsf2.o)(__gtsf2): warning: interworking not enabled.
first occurrence: ../platform/ixus100_sd780/libplatform.a(shooting.o): arm call to thumb
/opt/local/lib/gcc/arm-elf/4.3.2/../../../../arm-elf/bin/ld: /opt/local/lib/gcc/arm-elf/4.3.2/thumb/libgcc.a(_muldivsf3.o)(__divsf3): warning: interworking not enabled.
first occurrence: ../platform/ixus100_sd780/libplatform.a(shooting.o): arm call to thumb
/opt/local/lib/gcc/arm-elf/4.3.2/../../../../arm-elf/bin/ld: /opt/local/lib/gcc/arm-elf/4.3.2/thumb/libgcc.a(_addsubdf3.o)(__extendsfdf2): warning: interworking not enabled.
first occurrence: ../platform/ixus100_sd780/libplatform.a(shooting.o): arm call to thumb
/opt/local/lib/gcc/arm-elf/4.3.2/../../../../arm-elf/bin/ld: /opt/local/lib/gcc/arm-elf/4.3.2/thumb/libgcc.a(_truncdfsf2.o)(__truncdfsf2): warning: interworking not enabled.
first occurrence: ../platform/ixus100_sd780/libplatform.a(shooting.o): arm call to thumb
/opt/local/lib/gcc/arm-elf/4.3.2/../../../../arm-elf/bin/ld: /opt/local/lib/gcc/arm-elf/4.3.2/thumb/libgcc.a(_addsubdf3.o)(__adddf3): warning: interworking not enabled.
first occurrence: ../platform/ixus100_sd780/libplatform.a(shooting.o): arm call to thumb
/opt/local/lib/gcc/arm-elf/4.3.2/../../../../arm-elf/bin/ld: /opt/local/lib/gcc/arm-elf/4.3.2/thumb/libgcc.a(_fixsfsi.o)(__fixsfsi): warning: interworking not enabled.
first occurrence: ../platform/ixus100_sd780/libplatform.a(shooting.o): arm call to thumb
../platform/ixus100_sd780/sub/100c/libplatformsub.a(capt_seq.o): In function `loc_FF899D30':
capt_seq.c:(.text+0x718): undefined reference to `no symbol'
../platform/ixus100_sd780/sub/100c/libplatformsub.a(capt_seq.o): In function `loc_FF899E10':
capt_seq.c:(.text+0x7d8): undefined reference to `no symbol'
../platform/ixus100_sd780/sub/100c/libplatformsub.a(capt_seq.o): In function `loc_FF8976E8':
capt_seq.c:(.text+0xd4c): undefined reference to `no symbol'
../platform/ixus100_sd780/sub/100c/libplatformsub.a(capt_seq.o): In function `loc_FF897740':
capt_seq.c:(.text+0xd78): undefined reference to `no symbol'
../platform/ixus100_sd780/sub/100c/libplatformsub.a(capt_seq.o):capt_seq.c:(.text+0xd9c): more undefined references to `no symbol' follow
collect2: ld returned 1 exit status
make[1]: *** [main.elf] Error 1
make: *** [all-recursive] Error 1
root@mbpcelso:trunk(r885 *) #
I using the right tools, gcc-mp-4.3 and arm-elf-gcc-4.3.2 compiled from macports as suggested here
http://chdk.wikia.com/wiki/Compiling_CHDK_under_Mac_OS_XAlso, I searched and searched for an answer with no luck.
Also, do you think that these patches to add mode dial support
http://www.zenoshrdlu.com/kapstuff/zchdk.html could be applied to the IXUS100 or is there a h/w limitation in the camera that you're aware?
Many thanks in advance for any help.