>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:     [EMAIL PROTECTED]
>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 <[EMAIL PROTECTED]> 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!         ]



Reply via email to