You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Omar Del Rio <al...@academ01.lag.itesm.mx> on 1998/09/29 03:35:36 UTC

os-hpux/3093: #DEFINEs required in os.h are not available in dl.h in HP-UX 8

>Number:         3093
>Category:       os-hpux
>Synopsis:       #DEFINEs required in os.h are not available in dl.h in HP-UX 8
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Mon Sep 28 18:40:00 PDT 1998
>Last-Modified:
>Originator:     al112263@academ01.lag.itesm.mx
>Organization:
apache
>Release:        1.3.2
>Environment:
HP-UX hp9k A.08.00 D 9000/832 52414131
>Description:
the following DEFINEs are not in the dl.h implementation of HP

BIND_VERBOSE 0x20
BIND_NOSTART 0x10
>How-To-Repeat:
Just compile for HP-UX 8
>Fix:
I have been able to compile Apache with no problems by providing the values in os.h (I took them from HP-UX 10.20), and I have not found any problems up to this date. I admit I haven't tested the consequences of this "addition" at all (but Apache is working fine).

The code looks like this now (in os.h):

#ifdef HAVE_DL_H
#include <dl.h>
#define BIND_VERBOSE 0x20
#define BIND_NOSTART 0x10
#endif 

I suppose it would be better to check if its HPUX 8 with another IF, but this was a quick fix (no time for anything else, I needed to make Apache work).

Thanks
>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 leave the subject line UNCHANGED.  This is not done]
[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!         ]