Compiling CHDK with Ubuntu 8.10 / Linux / gcc-4.3.3 for ixus80_sd1100 P / 101a - General Discussion and Assistance - CHDK Forum

Compiling CHDK with Ubuntu 8.10 / Linux / gcc-4.3.3 for ixus80_sd1100 P / 101a

  • 1 Replies
  • 4284 Views
Advertisements
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/Gcc433
I 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 ...

*

Offline reyalp

  • ******
  • 14126
Looks like stubs_entry.S didn't get generated correctly. You should be able to just use the version in SVN.
Don't forget what the H stands for.

 

Related Topics


SimplePortal © 2008-2014, SimplePortal