remove comparison links from magento

Copy app/code/core/Mage/Catalog/Helper/Product/Compare.php
to app/code/local/Mage/Catalog/Helper/Product/ (create missing directories)

Edit
app/code/local/Mage/Catalog/Helper/Product/Compare.php
after:

public function getAddUrl($product)
{

add:

return false;