×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Oct 2007
    Posts
    2

    Building on Vista - make permissions

    Hi,

    I am using Carbide C++ on Windows Vista Business edition. I've installed according to the guidelines on the wiki. Here is the situation

    - using a Hello World example
    -it doesn't compile using the abld command.
    -I pasted the perl command that abld uses into the command window (running as admin). Still no compile
    -Running the make command that the perl statement executes DOES work. I suspect it is a permissions problem with CreateProcess
    - I've added the -d flag to the make command to get the debug output, examples of running from abld that doesn't work and running a make command that does work is below.

    from the Carbide console (or abld build winwcw udeb)

    make -d -r -f "\Symbian\8.0a\S60_2nd_FP2_CW\EPOC32\BUILD\SYMBIAN\CARBIDE\WORKSPACE\HELLOWORLD\GROUP\WINSCW.make" RESOURCE CFG=UDEB
    make[2]: *** [do_nothing] Error 1
    make[1]: *** [RESOURCE] Error 2
    make: *** [RESOURCEBUILD_HELP] Error 2
    GNU Make version 3.79.1 (Symbian build 005), by Richard Stallman and Roland McGrath.
    Built for Windows32
    Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 2000
    Free Software Foundation, Inc.
    This is free software; see the source for copying conditions.
    There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
    PARTICULAR PURPOSE.

    Report bugs to <bug-make@gnu.org>.

    find_and_set_shell path search set default_shell = C:/Windows/system32/cmd.exe

    Reading makefiles...
    Reading makefile `\Symbian\8.0a\S60_2nd_FP2_CW\EPOC32\BUILD\SYMBIAN\CARBIDE\WORKSPACE\HELLOWORLD\GROUP\WINSCW.make'...
    Updating makefiles....
    Considering target file `\Symbian\8.0a\S60_2nd_FP2_CW\EPOC32\BUILD\SYMBIAN\CARBIDE\WORKSPACE\HELLOWORLD\GROUP\WINSCW.make'.
    Looking for an implicit rule for `\Symbian\8.0a\S60_2nd_FP2_CW\EPOC32\BUILD\SYMBIAN\CARBIDE\WORKSPACE\HELLOWORLD\GROUP\WINSCW.make'.
    No implicit rule found for `\Symbian\8.0a\S60_2nd_FP2_CW\EPOC32\BUILD\SYMBIAN\CARBIDE\WORKSPACE\HELLOWORLD\GROUP\WINSCW.make'.
    Finished prerequisites of target file `\Symbian\8.0a\S60_2nd_FP2_CW\EPOC32\BUILD\SYMBIAN\CARBIDE\WORKSPACE\HELLOWORLD\GROUP\WINSCW.make'.
    No need to remake target `\Symbian\8.0a\S60_2nd_FP2_CW\EPOC32\BUILD\SYMBIAN\CARBIDE\WORKSPACE\HELLOWORLD\GROUP\WINSCW.make'.
    Updating goal targets....
    Considering target file `RESOURCE'.
    File `RESOURCE' does not exist.
    Looking for an implicit rule for `RESOURCE'.
    No implicit rule found for `RESOURCE'.
    Considering target file `RESOURCEBUILD_HELP'.
    File `RESOURCEBUILD_HELP' does not exist.
    Finished prerequisites of target file `RESOURCEBUILD_HELP'.
    Must remake target `RESOURCEBUILD_HELP'.
    CreateProcess(C:\Symbian\8.0a\S60_2nd_FP2_CW\epoc32\tools\make.exe,make -s -f \Symbian\8.0a\S60_2nd_FP2_CW\EPOC32\BUILD\SYMBIAN\CARBIDE\WORKSPACE\HELLOWORLD\HELP\BUILD_HELP_MK\WINSCW\BUILD_HELP.MK PLATFORM=WINSCW CFG=UDEB RESOURCE,...)
    Putting child 0x01741220 (RESOURCEBUILD_HELP) PID 24407184 on the chain.
    Live child 0x01741220 (RESOURCEBUILD_HELP) PID 24407184
    make[2]: Entering directory `C:/SYMBIAN/CARBIDE/WORKSPACE/HELLOWORLD/HELP'
    make[2]: Leaving directory `C:/SYMBIAN/CARBIDE/WORKSPACE/HELLOWORLD/HELP'
    Reaping losing child 0x01741220 PID 24407184
    Removing child 0x01741220 PID 24407184 from chain.




    but running the make command at the command prompt works....

    Microsoft Windows [Version 6.0.6000]
    Copyright (c) 2006 Microsoft Corporation. All rights reserved.

    C:\Windows\system32>make -d -r -f "\Symbian\8.0a\S60_2nd_FP2_CW\EPOC32\BUILD\SYMBIAN\CARBIDE\WORKSPACE\HELLOWORLD\GROUP\WINSCW.make" RESOURCE CFG=UDE
    B
    GNU Make version 3.79.1 (Symbian build 005), by Richard Stallman and Roland McGrath.
    Built for Windows32
    Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 2000
    Free Software Foundation, Inc.
    This is free software; see the source for copying conditions.
    There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
    PARTICULAR PURPOSE.

    Report bugs to <bug-make@gnu.org>.

    find_and_set_shell setting default_shell = cmd.exe
    Reading makefiles...
    Reading makefile `\Symbian\8.0a\S60_2nd_FP2_CW\EPOC32\BUILD\SYMBIAN\CARBIDE\WORKSPACE\HELLOWORLD\GROUP\WINSCW.make'...
    Updating makefiles....
    Considering target file `\Symbian\8.0a\S60_2nd_FP2_CW\EPOC32\BUILD\SYMBIAN\CARBIDE\WORKSPACE\HELLOWORLD\GROUP\WINSCW.make'.
    Looking for an implicit rule for `\Symbian\8.0a\S60_2nd_FP2_CW\EPOC32\BUILD\SYMBIAN\CARBIDE\WORKSPACE\HELLOWORLD\GROUP\WINSCW.make'.
    No implicit rule found for `\Symbian\8.0a\S60_2nd_FP2_CW\EPOC32\BUILD\SYMBIAN\CARBIDE\WORKSPACE\HELLOWORLD\GROUP\WINSCW.make'.
    Finished prerequisites of target file `\Symbian\8.0a\S60_2nd_FP2_CW\EPOC32\BUILD\SYMBIAN\CARBIDE\WORKSPACE\HELLOWORLD\GROUP\WINSCW.make'.
    No need to remake target `\Symbian\8.0a\S60_2nd_FP2_CW\EPOC32\BUILD\SYMBIAN\CARBIDE\WORKSPACE\HELLOWORLD\GROUP\WINSCW.make'.
    Updating goal targets....
    Considering target file `RESOURCE'.
    File `RESOURCE' does not exist.
    Looking for an implicit rule for `RESOURCE'.
    No implicit rule found for `RESOURCE'.
    Considering target file `RESOURCEBUILD_HELP'.
    File `RESOURCEBUILD_HELP' does not exist.
    Finished prerequisites of target file `RESOURCEBUILD_HELP'.
    Must remake target `RESOURCEBUILD_HELP'.
    CreateProcess(C:\Symbian\8.0a\S60_2nd_FP2_CW\epoc32\tools\make.exe,make -s -f \Symbian\8.0a\S60_2nd_FP2_CW\EPOC32\BUILD\SYMBIAN\CARBIDE\WORKSPACE\HELL
    OWORLD\HELP\BUILD_HELP_MK\WINSCW\BUILD_HELP.MK PLATFORM=WINSCW CFG=UDEB RESOURCE,...)
    Putting child 0x016bb5a0 (RESOURCEBUILD_HELP) PID 23861632 on the chain.
    Live child 0x016bb5a0 (RESOURCEBUILD_HELP) PID 23861632
    make[2]: Entering directory `C:/SYMBIAN/CARBIDE/WORKSPACE/HELLOWORLD/HELP'
    make[2]: Leaving directory `C:/SYMBIAN/CARBIDE/WORKSPACE/HELLOWORLD/HELP'
    Reaping winning child 0x016bb5a0 PID 23861632
    Removing child 0x016bb5a0 PID 23861632 from chain.
    Successfully remade target file `RESOURCEBUILD_HELP'.
    Considering target file `RESOURCEHELLOWORLD'.
    File `RESOURCEHELLOWORLD' does not exist.
    Finished prerequisites of target file `RESOURCEHELLOWORLD'.
    Must remake target `RESOURCEHELLOWORLD'.
    C:/Symbian/8.0a/S60_2nd_FP2_CW/epoc32/tools/make.exe -r -f "\Symbian\8.0a\S60_2nd_FP2_CW\EPOC32\BUILD\SYMBIAN\CARBIDE\WORKSPACE\HELLOWORLD\GROUP\HEL
    LOWORLD\WINSCW\HELLOWORLD.WINSCW" RESOURCEUDEB
    CreateProcess(C:\Symbian\8.0a\S60_2nd_FP2_CW\epoc32\tools\make.exe,C:/Symbian/8.0a/S60_2nd_FP2_CW/epoc32/tools/make.exe -r -f \Symbian\8.0a\S60_2nd_FP
    2_CW\EPOC32\BUILD\SYMBIAN\CARBIDE\WORKSPACE\HELLOWORLD\GROUP\HELLOWORLD\WINSCW\HELLOWORLD.WINSCW RESOURCEUDEB,...)
    Putting child 0x016c15e0 (RESOURCEHELLOWORLD) PID 23868912 on the chain.
    Live child 0x016c15e0 (RESOURCEHELLOWORLD) PID 23868912
    make.exe[1]: Entering directory `C:/Windows/system32'
    perl -S epocrc.pl -I "..\DATA" -I "..\INC" -I "..\HELP" -I- -I "..\..\..\..\8.0A\S60_2ND_FP2_CW\EPOC32\INCLUDE" -DLANGUAGE_SC -u "\SYMBIAN\CARBIDE\WOR
    KSPACE\HELLOWORLD\DATA\HELLOWORLD.RSS" -o\Symbian\8.0a\S60_2nd_FP2_CW\EPOC32\DATA\Z\SYSTEM\APPS\HELLOWORLD\HELLOWORLD.RSC -h"\Symbian\8.0a\S60_2nd_FP
    2_CW\EPOC32\BUILD\SYMBIAN\CARBIDE\WORKSPACE\HELLOWORLD\GROUP\HELLOWORLD\WINSCW\HELLOWORLD.rsg" -t"\Symbian\8.0a\S60_2nd_FP2_CW\EPOC32\BUILD\SYMBIAN\CA
    RBIDE\WORKSPACE\HELLOWORLD\GROUP\HELLOWORLD\WINSCW" -l"Z\SYSTEM\APPS\HELLOWORLD:\SYMBIAN\CARBIDE\WORKSPACE\HELLOWORLD\GROUP"
    C:\SYMBIAN\CARBIDE\WORKSPACE\HELLOWORLD\DATA\HELLOWORLD.RSS:15: No include path in which to find eikon.rh
    C:\SYMBIAN\CARBIDE\WORKSPACE\HELLOWORLD\DATA\HELLOWORLD.RSS:16: HelloWorld.hrh: No such file or directory
    C:\SYMBIAN\CARBIDE\WORKSPACE\HELLOWORLD\DATA\HELLOWORLD.RSS:17: HelloWorld.loc: No such file or directory
    C:\SYMBIAN\CARBIDE\WORKSPACE\HELLOWORLD\DATA\HELLOWORLD.RSS:18: No include path in which to find avkon.rsg
    C:\SYMBIAN\CARBIDE\WORKSPACE\HELLOWORLD\DATA\HELLOWORLD.RSS:19: No include path in which to find avkon.rh
    C:\SYMBIAN\CARBIDE\WORKSPACE\HELLOWORLD\DATA\HELLOWORLD.RSS:20: No include path in which to find avkon.mbg
    * cpp failed
    make.exe[1]: *** [\Symbian\8.0a\S60_2nd_FP2_CW\EPOC32\DATA\Z\SYSTEM\APPS\HELLOWORLD\HELLOWORLD.RSC] Error 2
    make.exe[1]: Leaving directory `C:/Windows/system32'
    Reaping losing child 0x016c15e0 PID 23868912
    C:\Symbian\8.0a\S60_2nd_FP2_CW\epoc32\tools\make.exe: *** [RESOURCEHELLOWORLD] Error 2
    Removing child 0x016c15e0 PID 23868912 from chain.

    C:\Windows\system32>



    Any idea what is going on here?

    Thanks,
    Chris

  2. #2
    Super Contributor
    Join Date
    Jul 2006
    Location
    Oulu, Finland.
    Posts
    1,174

    Re: Building on Vista - make permissions

    I configured vista according to the instructions posted at WIKI, try to turn off UAC and run carbide as an administrator, see if this helps.

  3. #3
    Registered User
    Join Date
    Oct 2007
    Posts
    2

    Re: Building on Vista - make permissions

    I wish it were that easy for me. I turned off UAC and reinstalled everything (as admin) but still no luck. It still fails to build when the abld.pl file is used. I can run each make command at the command prompt and they work. But when I run the abld.pl file it fails. I suspect a permission problem when the shell command is executed by make (using CreateProcess). I just don't understand why it makes a difference if make is called by perl or run from the command line.

    If you have any other suggestions they would be much appreciated.

    Thanks,
    Chris

Similar Threads

  1. Urgent! Cannot compile OggPlay on Carbide/SDK
    By Wickyorama in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 1
    Last Post: 2007-04-30, 16:07
  2. Compilation series 60 3rd edition
    By asmobease in forum Symbian Tools & SDKs
    Replies: 32
    Last Post: 2006-09-13, 09:46
  3. Compilation series 60 3rd edition
    By asmobease in forum Symbian
    Replies: 3
    Last Post: 2006-09-10, 14:08
  4. Helloworld build failure - help
    By tcalamawy in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 2
    Last Post: 2006-03-20, 17:38
  5. s60 3th. Building error.
    By sberserker in forum Symbian Tools & SDKs
    Replies: 11
    Last Post: 2006-03-09, 11:38

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×