You mean there was no #define for
SX20 at all ? If that's the case, you need to make one, and you need to use that as your platform when you are compiling.
CONF_INFO(235, conf.dng_usb_ext, CONF_DEF_VALUE, i:0, conf_change_dng_ext),
and that solved the compilation issue, can anyone advice if that can give any issue to the CHDK port?.
This is not the correct solution. conf_change_dng_ext is a function pointer. If you look at the function,
void conf_change_dng_ext(void){
#if defined (DNG_EXT_FROM)
save_ext_for_dng();
if (conf.dng_usb_ext) change_ext_to_dng(); else change_ext_to_default();
#endif
}
You can see that it does nothing unless DNG_EXT_FROM is defined, and it should not be defined for your camera unless you've found the required pointers (which, as I said earlier, probably don't exist at all on your camera). Since it is defined, this means that your camera.h is not set up correctly, or you are not building with the correct PLATFORM set.
[/quote]
I actually working correcting the stubs_entry. is there any updated information about this procedure which is not in For developers CHDK wiki? I found it very useful but looks a bit out-dated
[/quote]
http://chdk.wikia.com/wiki/Adding_support_for_a_new_camera is not out dated.
Here's some discussion of how to find functions
https://chdk.setepontos.com/d/4228/27 and following.