In order to speed-up batch compiling, I have copied the pre-built compiling environment and my own project files to two faster PC's, one WinXP Pro SP3 and the other Win7 Home Premium.
I get the same problem with both.
However, to make the test less dependent on the project files on each PC, I have also tested with the files on a mini USB drive, to no avail.
The Makefile is far older than the CHDK version but works fine and is attached.
With the USB drive, topdir = H:\SDM_1.86_Mercurial
For convenience, I run from a BAT file in which I have "gmake PLATFORM=s95 PLATFORMSUB=100k fir".
The first operation is 'version' and it responds with :-
**** Build: 148
i was unexpected at this time
gmake: ***[all-recursive] Error 255
The 'clean' command then runs and issues the same error.
If I connect the USB drive to my other WinXP PC and run the BAT file everything works fine.
Any ideas ?
David