You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by "Sergey Velikanov [UzPAK]" <vg...@uzpak.uz> on 2005/03/23 12:17:54 UTC

gprof and apache

I want profile httpd and I've compiled apache 1.3.33 with -pg -DGPROF
-g, but if i try to run apache, I receive

/usr/local/etc/rc.d/apache.sh start
Syntax error on line 206 of /usr/local/etc/apache/httpd.conf:
Cannot load /usr/local/libexec/apache/mod_mmap_static.so into server: Service
unavailable

How should I compile http to support gprof.

#uname -rs
FreeBSD 5.3-RELEASE

#cc -v
Using built-in specs.
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 3.4.2 [FreeBSD] 20040728


Sergey Velikanov
Technical  Division
National Data Network "UzPAK"
e-mail:  vgray@uzpak.uz
http://www.uzpak.uz/