• 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. ERROR (VACOMP-1008): Cannot compile ahdlcmi module libr...

Stats

  • Locked Locked
  • Replies 2
  • Subscribers 124
  • Views 2503
  • 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

ERROR (VACOMP-1008): Cannot compile ahdlcmi module library

FormerMember
FormerMember over 10 years ago

Hello~

I got this error while doing some simulation on our server.

I attached a ahdlcmi.out and the result of the command 

$: specter -W

sub-version 13.1.087.isr1

$: uname -a

Linux <servername> 2.6.18-371.1.2.e15 #1 SMP Tue Oct 22 12:51:53 EDT 2013 x86_64 x86_64 x86_64 GNU/Linux

$:  cat /etc/redhat-release 

CentOS release 5.10 (Final)

  • Cancel
  • FormerMember
    FormerMember over 10 years ago

    Sorry, the ahdlcmi.out has been renamed as ahdlcmi.txt and attached to this post.

    Fullscreen ahdlcmi.txt Download
    ahdlcmicompile: Compiling ahdlcmi in input.ahdlSimDB//2605_Spectre_models__._dgmvcap.va.dgmosvarcap.ahdlcmi/Linux-64/ for Linux-64 with optimize using gcc on Thu Feb 12 14:47:55 PST 2015 [5.0]
    ahdlcmicompile: Generating makefile
    PATH:  /cad/MMSIM131/tools.lnx86/cdsgcc/gcc/4.1-x86_64/install/bin:/cad/MMSIM131/bin:/cad/MMSIM131/tools/bin/64bit:/cad/MMSIM131/tools/bin:/cad/IC615/bin:/cad/IC615/tools/bin:/cad/IC615/tools.lnx86/bin/64bit:/cad/IC615/tools.lnx86/bin:/cad/IC615/share/oa/bin:/cad/IC615/tools/bin/64bit:/cad/Calibre/ixl_cal_2013.3_39.24/bin:/cad/IC615/tools/dfII/bin:/cad/IUS8.2/tools/bin:/cad/MMSIM131/tools/dfII/bin:/cad/IC615/tools/dfII/bin:.:/cad/IC615/tools/dfII/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin
    LD_LIBRARY_PATH:  /cad/MMSIM131/tools.lnx86/cdsgcc/gcc/4.1-x86_64/install/lib:/cad/MMSIM131/tools/giganta/lib/64bit:/cad/MMSIM131/tools/mdl/lib/64bit:/cad/MMSIM131/tools/mmsim/lib/64bit:/cad/MMSIM131/tools/inca/lib/64bit:/cad/MMSIM131/tools/spectre/lib/64bit:/cad/MMSIM131/tools/dfII/lib/64bit:/cad/MMSIM131/tools/lib/64bit:/cad/MMSIM131/tools/lib:/cad/IC615/tools/lib:/cad/IC615/share/oa/lib/linux_rhel40_gcc44x_64/opt:/cad/IC615/tools.lnx86/Qt/64bit/lib:/cad/IC615/tools.lnx86/dfII/lib/64bit:/cad/IC615/tools.lnx86/sev/lib/64bit:/cad/IC615/tools.lnx86/lib/64bit:/cad/IC615/tools.lnx86/lib:/cad/IUS8.2/tools.lnx86/lib/64bit:/cad/IC615/tools/Qt/64bit/lib:/cad/IC615/tools/dfII/lib/64bit:/cad/IC615/tools/sev/lib/64bit:/cad/IC615/tools/lib/64bit
    Can't exec "mpstat": No such file or directory at /cad/MMSIM131/tools.lnx86/spectre/ahdlcmi/bin/getCPUnum.pl line 41.
    /cad/MMSIM131/tools.lnx86/spectre/ahdlcmi/bin/gnumake -j2 -f GNUmakefile
    Cleaning ./obj/optimize/5.0
    rm -f -rf ./obj/optimize/5.0
    Can't exec "mpstat": No such file or directory at /cad/MMSIM131/tools.lnx86/spectre/ahdlcmi/bin/getCPUnum.pl line 41.
    Compiling C file dgmosvarcap_func.c (optimize) with -O0
    Compiling C file dgmosvarcap_DcFuncDerLoad.c (optimize)
    /cad/MMSIM131/tools.lnx86/spectre/ahdlcmi/bin/64bit/ahdlcc 0 /cad/MMSIM131/tools.lnx86/cdsgcc/gcc/4.4/bin/gcc  -march=k8 -ffast-math -O0 -m64 -DSYSV -DSVR4 -D_REENTRANT -fPIC   -DconfigSPECTRE -I. -I/cad/MMSIM131/tools.lnx86/spectre/ahdlcmi/include -c dgmosvarcap_func.c -o obj/optimize/5.0/dgmosvarcap_func.o || rm -f -f obj/optimize/5.0/dgmosvarcap_func.o
    /cad/MMSIM131/tools.lnx86/spectre/ahdlcmi/bin/64bit/ahdlcc 0 /cad/MMSIM131/tools.lnx86/cdsgcc/gcc/4.4/bin/gcc  -march=k8 -ffast-math -O0 -m64 -DSYSV -DSVR4 -D_REENTRANT -fPIC   -DconfigSPECTRE -I. -I/cad/MMSIM131/tools.lnx86/spectre/ahdlcmi/include -c dgmosvarcap_DcFuncDerLoad.c -o obj/optimize/5.0/dgmosvarcap_DcFuncDerLoad.o || rm -f -f obj/optimize/5.0/dgmosvarcap_DcFuncDerLoad.o
    <stdin>: In function 'dgmosvarcap_DcFuncDerLoad':
    <stdin>:1035: warning: passing argument 1 of 'aslDevInterAddStaticElement' makes pointer from integer without a cast
    /cad/MMSIM131/tools.lnx86/spectre/ahdlcmi/include/ahdlDevLibGlobal.h:1518: note: expected 'void *' but argument is of type 'long int'
    <stdin>:1036: warning: passing argument 1 of 'aslDevInterAddStaticElement' makes pointer from integer without a cast
    /cad/MMSIM131/tools.lnx86/spectre/ahdlcmi/include/ahdlDevLibGlobal.h:1518: note: expected 'void *' but argument is of type 'long int'
    <stdin>:1037: warning: passing argument 1 of 'aslDevInterAddStaticElement' makes pointer from integer without a cast
    /cad/MMSIM131/tools.lnx86/spectre/ahdlcmi/include/ahdlDevLibGlobal.h:1518: note: expected 'void *' but argument is of type 'long int'
    <stdin>:1038: warning: passing argument 1 of 'aslDevInterAddStaticElement' makes pointer from integer without a cast
    /cad/MMSIM131/tools.lnx86/spectre/ahdlcmi/include/ahdlDevLibGlobal.h:1518: note: expected 'void *' but argument is of type 'long int'
    <stdin>:1039: warning: passing argument 1 of 'aslDevInterAddStaticElement' makes pointer from integer without a cast
    /cad/MMSIM131/tools.lnx86/spectre/ahdlcmi/include/ahdlDevLibGlobal.h:1518: note: expected 'void *' but argument is of type 'long int'
    <stdin>:1040: warning: passing argument 1 of 'aslDevInterAddStaticElement' makes pointer from integer without a cast
    /cad/MMSIM131/tools.lnx86/spectre/ahdlcmi/include/ahdlDevLibGlobal.h:1518: note: expected 'void *' but argument is of type 'long int'
    <stdin>:1041: warning: passing argument 1 of 'aslDevInterAddStaticElement' makes pointer from integer without a cast
    /cad/MMSIM131/tools.lnx86/spectre/ahdlcmi/include/ahdlDevLibGlobal.h:1518: note: expected 'void *' but argument is of type 'long int'
    <stdin>:1042: warning: passing argument 1 of 'aslDevInterAddStaticElement' makes pointer from integer without a cast
    /cad/MMSIM131/tools.lnx86/spectre/ahdlcmi/include/ahdlDevLibGlobal.h:1518: note: expected 'void *' but argument is of type 'long int'
    <stdin>:1045: warning: passing argument 1 of 'aslDevInterAddStaticElement' makes pointer from integer without a cast
    /cad/MMSIM131/tools.lnx86/spectre/ahdlcmi/include/ahdlDevLibGlobal.h:1518: note: expected 'void *' but argument is of type 'long int'
    <stdin>:1046: warning: passing argument 1 of 'aslDevInterAddStaticElement' makes pointer from integer without a cast
    /cad/MMSIM131/tools.lnx86/spectre/ahdlcmi/include/ahdlDevLibGlobal.h:1518: note: expected 'void *' but argument is of type 'long int'
    <stdin>:1047: warning: passing argument 1 of 'aslDevInterAddStaticElement' makes pointer from integer without a cast
    /cad/MMSIM131/tools.lnx86/spectre/ahdlcmi/include/ahdlDevLibGlobal.h:1518: note: expected 'void *' but argument is of type 'long int'
    <stdin>:1048: warning: passing argument 1 of 'aslDevInterAddStaticElement' makes pointer from integer without a cast
    /cad/MMSIM131/tools.lnx86/spectre/ahdlcmi/include/ahdlDevLibGlobal.h:1518: note: expected 'void *' but argument is of type 'long int'
    rm -f -rf dgmosvarcap_func.c
    Compiling C file dgmosvarcap_DcFuncLoad.c (optimize)
    /cad/MMSIM131/tools.lnx86/spectre/ahdlcmi/bin/64bit/ahdlcc 0 /cad/MMSIM131/tools.lnx86/cdsgcc/gcc/4.4/bin/gcc  -march=k8 -ffast-math -O0 -m64 -DSYSV -DSVR4 -D_REENTRANT -fPIC   -DconfigSPECTRE -I. -I/cad/MMSIM131/tools.lnx86/spectre/ahdlcmi/include -c dgmosvarcap_DcFuncLoad.c -o obj/optimize/5.0/dgmosvarcap_DcFuncLoad.o || rm -f -f obj/optimize/5.0/dgmosvarcap_DcFuncLoad.o
    rm -f -rf dgmosvarcap_DcFuncDerLoad.c
    Compiling C file dgmosvarcap_TranFuncDerLoad.c (optimize)
    /cad/MMSIM131/tools.lnx86/spectre/ahdlcmi/bin/64bit/ahdlcc 0 /cad/MMSIM131/tools.lnx86/cdsgcc/gcc/4.4/bin/gcc  -march=k8 -ffast-math -O0 -m64 -DSYSV -DSVR4 -D_REENTRANT -fPIC   -DconfigSPECTRE -I. -I/cad/MMSIM131/tools.lnx86/spectre/ahdlcmi/include -c dgmosvarcap_TranFuncDerLoad.c -o obj/optimize/5.0/dgmosvarcap_TranFuncDerLoad.o || rm -f -f obj/optimize/5.0/dgmosvarcap_TranFuncDerLoad.o
    <stdin>: In function 'dgmosvarcap_TranFuncDerLoad':
    <stdin>:1051: warning: passing argument 1 of 'aslDevInterAddStaticElement' makes pointer from integer without a cast
    /cad/MMSIM131/tools.lnx86/spectre/ahdlcmi/include/ahdlDevLibGlobal.h:1518: note: expected 'void *' but argument is of type 'long int'
    <stdin>:1052: warning: passing argument 1 of 'aslDevInterAddStaticElement' makes pointer from integer without a cast
    /cad/MMSIM131/tools.lnx86/spectre/ahdlcmi/include/ahdlDevLibGlobal.h:1518: note: expected 'void *' but argument is of type 'long int'
    <stdin>:1053: warning: passing argument 1 of 'aslDevInterAddStaticElement' makes pointer from integer without a cast
    /cad/MMSIM131/tools.lnx86/spectre/ahdlcmi/include/ahdlDevLibGlobal.h:1518: note: expected 'void *' but argument is of type 'long int'
    <stdin>:1054: warning: passing argument 1 of 'aslDevInterAddStaticElement' makes pointer from integer without a cast
    /cad/MMSIM131/tools.lnx86/spectre/ahdlcmi/include/ahdlDevLibGlobal.h:1518: note: expected 'void *' but argument is of type 'long int'
    <stdin>:1055: warning: passing argument 1 of 'aslDevInterAddStaticElement' makes pointer from integer without a cast
    /cad/MMSIM131/tools.lnx86/spectre/ahdlcmi/include/ahdlDevLibGlobal.h:1518: note: expected 'void *' but argument is of type 'long int'
    <stdin>:1056: warning: passing argument 1 of 'aslDevInterAddStaticElement' makes pointer from integer without a cast
    /cad/MMSIM131/tools.lnx86/spectre/ahdlcmi/include/ahdlDevLibGlobal.h:1518: note: expected 'void *' but argument is of type 'long int'
    <stdin>:1057: warning: passing argument 1 of 'aslDevInterAddStaticElement' makes pointer from integer without a cast
    /cad/MMSIM131/tools.lnx86/spectre/ahdlcmi/include/ahdlDevLibGlobal.h:1518: note: expected 'void *' but argument is of type 'long int'
    <stdin>:1058: warning: passing argument 1 of 'aslDevInterAddStaticElement' makes pointer from integer without a cast
    /cad/MMSIM131/tools.lnx86/spectre/ahdlcmi/include/ahdlDevLibGlobal.h:1518: note: expected 'void *' but argument is of type 'long int'
    <stdin>:1061: warning: passing argument 1 of 'aslDevInterAddStaticElement' makes pointer from integer without a cast
    /cad/MMSIM131/tools.lnx86/spectre/ahdlcmi/include/ahdlDevLibGlobal.h:1518: note: expected 'void *' but argument is of type 'long int'
    <stdin>:1062: warning: passing argument 1 of 'aslDevInterAddStaticElement' makes pointer from integer without a cast
    /cad/MMSIM131/tools.lnx86/spectre/ahdlcmi/include/ahdlDevLibGlobal.h:1518: note: expected 'void *' but argument is of type 'long int'
    <stdin>:1063: warning: passing argument 1 of 'aslDevInterAddStaticElement' makes pointer from integer without a cast
    /cad/MMSIM131/tools.lnx86/spectre/ahdlcmi/include/ahdlDevLibGlobal.h:1518: note: expected 'void *' but argument is of type 'long int'
    <stdin>:1064: warning: passing argument 1 of 'aslDevInterAddStaticElement' makes pointer from integer without a cast
    /cad/MMSIM131/tools.lnx86/spectre/ahdlcmi/include/ahdlDevLibGlobal.h:1518: note: expected 'void *' but argument is of type 'long int'
    rm -f -rf dgmosvarcap_DcFuncLoad.c
    Compiling C file dgmosvarcap_TranFuncLoad.c (optimize)
    /cad/MMSIM131/tools.lnx86/spectre/ahdlcmi/bin/64bit/ahdlcc 0 /cad/MMSIM131/tools.lnx86/cdsgcc/gcc/4.4/bin/gcc  -march=k8 -ffast-math -O0 -m64 -DSYSV -DSVR4 -D_REENTRANT -fPIC   -DconfigSPECTRE -I. -I/cad/MMSIM131/tools.lnx86/spectre/ahdlcmi/include -c dgmosvarcap_TranFuncLoad.c -o obj/optimize/5.0/dgmosvarcap_TranFuncLoad.o || rm -f -f obj/optimize/5.0/dgmosvarcap_TranFuncLoad.o
    rm -f -rf dgmosvarcap_TranFuncDerLoad.c
    Compiling C file dgmosvarcap_OpPointCalc.c (optimize)
    /cad/MMSIM131/tools.lnx86/spectre/ahdlcmi/bin/64bit/ahdlcc 0 /cad/MMSIM131/tools.lnx86/cdsgcc/gcc/4.4/bin/gcc  -march=k8 -ffast-math -O0 -m64 -DSYSV -DSVR4 -D_REENTRANT -fPIC   -DconfigSPECTRE -I. -I/cad/MMSIM131/tools.lnx86/spectre/ahdlcmi/include -c dgmosvarcap_OpPointCalc.c -o obj/optimize/5.0/dgmosvarcap_OpPointCalc.o || rm -f -f obj/optimize/5.0/dgmosvarcap_OpPointCalc.o
    rm -f -rf dgmosvarcap_TranFuncLoad.c
    Compiling C file dgmosvarcap_cmi_c.c (optimize) with -O0
    /cad/MMSIM131/tools.lnx86/spectre/ahdlcmi/bin/64bit/ahdlcc 0 /cad/MMSIM131/tools.lnx86/cdsgcc/gcc/4.4/bin/gcc  -march=k8 -ffast-math -O0 -m64 -DSYSV -DSVR4 -D_REENTRANT -fPIC   -DconfigSPECTRE -I. -I/cad/MMSIM131/tools.lnx86/spectre/ahdlcmi/include -I/cad/MMSIM131/tools.lnx86/cmi/include -c dgmosvarcap_cmi_c.c -o obj/optimize/5.0/dgmosvarcap_cmi_c.o || rm -f -f obj/optimize/5.0/dgmosvarcap_cmi_c.o
    <stdin>: In function 'dgmosvarcap_pDC_Load':
    <stdin>:2292: warning: passing argument 1 of 'aslDevFillZeorDiagonalElemet' makes pointer from integer without a cast
    /cad/MMSIM131/tools.lnx86/spectre/ahdlcmi/include/ahdlDevLibGlobal.h:1947: note: expected 'void *' but argument is of type 'long int'
    <stdin>: In function 'dgmosvarcap_pGetMatrixPointers':
    <stdin>:2333: warning: assignment makes integer from pointer without a cast
    <stdin>: In function 'dgmosvarcap_pAnalTranLoad':
    <stdin>:2366: warning: passing argument 1 of 'aslDevFillZeorDiagonalElemet' makes pointer from integer without a cast
    /cad/MMSIM131/tools.lnx86/spectre/ahdlcmi/include/ahdlDevLibGlobal.h:1947: note: expected 'void *' but argument is of type 'long int'
    <stdin>: In function 'dgmosvarcap_pSaveRestart':
    <stdin>:2392: warning: passing argument 2 of 'aslDevAvarSR' from incompatible pointer type
    /cad/MMSIM131/tools.lnx86/spectre/ahdlcmi/include/ahdlDevLibGlobal.h:1164: note: expected 'struct ahdlAnalogVar *' but argument is of type 'char *'
    <stdin>: In function 'dgmosvarcap_pSaveRestartInst':
    <stdin>:2395: warning: passing argument 2 of 'aslDevAvarSR' from incompatible pointer type
    /cad/MMSIM131/tools.lnx86/spectre/ahdlcmi/include/ahdlDevLibGlobal.h:1164: note: expected 'struct ahdlAnalogVar *' but argument is of type 'char *'
    rm -f -rf dgmosvarcap_OpPointCalc.c
    rm -f -rf dgmosvarcap_cmi_c.c
    /cad/MMSIM131/tools.lnx86/cdsgcc/gcc/4.4/bin/gcc -shared -O0 -m64 -fPIC -o obj/optimize/5.0/dgmosvarcap_libahdlcmi.so ./obj/optimize/5.0/dgmosvarcap_func.o ./obj/optimize/5.0/dgmosvarcap_DcFuncDerLoad.o ./obj/optimize/5.0/dgmosvarcap_DcFuncLoad.o ./obj/optimize/5.0/dgmosvarcap_TranFuncDerLoad.o ./obj/optimize/5.0/dgmosvarcap_TranFuncLoad.o ./obj/optimize/5.0/dgmosvarcap_OpPointCalc.o ./obj/optimize/5.0/dgmosvarcap_cmi_c.o  -Wl,-rpath,/usr/lib -Wl,-rpath,/lib -s 
    ld: cannot find -lc
    collect2: ld returned 1 exit status
    gnumake: *** [obj/optimize/5.0/dgmosvarcap_libahdlcmi.so] Error 1
    /cad/MMSIM131/tools.lnx86/cdsgcc/gcc/4.4/bin/gcc -shared -O0 -m64 -fPIC -o obj/optimize/5.0/dgmosvarcap_libahdlcmi.so ./obj/optimize/5.0/dgmosvarcap_func.o ./obj/optimize/5.0/dgmosvarcap_DcFuncDerLoad.o ./obj/optimize/5.0/dgmosvarcap_DcFuncLoad.o ./obj/optimize/5.0/dgmosvarcap_TranFuncDerLoad.o ./obj/optimize/5.0/dgmosvarcap_TranFuncLoad.o ./obj/optimize/5.0/dgmosvarcap_OpPointCalc.o ./obj/optimize/5.0/dgmosvarcap_cmi_c.o  -Wl,-rpath,/usr/lib -Wl,-rpath,/lib -s 
    ld: cannot find -lc
    collect2: ld returned 1 exit status
    gnumake: *** [obj/optimize/5.0/dgmosvarcap_libahdlcmi.so] Error 1
    

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 10 years ago

    The failure appears to be about it not being able to find libc (which should be at /usr/lib64/libc.so since it is compiling in 64-bit mode by the looks of things).

    On a RHEL5.8 machine I have to hand, this is:

    UNIX> rpm -q -f /usr/lib64/libc.so
    glibc-devel-2.5-81.x86_64

    So you should check if you have the 64-bit glibc-devel rpm installed.

    Regards,

    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