Qucs / ADMS

ADMS is a code generator for the Verilog-AMS language
GNU General Public License v3.0
94 stars 32 forks source link

error: '$R_analogcode' undeclared #111

Open JingxiaoLi opened 2 years ago

JingxiaoLi commented 2 years ago

Hi, I'm installing adms on centos 7 and met this issue, any suggestions?:

make install verilogaYacc.y:1317:49: error: '$R_analogcode' undeclared (first use in this function) gModule->_analog=adms_analog_new(YY($R_analogcode));

My enviroment: automake.noarch 1.13.4-3.el7 @base libtool.x86_64 2.4.2-22.el7_3 @base gperf.x86_64 3.0.4-8.el7 @base libxml2.x86_64 2.9.1-6.el7_9.6 @updates libxml2-devel.x86_64 2.9.1-6.el7_9.6 @updates perl-GD.x86_64 2.49-3.el7 @base

felix-salfelder commented 1 year ago

On Mon, Sep 05, 2022 at 05:39:49PM -0700, JingxiaoLi wrote:

Hi, I'm installing adms on centos 7 and met this issue, any suggestions?:

verilogaYacc.y:1317:49: error: '$R_analogcode' undeclared (first use in this function) gModule->_analog=adms_analog_new(YY($R_analogcode));

Thanks. Please give more details (what did you do?). It seems related to yacc, maybe a yacc expert can give a clue.

Fwiw: I get messages such as [..]/admsXml/verilogaYacc.y: warning: fix-its can be applied. Rerun with option '--update'. [-Wother], hinting at some problem or deprecated feature use.