When I try to compile project from commandline the following happens:
bldmake bldfiles
- OK
abld build winscw
- The following errors appear:
make -r -f "\Symbian\7.0s\SDK\EPOC32\BUILD\temp\testProj\common\debug\bld\EXPORT.make" EXPORT VERBOSE=-s
make: Error -- `EXPORTDIRS' not found, and can't be made
make -r -f "\Symbian\7.0s\SDK\EPOC32\BUILD\temp\testProj\common\debug\bld\WINSCW.make" MAKEFILE VERBOSE=-s
make: \Symbian\7.0s\SDK\EPOC32\BUILD\temp\testProj\common\debug
\bld\WINSCW.make: line 6: Error -- Expecting macro or rule defn, found neither
make -r -f "\Symbian\7.0s\SDK\EPOC32\BUILD\temp\testProj\common\debug\bld\WINSCW.make" LIBRARY VERBOSE=-s
make: \Symbian\7.0s\SDK\EPOC32\BUILD\temp\testProj\common\debug
\bld\WINSCW.make: line 6: Error -- Expecting macro or rule defn, found neither
etc..
The error:
"\bld\WINSCW.make: line 6: Error -- Expecting macro or rule defn, found neither"
comes many times after that.
The strange thing is that my environemnt worked before my computer was updated/moved to other domain.
Currectly i can compile files in CW IDE, but i need cmdline to get DEF files done.
I have tried:
- test compiling in my computer as different user
- compared env variables to another working environment.
- checked any of the files/dirs under "SDK" or "testProj" is not write protected.
Any idea what might be wrong? What else could I do?
I use winXP SP1, CW2.8, Active perl 5.8.6.
Heres contents of my WINSCW.make, Is something generated incorrectly?
/* copy paste begin */
# set Path for custom builds using GCC - must set Path and PATH
Path:=C:\Symbian\7.0s\SDK\EPOC32\gcc\bin;$(Path)
PATH:=$(Path)
# prevent MAKEFLAGS variable from upsetting calls to NMAKE
unexport MAKEFLAGS
You say it worked before your machine was updated/moved to another domain. Were there any other updates involved, other than logging into a different domain? Do you have any network folders in your PATH?
Regards,
Matt Pinsonneault
Nokia Developer Support
Re: Cant compile anything from commandline
2006-05-25, 14:40#3
I think that this is installed by the RealView tools. If you don't have them installed, it seems likely that something else in your path is causing the problem.
Cheers,
Jim
Re: Cant compile anything from commandline
2009-08-19, 20:27#4
This could sound odd, but I had the same issue and the root cause was that my path variable "epoc32\gcc\bin" and "epoc32\tools", was at the END of the path , as soon as I put in the BEGINNING of the path, the issue was solved.
Regards.
Liber AC
Re: Cant compile anything from commandline
2009-08-19, 20:36#5
I had the same problem and wasn't able to compile anything from the commandline when I installed a SDK for the first time and the path variable wasn't set up.
As lcastillo said, the issue is fixed when the <EPOCROOT>\epoc32\tools and <EPOCROOT>\epoc32\gcc\bin are placed at the BEGINNING of the path variable.