This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: More on autogen 5 build failure


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]