Gprof error



Hi,

I complied a C program with -pg flag. Now when I use
gprof clamscan gmon.out

I get the following error.

gprof: clamscan: not in a.out format

Any ideas what the problem might be?

Thanks,

.