Received: (qmail 17579 invoked by uid 2012); 20 Oct 1997 15:12:12 -0000 Message-Id: <19971020151212.17578.qmail@hyperreal.org> Date: 20 Oct 1997 15:12:12 -0000 From: David Schuler Reply-To: schuld@btv.ibm.com To: apbugs@hyperreal.org Subject: strtoul() function not available in AIX 1.X X-Send-Pr-Version: 3.2 >Number: 1272 >Category: os-aix >Synopsis: strtoul() function not available in AIX 1.X >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: closed >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Mon Oct 20 08:20:00 PDT 1997 >Last-Modified: Tue Oct 21 17:53:09 PDT 1997 >Originator: schuld@btv.ibm.com >Organization: >Release: 1.3b2 >Environment: Operating System: AIX 1.3.0 ptf 0024 (i386) Compiler: gcc 2.7.2.3 Compiler Options: -O3 -m486 >Description: The strtoul() function is not available on AIX under release 1.X versions of the operating system. The strtoul() function is used in the module modules/proxy/libproxy.a. Specifically, this call us used twice in the file modules/proxy/proxy_util.c. It appears that there may be need for some sort of "compatability" library that would make this function (and probably some other functions for other operating systems) available. >How-To-Repeat: Compile on an AIX 1.3 system with the module modules/proxy/libproxy.a >Fix: I was able to work around this problem by using a copy of strtoul that came from the latest Tcl/Tk 8.0 distribution. I compiled it to a .o file, and then added this file name to the EXTRA_LIBS entry in the Configuration file. It's not real pretty, but it works. A more generalized solution is recommended. I'm not positive what is the best way to recommend this be implemented in the Apache code, so I just did a quick and dirty hack to get things working with this release. If you have any suggestions about how to proceed, I can give it a try. Thanks >Audit-Trail: State-Changed-From-To: open-closed State-Changed-By: dgaudet State-Changed-When: Tue Oct 21 17:53:08 PDT 1997 State-Changed-Why: Yup we've got another PR in here already for this problem... I'm too lazy to look up the number. It should be fixed in a future beta. Dean >Unformatted: