Thanks! I used const before the wrong definitions and it worked for 60 from 64 errors.
Could you give your advice on this lines
error: assignment of read-only location
dumpAmp(widget->params.outAmpCap, "Output");
The second yet with deprication:
warning: deprecated conversion from string constant to 'char*'
control->widget->connsenable[control->index] = 0;