• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Custom IC Design
  3. Encountered a fatal error while compiling the ahdlcmi module...

Stats

  • Locked Locked
  • Replies 3
  • Subscribers 125
  • Views 5131
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Encountered a fatal error while compiling the ahdlcmi module library

Sami048
Sami048 over 1 year ago

So I am getting this problem, can anyone have any suggestion how to solve it ?

Error found by spectre during AHDL read-in.
ERROR (VACOMP-2354): Encountered a fatal error while compiling the ahdlcmi module library, "gnumake: warning: Clock skew detected". Check the log file input.ahdlSimDB//9a85597bf6b4f9e14073fddb7c48f87d.Memristor.ahdlcmi/Linux-64//..//ahdlcmi.out for details. Ensure that the system time on the server is correct and rerun the simulation.
ERROR (SFE-91): Cannot run the simulation because an AHDL compilation error occurred. Check the VACOMP error message above and correct the syntax error in the Verilog-A file. Next, rerun the simulation.

I checked the log file and it says the following

ahdlcmicompile: Compiling ahdlcmi in input.ahdlSimDB//9a85597bf6b4f9e14073fddb7c48f87d.Memristor.ahdlcmi/Linux-64/ for Linux-64 with optimize using gcc on Tue Feb 6 18:34:33 EST 2024 [5.0]
ahdlcmicompile: Generating makefile
PATH: /opt/eda/cadence/SPECTRE181/bin:/opt/eda/cadence/SPECTRE181/tools/bin/64bit:/opt/eda/cadence/SPECTRE181/tools/bin:/opt/eda/cadence/IC618/bin:/opt/eda/cadence/IC618/tools/bin/64bit:/opt/eda/cadence/IC618/tools/bin:/opt/eda/cadence/IC618/share/oa/bin:/opt/eda/synopsys/sentaurus/O_2018.06/bin:/opt/eda/xilinx/standard/Vivado/2019.1/bin:/opt/eda/synopsys/syn/current/bin:/opt/eda/synopsys/customcompiler/current/bin:/opt/eda/synopsys/icc2/current/bin:/usr/lib/x86_64-linux-gnu:/opt/eda/cadence/IC618/tools/dfII/bin:/opt/eda/cadence/XCELIUM1809/bin:/opt/eda/cadence/INNOVUS181/bin:/opt/eda/cadence/GENUS181/bin:/opt/eda/cadtools/irsim-9.7/bin:/opt/eda/synopsys/wv/N-2017.12-SP1-1/bin:/opt/eda/synopsys/hspice/N-2017.12-SP2-1/hspice/bin//opt/eda/fpga/intelFPGA_pro/current/modelsim_ase/bin:/opt/eda/synopsys/current/syn/bin:/usr/local/go/bin:/opt/eda/mmi/current/bin:/opt/eda/synopsys/vcs-mx/current/bin:/opt/eda/synopsys/syn/current/bin:/home/khan4sn/bin:/usr/bin:/bin:/usr/local/bin:/opt/bin:/opt/eda/bin:/opt/eda/cadtools/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
LD_LIBRARY_PATH: /opt/eda/cadence/SPECTRE181/tools/giganta/lib/64bit:/opt/eda/cadence/SPECTRE181/tools/mdl/lib/64bit:/opt/eda/cadence/SPECTRE181/tools/mmsim/lib/64bit:/opt/eda/cadence/SPECTRE181/tools/tcltk-8.4.20/lib/64bit:/opt/eda/cadence/SPECTRE181/tools/inca/lib/64bit:/opt/eda/cadence/SPECTRE181/tools/spectre/lib/64bit:/opt/eda/cadence/SPECTRE181/tools/dfII/lib/64bit:/opt/eda/cadence/SPECTRE181/tools/lib/64bit:/opt/eda/cadence/SPECTRE181/tools/lib/64bit:/opt/eda/cadence/SPECTRE181/tools/lib:/opt/eda/cadence/IC618/tools/lib/64bit:/opt/eda/cadence/IC618/tools/lib:/opt/eda/cadence/IC618/tools/lib/64bit/Ubuntu:/opt/eda/cadence/IC618/share/oa/lib/linux_rhel60_64/opt:/opt/eda/cadence/IC618/tools/dfII/lib/64bit:/opt/eda/cadence/IC618/tools/sev/lib/64bit:/opt/eda/cadence/IC618/tools/hdf5/lib/64bit:/opt/eda/cadence/IC618/tools/lz4/lib/64bit:/opt/eda/cadence/IC618/tools/inca/lib/64bit:/opt/eda/cadence/IC618/tools/Qt/v5/64bit/lib:/opt/eda/cadence/SPECTRE181/tools/dfII/lib:/usr/lib/x86_64-linux-gnu
ERROR: ld.so: object '/opt-shared-v2/eda/cadence/IC618/tools.lnx86/dfII/../lib/64bit/libstdc++.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object '/opt-shared-v2/eda/cadence/IC618/tools.lnx86/dfII/../lib/64bit/libstdc++.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
/opt/eda/cadence/SPECTRE181/tools.lnx86/spectre/ahdlcmi/bin/gnumake -j8 -f GNUmakefile
ERROR: ld.so: object '/opt-shared-v2/eda/cadence/IC618/tools.lnx86/dfII/../lib/64bit/libstdc++.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
gnumake: *** Warning: File `GNUmakefile' has modification time in the future (2024-02-06 18:35:58 > 2024-02-06 18:34:36)
Cleaning ./obj/optimize/5.0
rm -f -rf ./obj/optimize/5.0
gnumake: warning: Clock skew detected. Your build may be incomplete.
ERROR: ld.so: object '/opt-shared-v2/eda/cadence/IC618/tools.lnx86/dfII/../lib/64bit/libstdc++.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
gnumake: *** Warning: File `GNUmakefile' has modification time in the future (2024-02-06 18:35:58 > 2024-02-06 18:34:37)
Compiling C file Memristor_ufunc.c (optimize)
Compiling C file Memristor_func.c (optimize)
Compiling C file Memristor_DcFuncDerLoad.c (optimize)
Compiling C file Memristor_DcFuncLoad.c (optimize)
Compiling C file Memristor_TranFuncDerLoad.c (optimize)
Compiling C file Memristor_TranFuncLoad.c (optimize)
Compiling C file Memristor_cmi_c.c (optimize)
/opt/eda/cadence/SPECTRE181/tools.lnx86/spectre/ahdlcmi/bin/64bit/ahdlcc 0 /opt/eda/cadence/SPECTRE181/tools.lnx86/cdsgcc/gcc/6.3/bin/gcc -march=k8 -ffast-math -fno-unsafe-math-optimizations -O3 -m64 -DSYSV -DSVR4 -D_REENTRANT -fPIC -DconfigSPECTRE -I. -I/opt/eda/cadence/SPECTRE181/tools.lnx86/spectre/ahdlcmi/include -c Memristor_ufunc.c -o obj/optimize/5.0/Memristor_ufunc.o || rm -f -f obj/optimize/5.0/Memristor_ufunc.o
/opt/eda/cadence/SPECTRE181/tools.lnx86/spectre/ahdlcmi/bin/64bit/ahdlcc 0 /opt/eda/cadence/SPECTRE181/tools.lnx86/cdsgcc/gcc/6.3/bin/gcc -march=k8 -ffast-math -fno-unsafe-math-optimizations -O3 -m64 -DSYSV -DSVR4 -D_REENTRANT -fPIC -DconfigSPECTRE -I. -I/opt/eda/cadence/SPECTRE181/tools.lnx86/spectre/ahdlcmi/include -c Memristor_func.c -o obj/optimize/5.0/Memristor_func.o || rm -f -f obj/optimize/5.0/Memristor_func.o
/opt/eda/cadence/SPECTRE181/tools.lnx86/spectre/ahdlcmi/bin/64bit/ahdlcc 0 /opt/eda/cadence/SPECTRE181/tools.lnx86/cdsgcc/gcc/6.3/bin/gcc -march=k8 -ffast-math -fno-unsafe-math-optimizations -O3 -m64 -DSYSV -DSVR4 -D_REENTRANT -fPIC -DconfigSPECTRE -I. -I/opt/eda/cadence/SPECTRE181/tools.lnx86/spectre/ahdlcmi/include -c Memristor_DcFuncDerLoad.c -o obj/optimize/5.0/Memristor_DcFuncDerLoad.o || rm -f -f obj/optimize/5.0/Memristor_DcFuncDerLoad.o
/opt/eda/cadence/SPECTRE181/tools.lnx86/spectre/ahdlcmi/bin/64bit/ahdlcc 0 /opt/eda/cadence/SPECTRE181/tools.lnx86/cdsgcc/gcc/6.3/bin/gcc -march=k8 -ffast-math -fno-unsafe-math-optimizations -O3 -m64 -DSYSV -DSVR4 -D_REENTRANT -fPIC -DconfigSPECTRE -I. -I/opt/eda/cadence/SPECTRE181/tools.lnx86/spectre/ahdlcmi/include -c Memristor_DcFuncLoad.c -o obj/optimize/5.0/Memristor_DcFuncLoad.o || rm -f -f obj/optimize/5.0/Memristor_DcFuncLoad.o
/opt/eda/cadence/SPECTRE181/tools.lnx86/spectre/ahdlcmi/bin/64bit/ahdlcc 0 /opt/eda/cadence/SPECTRE181/tools.lnx86/cdsgcc/gcc/6.3/bin/gcc -march=k8 -ffast-math -fno-unsafe-math-optimizations -O3 -m64 -DSYSV -DSVR4 -D_REENTRANT -fPIC -DconfigSPECTRE -I. -I/opt/eda/cadence/SPECTRE181/tools.lnx86/spectre/ahdlcmi/include -c Memristor_TranFuncDerLoad.c -o obj/optimize/5.0/Memristor_TranFuncDerLoad.o || rm -f -f obj/optimize/5.0/Memristor_TranFuncDerLoad.o
/opt/eda/cadence/SPECTRE181/tools.lnx86/spectre/ahdlcmi/bin/64bit/ahdlcc 0 /opt/eda/cadence/SPECTRE181/tools.lnx86/cdsgcc/gcc/6.3/bin/gcc -march=k8 -ffast-math -fno-unsafe-math-optimizations -O3 -m64 -DSYSV -DSVR4 -D_REENTRANT -fPIC -DconfigSPECTRE -I. -I/opt/eda/cadence/SPECTRE181/tools.lnx86/spectre/ahdlcmi/include -c Memristor_TranFuncLoad.c -o obj/optimize/5.0/Memristor_TranFuncLoad.o || rm -f -f obj/optimize/5.0/Memristor_TranFuncLoad.o
/opt/eda/cadence/SPECTRE181/tools.lnx86/spectre/ahdlcmi/bin/64bit/ahdlcc 0 /opt/eda/cadence/SPECTRE181/tools.lnx86/cdsgcc/gcc/6.3/bin/gcc -march=k8 -ffast-math -fno-unsafe-math-optimizations -O3 -m64 -DSYSV -DSVR4 -D_REENTRANT -fPIC -DconfigSPECTRE -I. -I/opt/eda/cadence/SPECTRE181/tools.lnx86/spectre/ahdlcmi/include -I/opt/eda/cadence/SPECTRE181/tools.lnx86/cmi/include -c Memristor_cmi_c.c -o obj/optimize/5.0/Memristor_cmi_c.o || rm -f -f obj/optimize/5.0/Memristor_cmi_c.o
<stdin>: In function 'Memristor_DcFuncDerLoad':
<stdin>:492:59: warning: passing argument 2 of 'Memristor_userFn_sign_der_1' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:211:49: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:507:59: warning: passing argument 2 of 'Memristor_userFn_sign_der_1' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:211:49: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:542:58: warning: passing argument 2 of 'Memristor_userFn_stp_der_1' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:212:76: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:553:58: warning: passing argument 2 of 'Memristor_userFn_stp_der_1' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:212:76: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:586:59: warning: passing argument 2 of 'Memristor_userFn_sign_der_1' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:211:49: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:601:59: warning: passing argument 2 of 'Memristor_userFn_sign_der_1' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:211:49: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:689:59: warning: passing argument 2 of 'Memristor_userFn_sign_der_1' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:211:49: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:714:59: warning: passing argument 2 of 'Memristor_userFn_sign_der_1' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:211:49: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:878:60: warning: passing argument 2 of 'Memristor_userFn_sign_der_1' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:211:49: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:893:60: warning: passing argument 2 of 'Memristor_userFn_sign_der_1' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:211:49: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:930:59: warning: passing argument 2 of 'Memristor_userFn_stp_der_1' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:212:76: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:941:59: warning: passing argument 2 of 'Memristor_userFn_stp_der_1' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:212:76: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>: In function 'Memristor_TranFuncLoad':
<stdin>: In function 'Memristor_DcFuncLoad':
<stdin>:326:56: warning: passing argument 2 of 'Memristor_userFn_sign_0' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:326:56: warning: passing argument 2 of 'Memristor_userFn_sign_0' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:209:6: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:209:6: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:974:60: warning: passing argument 2 of 'Memristor_userFn_sign_der_1' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:211:49: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:341:56: warning: passing argument 2 of 'Memristor_userFn_sign_0' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:341:56: warning: passing argument 2 of 'Memristor_userFn_sign_0' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:209:6: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:209:6: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:989:60: warning: passing argument 2 of 'Memristor_userFn_sign_der_1' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:211:49: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:363:55: warning: passing argument 2 of 'Memristor_userFn_stp_0' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:363:55: warning: passing argument 2 of 'Memristor_userFn_stp_0' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:210:28: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:210:28: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:374:55: warning: passing argument 2 of 'Memristor_userFn_stp_0' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:374:55: warning: passing argument 2 of 'Memristor_userFn_stp_0' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:210:28: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:210:28: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:394:56: warning: passing argument 2 of 'Memristor_userFn_sign_0' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:394:56: warning: passing argument 2 of 'Memristor_userFn_sign_0' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:209:6: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:209:6: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:409:56: warning: passing argument 2 of 'Memristor_userFn_sign_0' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:409:56: warning: passing argument 2 of 'Memristor_userFn_sign_0' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:209:6: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:209:6: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>: In function 'Memristor_TranFuncDerLoad':
<stdin>:492:60: warning: passing argument 2 of 'Memristor_userFn_sign_der_1' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:211:49: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>: In function 'Memristor_AcLoad':
<stdin>:521:60: warning: passing argument 2 of 'Memristor_userFn_sign_der_1' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:211:49: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:507:60: warning: passing argument 2 of 'Memristor_userFn_sign_der_1' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:211:49: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:536:60: warning: passing argument 2 of 'Memristor_userFn_sign_der_1' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:211:49: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:469:56: warning: passing argument 2 of 'Memristor_userFn_sign_0' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:469:56: warning: passing argument 2 of 'Memristor_userFn_sign_0' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:209:6: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:209:6: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:1171:60: warning: passing argument 2 of 'Memristor_userFn_sign_der_1' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:211:49: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:1186:60: warning: passing argument 2 of 'Memristor_userFn_sign_der_1' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:211:49: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:542:59: warning: passing argument 2 of 'Memristor_userFn_stp_der_1' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:571:59: warning: passing argument 2 of 'Memristor_userFn_stp_der_1' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:212:76: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:212:76: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:484:56: warning: passing argument 2 of 'Memristor_userFn_sign_0' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:484:56: warning: passing argument 2 of 'Memristor_userFn_sign_0' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:209:6: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:209:6: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:582:59: warning: passing argument 2 of 'Memristor_userFn_stp_der_1' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:212:76: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:553:59: warning: passing argument 2 of 'Memristor_userFn_stp_der_1' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:212:76: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:1228:59: warning: passing argument 2 of 'Memristor_userFn_stp_der_1' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:212:76: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:1237:59: warning: passing argument 2 of 'Memristor_userFn_stp_der_1' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:212:76: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:615:60: warning: passing argument 2 of 'Memristor_userFn_sign_der_1' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:211:49: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:586:60: warning: passing argument 2 of 'Memristor_userFn_sign_der_1' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:211:49: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:1277:60: warning: passing argument 2 of 'Memristor_userFn_sign_der_1' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:211:49: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:630:60: warning: passing argument 2 of 'Memristor_userFn_sign_der_1' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:211:49: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:1292:60: warning: passing argument 2 of 'Memristor_userFn_sign_der_1' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:211:49: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:601:60: warning: passing argument 2 of 'Memristor_userFn_sign_der_1' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:211:49: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:581:56: warning: passing argument 2 of 'Memristor_userFn_sign_0' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:581:56: warning: passing argument 2 of 'Memristor_userFn_sign_0' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:209:6: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:209:6: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:596:56: warning: passing argument 2 of 'Memristor_userFn_sign_0' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:596:56: warning: passing argument 2 of 'Memristor_userFn_sign_0' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:209:6: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:209:6: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:620:55: warning: passing argument 2 of 'Memristor_userFn_stp_0' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:210:28: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:620:55: warning: passing argument 2 of 'Memristor_userFn_stp_0' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:210:28: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:631:55: warning: passing argument 2 of 'Memristor_userFn_stp_0' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:210:28: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:718:60: warning: passing argument 2 of 'Memristor_userFn_sign_der_1' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:631:55: warning: passing argument 2 of 'Memristor_userFn_stp_0' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:211:49: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:210:28: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:689:60: warning: passing argument 2 of 'Memristor_userFn_sign_der_1' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:211:49: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:651:56: warning: passing argument 2 of 'Memristor_userFn_sign_0' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:209:6: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:651:56: warning: passing argument 2 of 'Memristor_userFn_sign_0' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:209:6: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:666:56: warning: passing argument 2 of 'Memristor_userFn_sign_0' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:209:6: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:743:60: warning: passing argument 2 of 'Memristor_userFn_sign_der_1' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:666:56: warning: passing argument 2 of 'Memristor_userFn_sign_0' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:1471:60: warning: passing argument 2 of 'Memristor_userFn_sign_der_1' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:211:49: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:209:6: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:211:49: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:1484:60: warning: passing argument 2 of 'Memristor_userFn_sign_der_1' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:211:49: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:714:60: warning: passing argument 2 of 'Memristor_userFn_sign_der_1' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:211:49: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:1526:59: warning: passing argument 2 of 'Memristor_userFn_stp_der_1' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:212:76: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:1535:59: warning: passing argument 2 of 'Memristor_userFn_stp_der_1' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:212:76: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:1573:60: warning: passing argument 2 of 'Memristor_userFn_sign_der_1' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:211:49: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:1586:60: warning: passing argument 2 of 'Memristor_userFn_sign_der_1' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:211:49: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:777:56: warning: passing argument 2 of 'Memristor_userFn_sign_0' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:209:6: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:777:56: warning: passing argument 2 of 'Memristor_userFn_sign_0' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:209:6: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:792:56: warning: passing argument 2 of 'Memristor_userFn_sign_0' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:209:6: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:792:56: warning: passing argument 2 of 'Memristor_userFn_sign_0' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:209:6: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:814:55: warning: passing argument 2 of 'Memristor_userFn_stp_0' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:210:28: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:814:55: warning: passing argument 2 of 'Memristor_userFn_stp_0' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:210:28: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:823:55: warning: passing argument 2 of 'Memristor_userFn_stp_0' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:210:28: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:907:60: warning: passing argument 2 of 'Memristor_userFn_sign_der_1' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:211:49: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:823:55: warning: passing argument 2 of 'Memristor_userFn_stp_0' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:210:28: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:843:56: warning: passing argument 2 of 'Memristor_userFn_sign_0' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:209:6: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:878:60: warning: passing argument 2 of 'Memristor_userFn_sign_der_1' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:211:49: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:922:60: warning: passing argument 2 of 'Memristor_userFn_sign_der_1' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:211:49: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:843:56: warning: passing argument 2 of 'Memristor_userFn_sign_0' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:858:56: warning: passing argument 2 of 'Memristor_userFn_sign_0' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:209:6: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:209:6: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:893:60: warning: passing argument 2 of 'Memristor_userFn_sign_der_1' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:211:49: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:858:56: warning: passing argument 2 of 'Memristor_userFn_sign_0' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:209:6: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:1747:170: warning: passing argument 1 of 'aslDevInterAddStaticElement' makes pointer from integer without a cast [-Wint-conversion]
<stdin>:959:59: warning: passing argument 2 of 'Memristor_userFn_stp_der_1' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:212:76: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:930:59: warning: passing argument 2 of 'Memristor_userFn_stp_der_1' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:212:76: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:970:59: warning: passing argument 2 of 'Memristor_userFn_stp_der_1' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:212:76: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:941:59: warning: passing argument 2 of 'Memristor_userFn_stp_der_1' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:212:76: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
In file included from <stdin>:24:0:
/opt/eda/cadence/SPECTRE181/tools.lnx86/spectre/ahdlcmi/include/ahdlDevLibGlobal.h:2167:33: note: expected 'void *' but argument is of type 'long int'
ASL_FUNC_DECL_START extern long aslDevInterAddStaticElement( void *, double, struct ahdlFuncModeParam * );
^~~~~~~~~~~~~~~~~~~~~~~~~~~
<stdin>:1003:60: warning: passing argument 2 of 'Memristor_userFn_sign_der_1' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:211:49: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:1754:110: warning: passing argument 1 of 'aslDevInterAddStaticElement' makes pointer from integer without a cast [-Wint-conversion]
In file included from <stdin>:24:0:
/opt/eda/cadence/SPECTRE181/tools.lnx86/spectre/ahdlcmi/include/ahdlDevLibGlobal.h:2167:33: note: expected 'void *' but argument is of type 'long int'
ASL_FUNC_DECL_START extern long aslDevInterAddStaticElement( void *, double, struct ahdlFuncModeParam * );
^~~~~~~~~~~~~~~~~~~~~~~~~~~
<stdin>:1756:139: warning: passing argument 1 of 'aslDevInterAddStaticElement' makes pointer from integer without a cast [-Wint-conversion]
In file included from <stdin>:24:0:
/opt/eda/cadence/SPECTRE181/tools.lnx86/spectre/ahdlcmi/include/ahdlDevLibGlobal.h:2167:33: note: expected 'void *' but argument is of type 'long int'
ASL_FUNC_DECL_START extern long aslDevInterAddStaticElement( void *, double, struct ahdlFuncModeParam * );
^~~~~~~~~~~~~~~~~~~~~~~~~~~
<stdin>:974:60: warning: passing argument 2 of 'Memristor_userFn_sign_der_1' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:1757:68: warning: passing argument 1 of 'aslDevInterAddStaticElement' makes pointer from integer without a cast [-Wint-conversion]
<stdin>:211:49: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
In file included from <stdin>:24:0:
/opt/eda/cadence/SPECTRE181/tools.lnx86/spectre/ahdlcmi/include/ahdlDevLibGlobal.h:2167:33: note: expected 'void *' but argument is of type 'long int'
ASL_FUNC_DECL_START extern long aslDevInterAddStaticElement( void *, double, struct ahdlFuncModeParam * );
^~~~~~~~~~~~~~~~~~~~~~~~~~~
<stdin>:948:56: warning: passing argument 2 of 'Memristor_userFn_sign_0' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:209:6: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:1018:60: warning: passing argument 2 of 'Memristor_userFn_sign_der_1' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:211:49: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:1769:68: warning: passing argument 1 of 'aslDevInterAddStaticElement' makes pointer from integer without a cast [-Wint-conversion]
<stdin>: In function 'Memristor_pPrintDescription':
In file included from <stdin>:24:0:
/opt/eda/cadence/SPECTRE181/tools.lnx86/spectre/ahdlcmi/include/ahdlDevLibGlobal.h:2167:33: note: expected 'void *' but argument is of type 'long int'
ASL_FUNC_DECL_START extern long aslDevInterAddStaticElement( void *, double, struct ahdlFuncModeParam * );
^~~~~~~~~~~~~~~~~~~~~~~~~~~
<stdin>:989:60: warning: passing argument 2 of 'Memristor_userFn_sign_der_1' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:1705:229: warning: implicit declaration of function 'msgWrite' [-Wimplicit-function-declaration]
<stdin>:1770:68: warning: passing argument 1 of 'aslDevInterAddStaticElement' makes pointer from integer without a cast [-Wint-conversion]
<stdin>:211:49: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
In file included from <stdin>:24:0:
/opt/eda/cadence/SPECTRE181/tools.lnx86/spectre/ahdlcmi/include/ahdlDevLibGlobal.h:2167:33: note: expected 'void *' but argument is of type 'long int'
ASL_FUNC_DECL_START extern long aslDevInterAddStaticElement( void *, double, struct ahdlFuncModeParam * );
^~~~~~~~~~~~~~~~~~~~~~~~~~~
<stdin>:961:56: warning: passing argument 2 of 'Memristor_userFn_sign_0' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:209:6: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:948:56: warning: passing argument 2 of 'Memristor_userFn_sign_0' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:1705:1588: warning: implicit declaration of function 'devGetRFinFreqDomain' [-Wimplicit-function-declaration]
<stdin>:209:6: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:1775:177: warning: passing argument 1 of 'aslDevInterAddStaticElement' makes pointer from integer without a cast [-Wint-conversion]
In file included from <stdin>:24:0:
/opt/eda/cadence/SPECTRE181/tools.lnx86/spectre/ahdlcmi/include/ahdlDevLibGlobal.h:2167:33: note: expected 'void *' but argument is of type 'long int'
ASL_FUNC_DECL_START extern long aslDevInterAddStaticElement( void *, double, struct ahdlFuncModeParam * );
^~~~~~~~~~~~~~~~~~~~~~~~~~~
<stdin>:961:56: warning: passing argument 2 of 'Memristor_userFn_sign_0' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:1782:117: warning: passing argument 1 of 'aslDevInterAddStaticElement' makes pointer from integer without a cast [-Wint-conversion]
<stdin>:209:6: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
In file included from <stdin>:24:0:
/opt/eda/cadence/SPECTRE181/tools.lnx86/spectre/ahdlcmi/include/ahdlDevLibGlobal.h:2167:33: note: expected 'void *' but argument is of type 'long int'
ASL_FUNC_DECL_START extern long aslDevInterAddStaticElement( void *, double, struct ahdlFuncModeParam * );
^~~~~~~~~~~~~~~~~~~~~~~~~~~
<stdin>:983:55: warning: passing argument 2 of 'Memristor_userFn_stp_0' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:1784:146: warning: passing argument 1 of 'aslDevInterAddStaticElement' makes pointer from integer without a cast [-Wint-conversion]
<stdin>:210:28: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
In file included from <stdin>:24:0:
/opt/eda/cadence/SPECTRE181/tools.lnx86/spectre/ahdlcmi/include/ahdlDevLibGlobal.h:2167:33: note: expected 'void *' but argument is of type 'long int'
ASL_FUNC_DECL_START extern long aslDevInterAddStaticElement( void *, double, struct ahdlFuncModeParam * );
^~~~~~~~~~~~~~~~~~~~~~~~~~~
<stdin>:1785:68: warning: passing argument 1 of 'aslDevInterAddStaticElement' makes pointer from integer without a cast [-Wint-conversion]
In file included from <stdin>:24:0:
/opt/eda/cadence/SPECTRE181/tools.lnx86/spectre/ahdlcmi/include/ahdlDevLibGlobal.h:2167:33: note: expected 'void *' but argument is of type 'long int'
ASL_FUNC_DECL_START extern long aslDevInterAddStaticElement( void *, double, struct ahdlFuncModeParam * );
^~~~~~~~~~~~~~~~~~~~~~~~~~~
<stdin>:992:55: warning: passing argument 2 of 'Memristor_userFn_stp_0' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:210:28: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:983:55: warning: passing argument 2 of 'Memristor_userFn_stp_0' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:210:28: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:1010:56: warning: passing argument 2 of 'Memristor_userFn_sign_0' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:209:6: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:992:55: warning: passing argument 2 of 'Memristor_userFn_stp_0' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:210:28: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:1023:56: warning: passing argument 2 of 'Memristor_userFn_sign_0' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:209:6: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:1010:56: warning: passing argument 2 of 'Memristor_userFn_sign_0' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:209:6: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:1023:56: warning: passing argument 2 of 'Memristor_userFn_sign_0' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:209:6: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:1200:60: warning: passing argument 2 of 'Memristor_userFn_sign_der_1' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:211:49: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:1123:170: warning: passing argument 1 of 'aslDevInterAddStaticElement' makes pointer from integer without a cast [-Wint-conversion]
<stdin>:1171:60: warning: passing argument 2 of 'Memristor_userFn_sign_der_1' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:211:49: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>: In function 'Memristor_pGetInstanceParams':
<stdin>:1720:1576: warning: implicit declaration of function 'devGetInstKnotStatus' [-Wimplicit-function-declaration]
<stdin>:1215:60: warning: passing argument 2 of 'Memristor_userFn_sign_der_1' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:211:49: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:1186:60: warning: passing argument 2 of 'Memristor_userFn_sign_der_1' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:211:49: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:1123:170: warning: passing argument 1 of 'aslDevInterAddStaticElement' makes pointer from integer without a cast [-Wint-conversion]
In file included from <stdin>:24:0:
/opt/eda/cadence/SPECTRE181/tools.lnx86/spectre/ahdlcmi/include/ahdlDevLibGlobal.h:2167:33: note: expected 'void *' but argument is of type 'long int'
ASL_FUNC_DECL_START extern long aslDevInterAddStaticElement( void *, double, struct ahdlFuncModeParam * );
^~~~~~~~~~~~~~~~~~~~~~~~~~~
<stdin>:1257:59: warning: passing argument 2 of 'Memristor_userFn_stp_der_1' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:212:76: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:1228:59: warning: passing argument 2 of 'Memristor_userFn_stp_der_1' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:212:76: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:1266:59: warning: passing argument 2 of 'Memristor_userFn_stp_der_1' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:212:76: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:1237:59: warning: passing argument 2 of 'Memristor_userFn_stp_der_1' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:212:76: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:1140:177: warning: passing argument 1 of 'aslDevInterAddStaticElement' makes pointer from integer without a cast [-Wint-conversion]
In file included from <stdin>:24:0:
/opt/eda/cadence/SPECTRE181/tools.lnx86/spectre/ahdlcmi/include/ahdlDevLibGlobal.h:2167:33: note: expected 'void *' but argument is of type 'long int'
ASL_FUNC_DECL_START extern long aslDevInterAddStaticElement( void *, double, struct ahdlFuncModeParam * );
^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from <stdin>:24:0:
/opt/eda/cadence/SPECTRE181/tools.lnx86/spectre/ahdlcmi/include/ahdlDevLibGlobal.h:2167:33: note: expected 'void *' but argument is of type 'long int'
ASL_FUNC_DECL_START extern long aslDevInterAddStaticElement( void *, double, struct ahdlFuncModeParam * );
^~~~~~~~~~~~~~~~~~~~~~~~~~~
<stdin>:1306:60: warning: passing argument 2 of 'Memristor_userFn_sign_der_1' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:1140:177: warning: passing argument 1 of 'aslDevInterAddStaticElement' makes pointer from integer without a cast [-Wint-conversion]
<stdin>:211:49: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
In file included from <stdin>:24:0:
/opt/eda/cadence/SPECTRE181/tools.lnx86/spectre/ahdlcmi/include/ahdlDevLibGlobal.h:2167:33: note: expected 'void *' but argument is of type 'long int'
ASL_FUNC_DECL_START extern long aslDevInterAddStaticElement( void *, double, struct ahdlFuncModeParam * );
^~~~~~~~~~~~~~~~~~~~~~~~~~~
<stdin>:1277:60: warning: passing argument 2 of 'Memristor_userFn_sign_der_1' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:211:49: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:1321:60: warning: passing argument 2 of 'Memristor_userFn_sign_der_1' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:211:49: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:1292:60: warning: passing argument 2 of 'Memristor_userFn_sign_der_1' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:211:49: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>: In function 'Memristor_pDC_Load':
<stdin>:1737:3000: warning: passing argument 1 of 'aslDevFillZeorDiagonalElemet' makes pointer from integer without a cast [-Wint-conversion]
In file included from <stdin>:24:0:
/opt/eda/cadence/SPECTRE181/tools.lnx86/spectre/ahdlcmi/include/ahdlDevLibGlobal.h:2711:33: note: expected 'void *' but argument is of type 'long int'
ASL_FUNC_DECL_START extern void aslDevFillZeorDiagonalElemet( void *, int, unsigned int, struct ahdlFuncModeParam * );
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
<stdin>:1500:60: warning: passing argument 2 of 'Memristor_userFn_sign_der_1' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:211:49: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:1471:60: warning: passing argument 2 of 'Memristor_userFn_sign_der_1' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:211:49: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:1513:60: warning: passing argument 2 of 'Memristor_userFn_sign_der_1' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:211:49: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:1484:60: warning: passing argument 2 of 'Memristor_userFn_sign_der_1' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:211:49: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:1555:59: warning: passing argument 2 of 'Memristor_userFn_stp_der_1' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:212:76: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:1526:59: warning: passing argument 2 of 'Memristor_userFn_stp_der_1' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:1564:59: warning: passing argument 2 of 'Memristor_userFn_stp_der_1' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:212:76: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:212:76: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:1535:59: warning: passing argument 2 of 'Memristor_userFn_stp_der_1' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:212:76: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:1602:60: warning: passing argument 2 of 'Memristor_userFn_sign_der_1' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:211:49: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:1573:60: warning: passing argument 2 of 'Memristor_userFn_sign_der_1' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:1615:60: warning: passing argument 2 of 'Memristor_userFn_sign_der_1' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:211:49: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:211:49: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>:1586:60: warning: passing argument 2 of 'Memristor_userFn_sign_der_1' from incompatible pointer type [-Wincompatible-pointer-types]
<stdin>:211:49: note: expected 'struct MemristorInstData *' but argument is of type 'char *'
<stdin>: In function 'Memristor_pCompare':
<stdin>:1776:1064: warning: implicit declaration of function 'spReplaceMatrixPointer' [-Wimplicit-function-declaration]
<stdin>:1776:2725: warning: assignment makes integer from pointer without a cast [-Wint-conversion]
<stdin>:1776:2806: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [-Wint-conversion]
In file included from /opt/eda/cadence/SPECTRE181/tools.lnx86/spectre/ahdlcmi/include/ahdlPiCmi.h:5:0,
from /opt/eda/cadence/SPECTRE181/tools.lnx86/spectre/ahdlcmi/include/ahdlDevLibGlobal.h:83,
from <stdin>:24:
/usr/include/string.h:42:14: note: expected 'void * restrict' but argument is of type 'long int'
extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
^~~~~~
<stdin>:1776:2841: warning: passing argument 2 of 'memcpy' makes pointer from integer without a cast [-Wint-conversion]
In file included from /opt/eda/cadence/SPECTRE181/tools.lnx86/spectre/ahdlcmi/include/ahdlPiCmi.h:5:0,
from /opt/eda/cadence/SPECTRE181/tools.lnx86/spectre/ahdlcmi/include/ahdlDevLibGlobal.h:83,
from <stdin>:24:
/usr/include/string.h:42:14: note: expected 'const void * restrict' but argument is of type 'long int'
extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
^~~~~~
<stdin>:1776:2969: warning: assignment makes integer from pointer without a cast [-Wint-conversion]
<stdin>:1747:170: warning: passing argument 1 of 'aslDevInterAddStaticElement' makes pointer from integer without a cast [-Wint-conversion]
<stdin>: In function 'Memristor_pGetMatrixPointers':
<stdin>:1782:2403: warning: assignment makes integer from pointer without a cast [-Wint-conversion]
<stdin>:1782:2547: warning: assignment makes integer from pointer without a cast [-Wint-conversion]
In file included from <stdin>:24:0:
/opt/eda/cadence/SPECTRE181/tools.lnx86/spectre/ahdlcmi/include/ahdlDevLibGlobal.h:2167:33: note: expected 'void *' but argument is of type 'long int'
ASL_FUNC_DECL_START extern long aslDevInterAddStaticElement( void *, double, struct ahdlFuncModeParam * );
^~~~~~~~~~~~~~~~~~~~~~~~~~~
<stdin>:1754:110: warning: passing argument 1 of 'aslDevInterAddStaticElement' makes pointer from integer without a cast [-Wint-conversion]
In file included from <stdin>:24:0:
/opt/eda/cadence/SPECTRE181/tools.lnx86/spectre/ahdlcmi/include/ahdlDevLibGlobal.h:2167:33: note: expected 'void *' but argument is of type 'long int'
ASL_FUNC_DECL_START extern long aslDevInterAddStaticElement( void *, double, struct ahdlFuncModeParam * );
^~~~~~~~~~~~~~~~~~~~~~~~~~~
<stdin>:1756:139: warning: passing argument 1 of 'aslDevInterAddStaticElement' makes pointer from integer without a cast [-Wint-conversion]
In file included from <stdin>:24:0:
/opt/eda/cadence/SPECTRE181/tools.lnx86/spectre/ahdlcmi/include/ahdlDevLibGlobal.h:2167:33: note: expected 'void *' but argument is of type 'long int'
ASL_FUNC_DECL_START extern long aslDevInterAddStaticElement( void *, double, struct ahdlFuncModeParam * );
^~~~~~~~~~~~~~~~~~~~~~~~~~~
<stdin>:1757:68: warning: passing argument 1 of 'aslDevInterAddStaticElement' makes pointer from integer without a cast [-Wint-conversion]
In file included from <stdin>:24:0:
/opt/eda/cadence/SPECTRE181/tools.lnx86/spectre/ahdlcmi/include/ahdlDevLibGlobal.h:2167:33: note: expected 'void *' but argument is of type 'long int'
ASL_FUNC_DECL_START extern long aslDevInterAddStaticElement( void *, double, struct ahdlFuncModeParam * );
^~~~~~~~~~~~~~~~~~~~~~~~~~~
<stdin>:1769:68: warning: passing argument 1 of 'aslDevInterAddStaticElement' makes pointer from integer without a cast [-Wint-conversion]
In file included from <stdin>:24:0:
/opt/eda/cadence/SPECTRE181/tools.lnx86/spectre/ahdlcmi/include/ahdlDevLibGlobal.h:2167:33: note: expected 'void *' but argument is of type 'long int'
ASL_FUNC_DECL_START extern long aslDevInterAddStaticElement( void *, double, struct ahdlFuncModeParam * );
^~~~~~~~~~~~~~~~~~~~~~~~~~~
<stdin>:1770:68: warning: passing argument 1 of 'aslDevInterAddStaticElement' makes pointer from integer without a cast [-Wint-conversion]
In file included from <stdin>:24:0:
/opt/eda/cadence/SPECTRE181/tools.lnx86/spectre/ahdlcmi/include/ahdlDevLibGlobal.h:2167:33: note: expected 'void *' but argument is of type 'long int'
ASL_FUNC_DECL_START extern long aslDevInterAddStaticElement( void *, double, struct ahdlFuncModeParam * );
^~~~~~~~~~~~~~~~~~~~~~~~~~~
<stdin>:1775:177: warning: passing argument 1 of 'aslDevInterAddStaticElement' makes pointer from integer without a cast [-Wint-conversion]
In file included from <stdin>:24:0:
/opt/eda/cadence/SPECTRE181/tools.lnx86/spectre/ahdlcmi/include/ahdlDevLibGlobal.h:2167:33: note: expected 'void *' but argument is of type 'long int'
ASL_FUNC_DECL_START extern long aslDevInterAddStaticElement( void *, double, struct ahdlFuncModeParam * );
^~~~~~~~~~~~~~~~~~~~~~~~~~~
<stdin>:1782:117: warning: passing argument 1 of 'aslDevInterAddStaticElement' makes pointer from integer without a cast [-Wint-conversion]
In file included from <stdin>:24:0:
/opt/eda/cadence/SPECTRE181/tools.lnx86/spectre/ahdlcmi/include/ahdlDevLibGlobal.h:2167:33: note: expected 'void *' but argument is of type 'long int'
ASL_FUNC_DECL_START extern long aslDevInterAddStaticElement( void *, double, struct ahdlFuncModeParam * );
^~~~~~~~~~~~~~~~~~~~~~~~~~~
<stdin>:1784:146: warning: passing argument 1 of 'aslDevInterAddStaticElement' makes pointer from integer without a cast [-Wint-conversion]
In file included from <stdin>:24:0:
/opt/eda/cadence/SPECTRE181/tools.lnx86/spectre/ahdlcmi/include/ahdlDevLibGlobal.h:2167:33: note: expected 'void *' but argument is of type 'long int'
ASL_FUNC_DECL_START extern long aslDevInterAddStaticElement( void *, double, struct ahdlFuncModeParam * );
^~~~~~~~~~~~~~~~~~~~~~~~~~~
<stdin>:1785:68: warning: passing argument 1 of 'aslDevInterAddStaticElement' makes pointer from integer without a cast [-Wint-conversion]
In file included from <stdin>:24:0:
/opt/eda/cadence/SPECTRE181/tools.lnx86/spectre/ahdlcmi/include/ahdlDevLibGlobal.h:2167:33: note: expected 'void *' but argument is of type 'long int'
ASL_FUNC_DECL_START extern long aslDevInterAddStaticElement( void *, double, struct ahdlFuncModeParam * );
^~~~~~~~~~~~~~~~~~~~~~~~~~~
<stdin>: In function 'Memristor_pAnalTranLoad':
<stdin>:1819:3931: warning: passing argument 1 of 'aslDevFillZeorDiagonalElemet' makes pointer from integer without a cast [-Wint-conversion]
In file included from <stdin>:24:0:
/opt/eda/cadence/SPECTRE181/tools.lnx86/spectre/ahdlcmi/include/ahdlDevLibGlobal.h:2711:33: note: expected 'void *' but argument is of type 'long int'
ASL_FUNC_DECL_START extern void aslDevFillZeorDiagonalElemet( void *, int, unsigned int, struct ahdlFuncModeParam * );
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
<stdin>:1820:74: warning: passing argument 1 of 'aslDevFillZeroDiagQuartet' makes pointer from integer without a cast [-Wint-conversion]
In file included from <stdin>:24:0:
/opt/eda/cadence/SPECTRE181/tools.lnx86/spectre/ahdlcmi/include/ahdlDevLibGlobal.h:2713:33: note: expected 'void *' but argument is of type 'long int'
ASL_FUNC_DECL_START extern void aslDevFillZeroDiagQuartet( void *, int, unsigned int, struct ahdlFuncModeParam * );
^~~~~~~~~~~~~~~~~~~~~~~~~
<stdin>: In function 'Memristor_pSaveRestart':
<stdin>:1846:1930: warning: implicit declaration of function 'pklAccessDouble' [-Wimplicit-function-declaration]
<stdin>:1846:2009: warning: passing argument 2 of 'aslDevAvarSR' from incompatible pointer type [-Wincompatible-pointer-types]
In file included from <stdin>:24:0:
/opt/eda/cadence/SPECTRE181/tools.lnx86/spectre/ahdlcmi/include/ahdlDevLibGlobal.h:1219:39: note: expected 'struct ahdlAnalogVar *' but argument is of type 'char *'
ASL_FUNC_DECL_START extern PklError_e aslDevAvarSR( int, struct ahdlAnalogVar *, char *, char *, char *, PklJar_t * );
^~~~~~~~~~~~
<stdin>: In function 'Memristor_pSaveRestartInst':
<stdin>:1849:1925: warning: passing argument 2 of 'aslDevAvarSR' from incompatible pointer type [-Wincompatible-pointer-types]
In file included from <stdin>:24:0:
/opt/eda/cadence/SPECTRE181/tools.lnx86/spectre/ahdlcmi/include/ahdlDevLibGlobal.h:1219:39: note: expected 'struct ahdlAnalogVar *' but argument is of type 'char *'
ASL_FUNC_DECL_START extern PklError_e aslDevAvarSR( int, struct ahdlAnalogVar *, char *, char *, char *, PklJar_t * );
^~~~~~~~~~~~
<stdin>: In function 'ahdlMemristorDescInstall':
<stdin>:1930:1753: warning: implicit declaration of function 'descSetDeviceType' [-Wimplicit-function-declaration]
<stdin>:1930:1871: warning: implicit declaration of function 'descSetSetContrInfoPtr' [-Wimplicit-function-declaration]
<stdin>:1930:2231: warning: implicit declaration of function 'descSetCopySignals' [-Wimplicit-function-declaration]
<stdin>:1930:3741: warning: implicit declaration of function 'descSetPrintDescription' [-Wimplicit-function-declaration]
<stdin>:1930:3851: warning: implicit declaration of function 'descSetGetNodeNamesForBranch' [-Wimplicit-function-declaration]
rm -f -rf Memristor_ufunc.c
rm -f -rf Memristor_DcFuncLoad.c
rm -f -rf Memristor_cmi_c.c
rm -f -rf Memristor_TranFuncLoad.c
rm -f -rf Memristor_func.c
rm -f -rf Memristor_TranFuncDerLoad.c
rm -f -rf Memristor_DcFuncDerLoad.c
/opt/eda/cadence/SPECTRE181/tools.lnx86/cdsgcc/gcc/6.3/bin/gcc -shared -O3 -m64 -fPIC -o obj/optimize/5.0/libahdlcmi_Memristor.so ./obj/optimize/5.0/Memristor_ufunc.o ./obj/optimize/5.0/Memristor_func.o ./obj/optimize/5.0/Memristor_DcFuncDerLoad.o ./obj/optimize/5.0/Memristor_DcFuncLoad.o ./obj/optimize/5.0/Memristor_TranFuncDerLoad.o ./obj/optimize/5.0/Memristor_TranFuncLoad.o ./obj/optimize/5.0/Memristor_cmi_c.o -Wl,-rpath,/usr/lib -Wl,-rpath,/lib -s
ld: cannot find crti.o: No such file or directory
collect2: error: ld returned 1 exit status
gnumake: *** [obj/optimize/5.0/libahdlcmi_Memristor.so] Error 1
ERROR: ld.so: object '/opt-shared-v2/eda/cadence/IC618/tools.lnx86/dfII/../lib/64bit/libstdc++.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
gnumake: *** Warning: File `GNUmakefile' has modification time in the future (2024-02-06 18:35:58 > 2024-02-06 18:34:40)
/opt/eda/cadence/SPECTRE181/tools.lnx86/cdsgcc/gcc/6.3/bin/gcc -shared -O3 -m64 -fPIC -o obj/optimize/5.0/libahdlcmi_Memristor.so ./obj/optimize/5.0/Memristor_ufunc.o ./obj/optimize/5.0/Memristor_func.o ./obj/optimize/5.0/Memristor_DcFuncDerLoad.o ./obj/optimize/5.0/Memristor_DcFuncLoad.o ./obj/optimize/5.0/Memristor_TranFuncDerLoad.o ./obj/optimize/5.0/Memristor_TranFuncLoad.o ./obj/optimize/5.0/Memristor_cmi_c.o -Wl,-rpath,/usr/lib -Wl,-rpath,/lib -s
ld: cannot find crti.o: No such file or directory
collect2: error: ld returned 1 exit status
gnumake: *** [obj/optimize/5.0/libahdlcmi_Memristor.so] Error 1

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 1 year ago

    Which OS distribution are you running on? What is the output of "lsb_release -a" in the UNIX terminal?

    It also looks as if "crti.o" is not installed which suggests that you don't have the glibc-devel RPM installed on Linux - you might want to run <SPECTREinstDir>/bin/checkSysConf to report anything missing.

    Also, you're using a 5-year old version of Spectre - is there a good reason for that? Not that's the root cause, unless you're using a much newer OS and maybe SPECTRE18.1 was not supported on that?

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Sami048
    Sami048 over 1 year ago in reply to Andrew Beckett

    Hell Andrew,

    Unfortnately we are not able to update our os and software. However, we had run into a simialr issue with hspice and were able to fix the issue by modyfing the enviromental vaiable "LD_LIbrary_PATH". It looks like spectre also uses LD_LIBRARY path but it is internal to sofware and are unable to change like we were with hspice. Would you happen to know if we would be able to change the variable in spectre to redirect in order to possible fix the issue?

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 1 year ago in reply to Sami048
    Sami048 said:
    Would you happen to know if we would be able to change the variable in spectre to redirect in order to possible fix the issue?

    No idea, since you didn't actually answer my question about what distribution you're running on. Understanding the failure better is rather important to knowing how it might be possible to workaround it.

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information