cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

841
Views
0
Helpful
7
Replies
Iman1
Beginner

Pioneer's Internal compiler error

I'm trying to build netconf NED for Nokia (ALU) device. Following the Pioneer approach I encounter an Internal compiler error (please see below). I'm going to guess it's due to problems in Nokia's yang but my question is how can I go about troubleshooting this and find which yang is problematic? There is a line below that says See log for complete details, but I couldn't locate any log related to this. Where does Pioneer store logs related to error below? Is there a way to troubleshoot further and figure out which of the Nokia's yang modules are the problem? Thanks.

admin@ncs% request pioneer yang build-netconf-ned yang-directory /win7/Nokia/15.0.R4_ALL_YANG/YANG/ ned-directory /root/ncs/4.4.2/ncs-4.4.2/packages/neds name 15r4

Cleaning up existing ned-directory

Starting build of 151 YANG modules, this may take some time

PATH=/root/ncs/4.4.2/ncs-4.4.2//bin:/root/ncs/4.4.2/ncs-4.4.2/lib/ncs/erts/bin:/root/ncs/4.4.2/ncs-4.4.2/lib/ncs/bin:/root/ncs/4.4.2/ncs-4.4.2//bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/go/bin:/root/go/bin ncs-make-package --verbose --netconf-ned /win7/Nokia/15.0.R4_ALL_YANG/YANG/ 15r4 --dest /root/ncs/4.4.2/ncs-4.4.2/packages/neds --no-java

Wrote package to /root/ncs/4.4.2/ncs-4.4.2/packages/neds

make clean fxs -C /root/ncs/4.4.2/ncs-4.4.2/packages/neds/src NCSC=/root/ncs/4.4.2/ncs-4.4.2//bin/ncsc --verbose

make: Entering directory '/root/ncs/4.4.2/ncs-4.4.2/packages/neds/src'

rm -rf ncsc-out ../load-dir

cd ../netsim && make clean || true

make[1]: Entering directory '/root/ncs/4.4.2/ncs-4.4.2/packages/neds/netsim'

make[1]: Leaving directory '/root/ncs/4.4.2/ncs-4.4.2/packages/neds/netsim'

mkdir -p ncsc-out

mkdir -p ../load-dir

/root/ncs/4.4.2/ncs-4.4.2//bin/ncsc --verbose --ncs-compile-bundle yang                        \

                 --ncs-device-dir ncsc-out   \

                 --ncs-device-type netconf            \

                  &&                          \

        cp ncsc-out/modules/fxs/*.fxs ../load-dir;

Internal compiler error

Makefile:25: recipe for target 'ncsc-out/.done' failed

make: *** [ncsc-out/.done] Error 1

make: Leaving directory '/root/ncs/4.4.2/ncs-4.4.2/packages/neds/src'

Build failed. Error and warning messages below. See log for complete details

Internal compiler error

make: *** [ncsc-out/.done] Error 1

failure Build failed

[ok][2017-11-11 22:45:14]

1 ACCEPTED SOLUTION

Accepted Solutions

As I wrote, sometimes there isn't much to go by. If you could send me the YANGs, I'd have a closer look.

View solution in original post

7 REPLIES 7