undefined reference to `uuid_generate' with -luuid
===

I'm trying to use libuuid, but I get "undefined reference to `uuid_generate'"
I'm compiling with -luuid and have uuid-dev
Any ideas?

I'm only using the uuid_t and the uuid_generate