Problem compiling trunk 1054 with shell 3.42 - General Discussion and Assistance - CHDK Forum  

Problem compiling trunk 1054 with shell 3.42

  • 5 Replies
  • 2155 Views
*

Offline Lebeau

  • ***
  • 187
Problem compiling trunk 1054 with shell 3.42
« on: 17 / January / 2012, 15:05:08 »
Advertisements
I was able to compile personal trunk 1054 without problem using CHDK-Shell 3.42.
Since I compile trunk 1577, I got error when compiling trunk 1054 (with personal mods).

Code: [Select]
arm-elf-gcc.exe: Wl,--start-group: No such file or directory
arm-elf-gcc.exe: Wl,--end-group: No such file or directory
Y:\CHDK\gcc451\bin\gmake.exe[1]: *** [main.elf] Error 1
gmake: *** [all-recursive] Error 1

Re: Problem compiling trunk 1054 with shell 3.42
« Reply #1 on: 17 / January / 2012, 15:10:50 »
Could you try to move all stuff to other directory? AFAIK CHDK shell is standalone and can be moved anywhere. I know it's rather workaround not a real solution, but it's one of these fast&dirty solutions :)
if (2*b || !2*b) {
    cout<<question
}

Compile error: poor Yorick

*

Offline Lebeau

  • ***
  • 187
Re: Problem compiling trunk 1054 with shell 3.42
« Reply #2 on: 17 / January / 2012, 15:17:19 »
Already done and it solved the bug.
Now, I have a personal trunk 1054 for my A650 and another one (trunk 1577) for my new SX230HS.

You're right it's a work around but to move my personal mods to 1577 :(

1577 compiling seams to irreversibly change the SHELL environment and collaterally impact 1054 compilation. The question is What is so different?

Re: Problem compiling trunk 1054 with shell 3.42
« Reply #3 on: 17 / January / 2012, 16:44:15 »
I don't know. But I have noticed that I was unable to rename 1534 to 2534 (Shell didn't recognize it). But When I changed this step by step (1534->1634->1734...) it was able to read 2534 at the end. Strange:D

CHDK is Open Source, you could read the code and find the reasons. I have no time and see no fun in this;) Althought I appreciate whole work that had to be involved to create such usefull tool!
if (2*b || !2*b) {
    cout<<question
}

Compile error: poor Yorick


Re: Problem compiling trunk 1054 with shell 3.42
« Reply #4 on: 17 / January / 2012, 20:26:01 »
But I have noticed that I was unable to rename 1534 to 2534 (Shell didn't recognize it). But When I changed this step by step (1534->1634->1734...) it was able to read 2534 at the end. Strange:D
IIRC,  CHDK-Shell only looks for trunks over a limited range. So 2534 was initially out of range.  As you created trunk files with increasing numbers,  you eventually go to the point where 2534 was in range.
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline reyalp

  • ******
  • 12731
Re: Problem compiling trunk 1054 with shell 3.42
« Reply #5 on: 17 / January / 2012, 21:24:09 »
I suggest:
Check your code out using svn, outside of chdkshell directory
Launch command line from chdkshell

cd <your svn working copy>
make PLATFORM=<your platform> PLATFORMSUB=<your firmware version> clean fir

chdkshell is great for people who want to just change some compile options and build the latest trunk. If you want do development and work with different versions or branches, using svn is probably a more convenient approach. chdkshell gives you a nice pre-configured toolchain.
Don't forget what the H stands for.

 

Related Topics