Received: (qmail 53430 invoked by uid 65534); 21 Feb 2000 10:40:55 -0000 Message-Id: <20000221104055.53429.qmail@locus.apache.org> Date: 21 Feb 2000 10:40:55 -0000 From: Mike Mondragon Reply-To: dragon@gocougs.wsu.edu To: submit@bugz.apache.org Subject: GPROF defines in http_main.c X-Send-Pr-Version: 3.110 >Number: 5787 >Category: test >Synopsis: GPROF defines in http_main.c >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: closed >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Mon Feb 21 02:50:00 PST 2000 >Closed-Date: Wed Feb 13 14:18:54 PST 2002 >Last-Modified: Wed Feb 13 14:18:54 PST 2002 >Originator: dragon@gocougs.wsu.edu >Release: 1.3.11 >Organization: >Environment: linux rh6.1, 686 SMP, glibc2.1.1, GCC >Description: I was configuring the 1.3.11 release for gprof profiling support with a CFLAGS="-pg -DGPROF" pushed into ./configure . So then httpd builds as a monolithic process by way of the extern "moncontrol()" function in http_main.c. BUT moncontrol(int) is not defined anywhere else in the source (or system libs for that matter) thus I get a linker error as "moncontrol()" can't be found. Is there some extra profiling support source that I'm missing? Thanks! >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: State-Changed-From-To: open-closed State-Changed-By: marc State-Changed-When: Wed Feb 13 14:18:54 PST 2002 State-Changed-Why: moncontrol has to be supplied by your OS's profiling support. If it doesn't support it, you can't use the GPROF apache compile option since it relys on being able to use moncontrol to enable and disable profiling. >Unformatted: [In order for any reply to be added to the PR database, you need] [to include in the Cc line and make sure the] [subject line starts with the report component and number, with ] [or without any 'Re:' prefixes (such as "general/1098:" or ] ["Re: general/1098:"). If the subject doesn't match this ] [pattern, your message will be misfiled and ignored. The ] ["apbugs" address is not added to the Cc line of messages from ] [the database automatically because of the potential for mail ] [loops. If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request from a ] [developer. Reply only with text; DO NOT SEND ATTACHMENTS! ]