Friendly Coders:
I have set up a gcc-4.3.3. environment on Ubuntu 8.10 as described in the web page:
http://chdk.wikia.com/wiki/Gcc433I really want to compile for the A1000IS, but to check out the environment I started with "close" relatives, the ixus80_sd1100 and the ixus860_sd870. I use the CHDK source from 4/7/09.
First, I am getting the error:
Error: selected processor does not support `strd r0,[sp,#32]'
only on the ixus80. I can fix this error by replacing line 259 in makefile.inc
CFLAGS+=-mtune=arm946e-s
by
CFLAGS+=-mcpu=arm946e-s
Then, I can "almost" finish the compilation, but I get the error:
ERROR! There are unresolved addresses in 'stubs_entry.S' (ixus80_sd1100-101a) for the following names:
AllocateMemory
AllocateUncacheableMemory
Close
CreateTask
DeleteFile_Fut
EnterToCompensationEVF
ExecuteEventProcedure
ExitFromCompensationEVF
ExitTask
Fclose_Fut
Fflush_Fut
Fgets_Fut
Fopen_Fut
Fread_Fut
FreeMemory
FreeUncacheableMemory
Fseek_Fut
Fwrite_Fut
GetBatteryTemperature
GetCCDTemperature
GetCurrentAvValue
GetCurrentTargetDistance
GetDrive_ClusterSize
GetDrive_FreeClusters
GetDrive_TotalClusters
GetFocusLensSubjectDistance
GetOpticalTemperature
GetParameterData
GetPropertyCase
GetSystemTime
GetZoomLensCurrentPoint
GetZoomLensCurrentPosition
IsStrobeChargeCompleted
LocalTime
LockMainPower
Lseek
MakeDirectory_Fut
MoveFocusLensToDistance
MoveZoomLensWithPoint
NewTaskShell
Open
Read
ReadFastDir
RefreshPhysicalScreen
Remove
SetAutoShutdownTime
SetFileTimeStamp
SetParameterData
SetPropertyCase
SleepTask
TakeSemaphore
TurnOffBackLight
TurnOnBackLight
UIFS_WriteFirmInfoToFile
UnlockMainPower
UpdateMBROnFlash
VbattGet
Write
_log
_log10
_pow
_sqrt
close
closedir
closefastdir
free
kbd_p1_f
kbd_p1_f_cont
kbd_p2_f
kbd_pwr_off
kbd_pwr_on
kbd_read_keys
kbd_read_keys_r2
lseek
malloc
memcmp
memcpy
memset
mkdir
mktime_ext
open
opendir
openfastdir
qsort
rand
read
readfastdir
rename
srand
stat
strcat
strchr
strcmp
strcpy
strftime
strlen
strncmp
strncpy
strrchr
strtol
time
vsprintf
write
Please, add them into 'stubs_entry_2.S' manually!
Since so many functions can't be found, I suspect there is an issue with my build environment. Does anyone have any hints what could be wrong?
Thanks in advance ...