More on autogen 5 build failure
Fergus Henderson
fjh@cs.mu.oz.au
Sun May 20 05:53:00 GMT 2001
On 25-Jun-2037, Richard Kenner, GNU C Maintainer <kenner@vlsi1.ultra.nyu.edu> wrote:
> > opts.c: In function `doOptLoad_Functions':
> > opts.c:755: `RTLD_GLOBAL' undeclared (first use in this function)
> > opts.c:755: (Each undeclared identifier is reported only once
> > opts.c:755: for each function it appears in.)
> >
> > And indeed I don't see that symbol defined anywhere in the autogen
> > package.
>
> That macro is defined when including <dlfcn.h> on my glibc2.2 based
> Linux system.
>
> Well I'm on a Dec Unix ("Tru64"). It seems there's an autoconf test
> missing.
I don't think you need an autoconf test; `#ifdef RTLD_GLOBAL'
should be sufficient.
--
Fergus Henderson <fjh@cs.mu.oz.au> | "I have always known that the pursuit
| of excellence is a lethal habit"
WWW: < http://www.cs.mu.oz.au/~fjh > | -- the last words of T. S. Garp.
More information about the Gcc
mailing list