linking gmp in Makefile

component.cpp:(.text+0x24): undefined reference to `__gmpq_clear'
requires linking gmp

On Ubuntu 12.04, adding -lgmp to the Makefile fixes the above error.