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
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