* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 linking shared libraries 

Last post Thu, Feb 7 2008 1:01 AM by archive. 0 replies.
Started by archive 07 Feb 2008 01:01 AM. Topic has 0 replies and 2628 views
Page 1 of 1 (1 items)
Sort Posts:
  • Thu, Feb 7 2008 1:01 AM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,950
    linking shared libraries Reply

    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

    Originally posted in by Yaseen
    • Post Points: 0
Page 1 of 1 (1 items)
Sort Posts:
Started by archive at 07 Feb 2008 01:01 AM. Topic has 0 replies.