cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
381
Views
7
Helpful
2
Replies

Problem in NED make on NSO 4.5

mowahba
Level 1
Level 1

Hi

I just installed NSO 4.5 and ran into this error when I was trying to make the NEDs for IOS, XR & JUNOS

[root@localhost neds]# cd cisco-ios

[root@localhost cisco-ios]# cd src

[root@localhost src]# ll

total 16

drwxr-xr-x. 4 root root 4096 Nov 30 19:01 java

-rw-r--r--. 1 root root 2175 Nov 30 19:01 Makefile

drwxr-xr-x. 3 root root 4096 Nov 30 19:01 ncsc-out

drwxr-xr-x. 2 root root 4096 Nov 30 19:01 yang

[root@localhost src]# make

Makefile:17: /src/ncs/build/include.ncs.mk: No such file or directory

/bin/sh: - : invalid option

Usage: /bin/sh [GNU long option] [option] ...

  /bin/sh [GNU long option] [option] script-file ...

GNU long options:

  --debug

  --debugger

  --dump-po-strings

  --dump-strings

  --help

  --init-file

  --login

  --noediting

  --noprofile

  --norc

  --posix

  --protected

  --rcfile

  --rpm-requires

  --restricted

  --verbose

  --version

Shell options:

  -irsD or -c command or -O shopt_option (invocation only)

  -abefhkmnptuvxBCHP or -o option

make: *** No rule to make target `/src/ncs/build/include.ncs.mk'.  Stop.

[root@localhost src]#

any guidance ?

2 Replies 2

Jan Lindblad
Cisco Employee
Cisco Employee

You forgot to source the ncsrc file of the NSO version you intend to use.

Say I want to use NSO 4.5.1 and have it installed in ~/nso/4.5.1, I'd run this command in a bash-family shell:

. ~/nso/4.5.1/ncsrc

Then retry your build.

mowahba
Level 1
Level 1

It works now , thanks Jan !