Hello,
When building the current pre-master-48 branch with --disable-osdi, I get the following error:
Commit tested:
f34785cc9d2c5b994817063ef9c39f41ebce2ac9
Compiler error:
../../../../src/spicelib/analysis/cktdisto.c:44:33: error:
no member named 'registry_entry' in 'struct IFdevice'
44 | && DEVices[i]->DEVpublic.registry_entry ) {
| ~~~~~~~~~~~~~~~~~~~~~ ^
1 error generated.
make[3]: *** [Makefile:644: cktdisto.lo] Error 1
The problem seems to be in src/spicelib/analysis/cktdisto.c:
for (i=0;i<DEVmaxnum;i++) {
if ( DEVices[i] && !DEVices[i]->DEVdisto && ckt->CKThead[i]
&& DEVices[i]->DEVpublic.registry_entry ) {
fprintf(stderr,
"Warning: Verilog-A (OSDI) device type '%s' has no distortion model;\n"
" .disto results will NOT include its nonlinearities.\n",
DEVices[i]->DEVpublic.name);
}
}
Thanks,
Danial
Fix uploaded to git branch pre-master-48