Using the following code you can obtain the Magento compare list link.

Getting the compare list link programmatically
You want or need help implementing this solution? Maybe you did not find what you were looking for? Contact me and I will assist you with whatever Magento problem troubles you!