Hi Claes,
Yesterday I started again from scratch in case I jeopardized something by trying again and again.
I have now a base release with os_linux/hw_arm directory which seems coherent.
I double checked the pwrp_profile file (x86_linux replaced by arm_linux), the rootvolume Operating System has been modify to Custom build and everything looks correct.
Nevertheless, when trying to build my volume I got the follwoing error:
in the workbench message:
%GSX-F error from C compiler, see terminal for error
in the development console:
[code:1]
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
Welcome to
arm V4.8
Revision history
2011-07-21 pwrp Project created
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
-- Processing line: 67
-- Building volume directory
-- Opening volume 'VolArm'
Berkeley DB 4.8.30: (April 9, 2010)
info get: 0
-- Plc window generated Plant_ARM-ARMProg-W
Not a base directory: /home/pwrp/Proview/pwrrls_4.8.2
/usr/local/pwrp/arm/bld/x86_linux/exe/custom_build.sh: line 33: /usr/pwr48/os_linux/hw_arm/exp/exe/wb_gcg.sh: No such file or directory
%GSX-F-CCERROR, Error from c compilator, see terminal window
-- Web startpage generated $pwrp_web/index.html
Not a base directory: /home/pwrp/Proview/pwrrls_4.8.2
/usr/local/pwrp/arm/bld/x86_linux/exe/custom_build.sh: line 33: /usr/pwr48/os_linux/hw_arm/exp/exe/wb_gcg.sh: No such file or directory
[/code:1]
My understanding is that it can't find the file wb_csh.sh because it's looking the wrong base release (/usr/pwr48 should be /home/pwrp/Proview/pwrrls_4.8.2). And this one is false because it can't set the correct environment as the Set base command failed (Not a base directory).
My base directory seems not correct but I can't understand why ? (it exists and the sub directory looks identical to the /usr/pwr48 except that x86 is replaced by arm ...)
If anyone has a clue, I'm interested in ...
Snarf
EDIT:
After digging into script, I have a clue but not the solution.
Indeed the set base command failed not because of the build root directory but because of the hw type internally to pwra_env.sh.
I echoed the $hw parameter to screen and it was x86 instead of arm. That is why he doesnt find the $baseroot/$os/$hw/exp/exe/pwrp_env.sh file which exist under /home/pwrp/Proview/pwrrls_4.8.2/os_linux/hw_arm/exp/exe/pwrp_env.sh but of course not under /home/pwrp/Proview/pwrrls_4.8.2/os_linux/hw_x86/exp/exe/pwrp_env.sh which doesn't exist.
but the $hw argument seems to be set before entering the custom_build.sh script but I don't know where so I can't dig deeper ...
Post edited by: Snarf77, at: 2011/07/22 11:36