werid build problem - VxWorks

This is a discussion on werid build problem - VxWorks ; I use windows tornado2.2, and it is located in D:\tornado. and I use command line to build. The BSP to be built had been successfully built before. But this time, after I set the enviroment varibles use torvars.bat, I type ...

+ Reply to Thread
Results 1 to 4 of 4

Thread: werid build problem

  1. werid build problem

    I use windows tornado2.2, and it is located in D:\tornado.
    and I use command line to build.

    The BSP to be built had been successfully built before.

    But this time, after I set the enviroment varibles use torvars.bat,
    I type make, then

    F:\swControllers\VxBsp\ArchPpc\64460_30>make
    makefile:39: /target/h/make/defs.bsp: No such file or directory
    makefile:241: /target/h/make/rules.bsp: No such file or directory
    make: *** No rule to make target `/target/h/make/rules.bsp'. Stop.

    The defs.bsp are loctated in the d:\tornado\target\h\make,
    also the rules.bsp.

    Any one can help me?


  2. Re: werid build problem

    Thank you, Martin.

    I have solved the problem, and the reason is just what you said.

    But just run torvars.bat in command line doesn't work, whatever how
    many times, and I don't know why.
    Then I add the environment variables to my user enviroment variables
    table. Then relogin, the problem is solved.

    There is one more question, why the variable is broken, and it can not
    be recovered even after reset?

    Thank you.


  3. Re: werid build problem

    Hello shuyuwind,

    shuyuwind@gmail.com schrieb:
    > There is one more question, why the variable is broken, and it can not
    > be recovered even after reset?


    This can only tried to get answered, when you show us the torvars.bat file.

    I the previous posting you mentioned that it has been working for some time.
    So what has been changed since then?

    --
    BaSystem Martin Raabe
    E: Martin.RaabeB-a-S-y-s-t-e-mde

  4. Re: werid build problem

    shuyuwind@gmail.com wrote:
    > I use windows tornado2.2, and it is located in D:\tornado.
    > and I use command line to build.
    >
    > The BSP to be built had been successfully built before.
    >
    > But this time, after I set the enviroment varibles use torvars.bat,
    > I type make, then
    >
    > F:\swControllers\VxBsp\ArchPpc\64460_30>make
    > makefile:39: /target/h/make/defs.bsp: No such file or directory
    > makefile:241: /target/h/make/rules.bsp: No such file or directory
    > make: *** No rule to make target `/target/h/make/rules.bsp'. Stop.
    >
    > The defs.bsp are loctated in the d:\tornado\target\h\make,
    > also the rules.bsp.
    >
    > Any one can help me?

    Yes. Great problem desctiption.

    It looks like your WIND_BASE environment variable has gotten
    nulled out. You can set it manually on the commend line with:
    SET WIND_BASE=D:\tornado

    and your build will proceed. Looks like your torvars.bat
    definition of WIND_BASE is broken somehow.


+ Reply to Thread