# Fail to compile confd\_dyncfg

**URL:** <https://dmap-community.ductus.global/t/fail-to-compile-confd-dyncfg/1367>\
**Category:** CDB and CDB API\
**Created:** [June 28, 2017, 5:10am UTC](https://dmap-community.ductus.global/t/fail-to-compile-confd-dyncfg/1367 "2017-06-28T05:10:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![evyatar](https://avatars.discourse-cdn.com/v4/letter/e/958977/32.png) [@evyatar](https://dmap-community.ductus.global/u/evyatar)\
**Post date:** [June 28, 2017, 5:10am UTC](https://dmap-community.ductus.global/t/fail-to-compile-confd-dyncfg/1367/1 "2017-06-28T05:10:17Z")

</div>

Hi,

I am trying to compile the confd\_dyncfg.yang model to get the .h file but I got the following error:  
smog:~/ccm\_wa/cli/main-dev/CLI-V6/npti\_product/mcubuilder\> …/…/cml/src/cml/confd/kvm/Confd/bin/confdc --fail-on-warnings -c -o confd\_dyncfg.fxs …/…/cml/src/yang/confd\_dyncfg.yang  
internal error

Please assist.

Thanks,

---

<div class="post-metadata">

**Author:** ![cohult](https://yyz2.discourse-cdn.com/flex010/user_avatar/dmap-community.ductus.global/cohult/32/221_2.png) [@cohult](https://dmap-community.ductus.global/u/cohult)\
**Post date:** [June 28, 2017, 6:06am UTC](https://dmap-community.ductus.global/t/fail-to-compile-confd-dyncfg/1367/2 "2017-06-28T06:06:46Z")

</div>

There is a quite ordinary Makefile for confd\_dyncfg.yang under $CONFD\_DIR/ src/confd/dyncfg/Makefile and generating the header file, .h, is a simple exercise:  
`$ confdc --emit-h confd_dyncfg.h confd_dyncfg.fxs`

So the real question should be what modifications did you do tho the YANG model or other environment settings that made confdc give an internal error when you tried to compile the final schema, .fxs?
