• Home
  • :
  • Community
  • :
  • Forums
  • :
  • Hardware/Software Co-Development, Verification…
  • :
  • linking shared libraries

Hardware/Software Co-Development, Verification and Integration Forums

linking shared libraries

admin
admin over 12 years ago

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. I am now poised to build the libraries with Makefile template which is hierarchal and definitely not a pretty option. Please share you experience of linking shared objects. Regards, Yaseen

  • Reply
  • Cancel
  • 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.