You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Felipe Carasso <hr...@rdc.puc-rio.br> on 1998/09/08 18:48:12 UTC
os-aix/2970: dlerror() has conflicting declarations with /usr/include/dlfcn.h
>Number: 2970
>Category: os-aix
>Synopsis: dlerror() has conflicting declarations with /usr/include/dlfcn.h
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: apache
>State: open
>Class: support
>Submitter-Id: apache
>Arrival-Date: Tue Sep 8 09:50:01 PDT 1998
>Last-Modified:
>Originator: hrimhari@rdc.puc-rio.br
>Organization:
apache
>Release: 1.3
>Environment:
AIX 4.2.1
GCC 2.7.2
$ uname -a
AIX chywolf 2 4 000124A24C00
>Description:
In src/os/unix/os-aix-dso.c , dlerror() is declared as const char * . But in
/usr/include/dlfcn.h it's only char * . These conflicting declarations make the
compilation fail.
>How-To-Repeat:
>Fix:
#ifdef AIX_DUMMY_DLERROR
char * dlerror(void)
#else
const char dlerror(void)
#endif
or something like that :)
>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! ]