supplierdeeply

Error compiling using gcc_env_for_hdk-3.4.6

  • 4 Replies
  • 1788 Views
*

Offline vine

  • ***
  • 124
  • A560
    • my chdk page
Error compiling using gcc_env_for_hdk-3.4.6
« on: 11 / May / 2008, 10:13:11 »
Advertisements
I am trying to compile CHDK for the first time on my own. I followed this guide: Compiling CHDK under Windows - CHDK Wiki
However I get the following error:

Code: [Select]
Z:\CHDK\trunk>gmake fir
**** Build: 51
>> Entering to tools
/usr/bin/sh: -c: line 1: syntax error near unexpected token `;'
/usr/bin/sh: -c: line 1: `for i in ; do  echo \>\> Entering to tools/$i;  z:/CHD
K/gcc/bin/gmake.exe -C $i FOLDER="tools/$i/" || exit 1;  echo \<\< Leaving tools
/$i;  done'
z:\CHDK\gcc\bin\gmake.exe[1]: *** [all-recursive] Error 258
gmake: *** [all-recursive] Error 1
my photo map

my chdk page with tutorials, scripts and more

>> finally back from vacation (was a bit longer than intended) <<

*

Offline vine

  • ***
  • 124
  • A560
    • my chdk page
Re: Error compiling using gcc_env_for_hdk-3.4.6
« Reply #1 on: 11 / May / 2008, 15:36:13 »
I'm running Windows XP 32bit and followed steps on the linked wiki page. It should work shouldn't it?
my photo map

my chdk page with tutorials, scripts and more

>> finally back from vacation (was a bit longer than intended) <<

*

Offline whim

  • ******
  • 2013
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: Error compiling using gcc_env_for_hdk-3.4.6
« Reply #2 on: 12 / May / 2008, 03:11:10 »
Yes, I've had it working on XP SP2 32-bits (if that was your question)
check the following:
Did your path environment change 'take' ?
  - in a cmd box, change to the path that contains your source 'Makefile'
  - type set <Enter>
  - check the PATH
  - if Ok, try 'gmake fir' again; if not you might have to reboot first.

Other possible 'spoil-sports': any compilers that use the make system and have their path before your 'gcc\bin' in PATH

You could also try my Windows shell for trunk building here: zSHARE - chdk-shell-v125.zip

wim


« Last Edit: 12 / May / 2008, 03:16:49 by whim »

*

Offline vine

  • ***
  • 124
  • A560
    • my chdk page
Re: Error compiling using gcc_env_for_hdk-3.4.6
« Reply #3 on: 12 / May / 2008, 03:20:31 »
Other possible 'spoil-sports': any compilers that use the make system and have their path before your 'gcc\bin' in PATH
Thanks, that was the problem, the path for WinAVR was interfering. Now it works flawlessly. Thanks again.
my photo map

my chdk page with tutorials, scripts and more

>> finally back from vacation (was a bit longer than intended) <<


*

Offline zeno

  • *****
  • 853
Re: Error compiling using gcc_env_for_hdk-3.4.6
« Reply #4 on: 12 / May / 2008, 04:18:14 »
posted to wrong topic - sorry!
« Last Edit: 12 / May / 2008, 05:35:27 by zeno »
A570, S100, Ixus 127
Author of ASSIST, STICK, WASP, ACID, SDMInst, LICKS, WICKS, MacBoot, UBDB, CFGEdit

 

Related Topics