El mar, 19-07-2005 a las 18:24 +0200, Juan J. Martmnez escribis:
> Hello,
> 
> I'm trying to profile a milter.
> 
> I compile and link it with -pg option and all seems OK, but when I run
> the binary I get the message:
> 
> # ./milter
> cannot find atexit, destructors will not be run!

For the record: *you must link vs the profile version of the libraries*

tip:

$ make CFLAGS+=-pg LDFLAGS+=-pg LIBS="-lmilter_p -lpthread_p"

regards,

Juanjo

-- 
Desarrollo y sistemas: http://www.usebox.net/
      Pagina Personal: http://www.usebox.net/jjm/

Reply via email to