You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Thomas Corte <th...@knipp.de> on 1999/09/22 12:16:26 UTC

os-hpux/5052: DSO support won't compile under HP-UX 11 on a 32-bit machine

>Number:         5052
>Category:       os-hpux
>Synopsis:       DSO support won't compile under HP-UX 11 on a 32-bit machine
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Wed Sep 22 03:20:02 PDT 1999
>Last-Modified:
>Originator:     thomas@knipp.de
>Organization:
apache
>Release:        1.3.9
>Environment:
HP-UX 11.00 A 9000/735, full ANSI C compiler,
(running on a _32_-bit machine)
>Description:
I am trying to compile Apache 1.3.9 under HP-UX 11 on a 32-bit machine.

This fails because configure seems to assume dlopen() et al present
if compiling for HP-UX 11. But his assumption is only true
for real 64-bit architectures. However, I have HP-UX 11 running on
a _32_ bit machine where only shl_load() et al are available.

Setting -DHPUX additionally yields

cc: "../../include/ap_config.h", line 236: error 1584: Inconsistent type declaration: "rlim_t".
>How-To-Repeat:
Compile Apache with DSO-support on a 32-bit machine under HP-UX 11 :-)
>Fix:
Change configuration process - do no longer assume dlopen() available
if running under HP-UX11 bit also check for 64-bit arch.
Change all #ifdefs depending on HPUX* accordingly.
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, you need]
[to include <ap...@Apache.Org> 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!     ]