usrp-users@lists.ettus.com

Discussion and technical support related to USRP, UHD, RFNoC

View all threads

Error during synthesis

AG
André Gomes
Mon, Dec 4, 2017 3:26 PM

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.

[image: Inline images 1]

Have anyone faced any related problem?

Regards,

André Gomes
Email: andre.gomes@dcc.ufmg.br
Homepage: http://homepages.dcc.ufmg.br/~andre.gomes/
Mobile: +55 31 994859285 <+55%2031%2099485-9285>

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. [image: Inline images 1] Have anyone faced any related problem? Regards, *André Gomes* Email: andre.gomes@dcc.ufmg.br Homepage: http://homepages.dcc.ufmg.br/~andre.gomes/ Mobile: +55 31 994859285 <+55%2031%2099485-9285>
MD
Marcus D. Leech
Mon, Dec 4, 2017 4:32 PM

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,

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, > >
AG
André Gomes
Mon, Dec 4, 2017 9:24 PM

Hi Marcus,

You are right! When I ran without sudo, I had a problem with file
permissions. Sudo was a lazy working around and it ended up being a bad
one. 😬 That's said, everything works fine now. Thanks for you help!

Regards,

André Gomes
Email: andre.gomes@dcc.ufmg.br
Homepage: http://homepages.dcc.ufmg.br/~andre.gomes/
Mobile: +55 31 994859285 <+55%2031%2099485-9285>

On 4 December 2017 at 14:32, Marcus D. Leech via USRP-users <
usrp-users@lists.ettus.com> wrote:

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.

[image: 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

Hi Marcus, You are right! When I ran without sudo, I had a problem with file permissions. Sudo was a lazy working around and it ended up being a bad one. 😬 That's said, everything works fine now. Thanks for you help! Regards, *André Gomes* Email: andre.gomes@dcc.ufmg.br Homepage: http://homepages.dcc.ufmg.br/~andre.gomes/ Mobile: +55 31 994859285 <+55%2031%2099485-9285> On 4 December 2017 at 14:32, Marcus D. Leech via USRP-users < usrp-users@lists.ettus.com> wrote: > 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. > > [image: 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 > >