There's absolutely no reason to run "make" as root. When you run sudo,
your PATH variable, by default is not inherited by the root shell that
is created.
On 12/04/2017 10:26 AM, André Gomes via USRP-users wrote:
I'm facing a problem during synthesis for USRP B210. The problem is
shown below. It occurs when I try to run *sudo* *make B210 b200.v*
under directory /opt/uhd/fpga-src/usrp3/top/b200.
*/bin/sh: 1: xtclsh: not found*
ISE Version:
make -f Makefile.b200.inc bin NAME=B210 DEVICE=XC6SLX150
EXTRA_DEFS="TARGET_B210=1 "
make[1]: Entering directory '/opt/uhd/fpga-src/usrp3/top/b200'
/bin/sh: 1: xtclsh: not found
/bin/sh: 1: xtclsh: not found
build-B210//b200.xise
xtclsh /opt/uhd/fpga-src/usrp3/top/tcl/ise_helper.tcl ""
/bin/sh: 1: xtclsh: not found
../Makefile.common:51: recipe for target 'build-B210//b200.xise' failed
make[1]: *** [build-B210//b200.xise] Error 127
make[1]: Leaving directory '/opt/uhd/fpga-src/usrp3/top/b200'
Makefile:77: recipe for target 'B210' failed
make: *** [B210] Error 2
I installed the Xilinx tools. I can find *xtclsh* on
*/opt/Xilinx/14.7/ISE_DS/ISE/bin/lin/xtclsh*. Moreover, *xtclsh* is
also set up in my environment. See figure below.
Inline images 1
Have anyone faced any related problem?
Regards,
_______________________________________________
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com