Error while compiling ixus860_sd870 - General Discussion and Assistance - CHDK Forum supplierdeeply

Error while compiling ixus860_sd870

  • 3 Replies
  • 1530 Views
Error while compiling ixus860_sd870
« on: 05 / July / 2009, 10:42:39 »
Advertisements
Hello everybody,

I created the compiling environment on my WindowsXP PC like described under

http://chdk.wikia.com/wiki/Compiling_CHDK_under_Windows#The_environment

Then I tried my first compilation using gmake fir and it finally comes up with a DISKBOOT.BIN.
This makes me believe the environment is setup well and is working.
Then I tried to compile for my IXUS 860 (gmake PLATFORM=ixus860_sd870 PLATFORMSUB=100c)
but during compilation I get following error:

...
gui.c -> gui.o
-> main.elf
conf.o: In function `conf_change_alt_mode_button':
conf.c:(.text+0x1fe): undefined reference to `kbd_set_alt_mode_key_mask'
collect2: ld returned 1 exit status
D:\CHDK\GCC\BIN\gmake[1]: *** [main.elf] Error 1
gmake: *** [all-recursive] Error 1

What can I do now to get a working DISKBOOT.BIN for my IXUS 860?
2 x IXUS 860IS 100c
2 x Powershot S110 103a

*

Offline whim

  • ******
  • 2022
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: Error while compiling ixus860_sd870
« Reply #1 on: 05 / July / 2009, 11:50:12 »
@mr.burns

try CHDK-Shell: http://chdk.wikia.com/wiki/CHDK-Shell

Downloading  the full version should get you a GCC 4.3.3 that is fully compatible.


hth,

wim

Re: Error while compiling ixus860_sd870
« Reply #2 on: 05 / July / 2009, 12:36:51 »
during compilation I get following error:

Compiles fine on my old Windows XP pre-built environment (after I creat a folder BIN).

That function (in \core\gui.c) is only seen by the compiler if CAM_ADJUSTABLE_ALT_BUTTON is defined in \include\camera.h, which it should not be for the ixus860

OR, it should be but the ixus860 is not included in the list of applicable cameras in gui.c.


David

Re: Error while compiling ixus860_sd870
« Reply #3 on: 05 / July / 2009, 13:26:41 »
Hi guys,

thanks for reply, I just commented the lines if CAM_ADJUSTABLE_ALT_BUTTON ...
and then it worked fine!

Thanks anyway!
2 x IXUS 860IS 100c
2 x Powershot S110 103a


 

Related Topics