linking shared libraries

Discussion in 'Cadence' started by yaseenzaidi, Feb 7, 2008.

  1. yaseenzaidi

    yaseenzaidi Guest

    Hello,

    I have developed a couple of shared libraries, CFC and VHPI, for C
    access to VHDL design and NCSIM simulator. I used Cadence recommended
    Pliwizard to compile the libraries. I get no errors while building the
    libraries. But when I dynamically link the libraries to my application
    using GNU linker I get undefined reference errors at every function
    call in both shared libraries. The shared libraries use Cadence
    provided vhpi_user.h and cfclib.h files which define various
    functions. These header files are included in the shared library
    sources. It seems that Pliwizard builds the shared libraries but does
    not properly link with other dependent sources.

    Does anyone know what are the *.so files that vhpi_user.h and cfclib.h
    files depend on? Please also share your experience of linking shared
    objects.

    Regards,

    Yaseen
     
    yaseenzaidi, Feb 7, 2008
    #1
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.