Darío San Martín Molina
03/10/2022, 9:58 AMcaravel_user_project_analog
when I do make pdk
I get an error saying that PDK_ROOT is not defined, even though I have previously done export PDK_ROOT=/usr/local/share/pdk
, I can see PDK_ROOT environment variable is there if I do printenv
and also if I do echo $PDK_ROOT
it echoes /usr/local/share/pdk
. What could be wrong? This is the error message: (I am following this official guide for "caravel_user_project_analog" --> https://github.com/efabless/caravel_user_project_analog/blob/main/docs/source/index.rst )
darunixspro3@darunixspro3-VirtualBox:~/Desktop/GitSandboxes/caravel_user_project_analog_vco$ sudo make pdk
export CARAVEL_ROOT=/caravel && make -f /caravel/Makefile pdk
make[1]: Entering directory '/home/darunixspro3/Desktop/GitSandboxes/caravel_user_project_analog_vco'
/caravel/Makefile:1291: *** PDK_ROOT is undefined, please export it before running make. Stop.
make[1]: Leaving directory '/home/darunixspro3/Desktop/GitSandboxes/caravel_user_project_analog_vco'
make: *** [Makefile:37: pdk] Error 2
Kauser Johar
03/10/2022, 10:00 AMsudo -E make pdk
Darío San Martín Molina
03/10/2022, 10:21 AM