From nobody@hyperreal.com Tue Jun 24 11:15:57 1997 Received: (from nobody@localhost) by hyperreal.com (8.8.5/8.8.5) id LAA28749; Tue, 24 Jun 1997 11:15:57 -0700 (PDT) Message-Id: <199706241815.LAA28749@hyperreal.com> Date: Tue, 24 Jun 1997 11:15:57 -0700 (PDT) From: Steven Oney Reply-To: soney@peaktech.com To: apbugs@hyperreal.com Subject: can't compile mod_env.c X-Send-Pr-Version: 3.2 >Number: 780 >Category: mod_env >Synopsis: can't compile mod_env.c >Confidential: no >Severity: serious >Priority: medium >Responsible: apache >State: closed >Class: support >Submitter-Id: apache >Arrival-Date: Tue Jun 24 11:20:01 1997 >Last-Modified: Wed Jun 25 08:53:19 PDT 1997 >Originator: soney@peaktech.com >Organization: >Release: 1.2.0 >Environment: HP-UX fozzy B.10.20 U 9000/887 482386221 unlimited-user license HP C++ CC=CC OPTIM= CFLAGS1= +a1 -DHPUX10 -D_HPUX_SOURCE -DNO_USE_SIGACTION >Description: CC -c +a1 -DHPUX10 -D_HPUX_SOURCE -DNO_USE_SIGACTION mod_env.c CC: "mod_env.c", line 107: warning: dummy not used (117) CC: "mod_env.c", line 162: warning: struct_ptr not used (117) CC: "mod_env.c", line 182: warning: struct_ptr not used (117) CC: "mod_env.c", line 208: warning: struct_ptr not used (117) CC: "mod_env.c", line 244: error: two definitions of ::env_module (1034) *** Error exit code 1 Can you discribe the system that you compiled the HP binaries on? What compiler, OS etc. I would like to talk to HP but I don't know how you compiled apache. >How-To-Repeat: >Fix: >Audit-Trail: State-Changed-From-To: open-analyzed State-Changed-By: marc State-Changed-When: Tue Jun 24 21:39:50 PDT 1997 State-Changed-Why: Why are you trying to use a C++ compiler to compile a C program? Try using cc instead. It compiles fine on a 10.20 system using either HPUX's cc or gcc. What happens if you don't mess with anything in the Configuration file? From: Marc Slemko To: apbugs@apache.org Subject: Re: mod_env/780: can't compile mod_env.c (fwd) Date: Wed, 25 Jun 1997 09:23:22 -0600 (MDT) ---------- Forwarded message ---------- Date: Wed, 25 Jun 1997 8:02:47 -0500 From: soney@peaktech.com To: marc@hyperreal.com Subject: RE: mod_env/780: can't compile mod_env.c We only have the C++ compiler. I just wanted to check that you had used HP's cc compiler to compile the binaries before talking to HP about why the C++ compiler will not compile it. Thanks Steven Oney Peak Technologies, Inc. email: soney@peaktech.com voice: (410) 312-6167 fax: (410) 309-6226 State-Changed-From-To: analyzed-closed State-Changed-By: marc State-Changed-When: Wed Jun 25 08:53:19 PDT 1997 State-Changed-Why: There are a good number of things in the Apache source that are legal in C but not in C++, so trying to compile Apache with a C++ compiler is likely to be a loosing battle. You really need to either get HP's C compiler or just install gcc and use it. >Unformatted: