From apwww@hyperreal.org Fri Aug 8 05:35:24 1997 Received: (from apwww@localhost) by hyperreal.org (8.8.5/8.8.5) id FAA23727; Fri, 8 Aug 1997 05:35:24 -0700 (PDT) Message-Id: <199708081235.FAA23727@hyperreal.org> Date: Fri, 8 Aug 1997 05:35:24 -0700 (PDT) From: Mario Misic Reply-To: mario@laus.hr To: apbugs@hyperreal.org Subject: cannot compile apache_1.2.1 on AIX_4.2 X-Send-Pr-Version: 3.2 >Number: 979 >Category: os-aix >Synopsis: cannot compile apache_1.2.1 on AIX_4.2 >Confidential: no >Severity: serious >Priority: medium >Responsible: apache >State: closed >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Fri Aug 8 05:40:01 1997 >Originator: mario@laus.hr >Organization: >Release: 1.2.1 >Environment: AIX cc 2 4 00993507C000 Compiler is cc or gcc ! >Description: Everything compiles OK but when compiling http_main.c WARNING appears: cc -c -O2 -DAIX -U__STR__ http_main.c "http_main.c", line 1780.47: 1506-280 (W) Function argument assignment between types "unsigned long*" and "int*" is not allowed. "http_main.c", line 1825.42: 1506-280 (W) Function argument assignment between types "unsigned long*" and "int*" is not allowed. "http_main.c", line 2434.53: 1506-280 (W) Function argument assignment between types "unsigned long*" and "int*" is not allowed. "http_main.c", line 2442.51: 1506-280 (W) Function argument assignment between types "unsigned long*" and "int*" is not allowed. 1699 1500-010: (W) WARNING in child_main: Infinite loop. Program may not stop. and when linking : cc -o httpd alloc.o http_main.o http_core.o http_config.o http_request.o http_log.o http_protocol.o rfc1413.o util.o util_script.o modules.o buff.o md5c.o util_md5.o explain.o http_bprintf.o util_date.o util_snprintf.o mod_env.o mod_log_config.o mod_mime.o mod_negotiation.o mod_include.o mod_dir.o mod_cgi.o mod_asis.o mod_imap.o mod_actions.o mod_userdir.o mod_alias.o mod_access.o mod_auth.o mod_auth_anon.o mod_digest.o mod_headers.o mod_usertrack.o mod_browser.o ld: 0711-317 ERROR: Undefined symbol: .__set_errno128 ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. make: 1254-004 The error code from the last command is 8. Stop. >How-To-Repeat: >Fix: >Audit-Trail: State-Changed-From-To: open-analyzed State-Changed-By: marc State-Changed-When: Fri Aug 8 08:43:00 PDT 1997 State-Changed-Why: Try adding -lm to the EXTRA_CFLAGS line in your Configuration file, rerunning Configure, and recompiling. From: Marc Slemko To: Mario Misic Subject: Re: os-aix/979: cannot compile apache_1.2.1 on AIX_4.2 Date: Mon, 11 Aug 1997 01:02:45 -0600 (MDT) On Mon, 11 Aug 1997, Mario Misic wrote: > At 08:43 1997.08.08 -0700, Marc Slemko wrote: > >Synopsis: cannot compile apache_1.2.1 on AIX_4.2 > > > >State-Changed-From-To: open-analyzed > >State-Changed-By: marc > >State-Changed-When: Fri Aug 8 08:43:00 PDT 1997 > >State-Changed-Why: > >Try adding -lm to the EXTRA_CFLAGS line in your Configuration > >file, rerunning Configure, and recompiling. > > > > > > > > Doesn't help ! > > Error still is stil appearing ! Oops, I meant EXTRA_LIBS instead of EXTRA_CFLAGS... State-Changed-From-To: analyzed-closed State-Changed-By: marc State-Changed-When: Mon Aug 18 07:22:48 PDT 1997 State-Changed-Why: Fixed by adding -lm. From: Marc Slemko To: Apache bugs database Subject: os-aix/979: cannot compile apache_1.2.1 on AIX_4.2 (fwd) Date: Mon, 18 Aug 1997 08:22:43 -0600 (MDT) ---------- Forwarded message ---------- Date: Mon, 18 Aug 1997 14:23:39 +0200 From: "Werner [iso-8859-1] Günther" To: Marc Slemko Subject: os-aix/979: cannot compile apache_1.2.1 on AIX_4.2 As the state of PR#979 isn't 'closed', I just wanted to tell you that adding '-lm' as you suggested did the trick (using ibm 'cc' on AIX 4.2.1) Thanks for the fix, -Werner >Unformatted: >Last-Modified: Mon Aug 18 07:22:49 PDT 1997