This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: More on autogen 5 build failure
- To: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- Subject: Re: More on autogen 5 build failure
- From: Andreas Jaeger <aj at suse dot de>
- Date: 20 May 2001 10:09:33 +0200
- Cc: gcc at gcc dot gnu dot org
- References: <10105192000.AA08428@vlsi1.ultra.nyu.edu>
kenner@vlsi1.ultra.nyu.edu (Richard Kenner) writes:
> It seems those errors are because options.h comes from /usr/local/include,
> which seems to be a related header (peculiar it's going there). But when
> I remove it, I get:
>
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I. -I/usr/local/include -I../autoopts -I
> ../autoopts -I../snprintfv -I../snprintfv -I.. -I.. -g -O2 -c opts.c
> 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.
/* If the following bit is set in the MODE argument to `dlopen',
the symbols of the loaded object and its dependencies are made
visible as if the object were linked directly into the program. */
#define RTLD_GLOBAL 0x00100
Andreas
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj