How to solve the error: schema node 'cc' already defined at augmented yang

We are using the ietf-mplstpoam.yang files.
We added the augmented file related to it.

When we compile the yang files.
I see the below error :
./ietf-mplstpoam.yang:704: error: schema node ‘cc’ already defined at xxx-mplstpoam-aug.yang:734

Can anyone, please help what can be the issue here.

Can you post the command line used to compile the module? Is it the case that you are trying to compile the two modules in one shot? If the -aug file augments nodes from ietf-mplstpoam, you still should compile the two modules separately.

Thanks Mvf. Yes you are right, We got the solution and fixed it.