To profile the application, use "-mas_G" (and read the book!)
The "-pg" option is not a VEX supported option; what probably happens is that you're passing "-pg" to the native gcc used for compiled simulation (which is what happens for all options not recognized by the frontend). Even if you can get it to link, you'll get a profile of the simulator, unlikely to be what you want...
-- Paolo