Re: cvs snapshot compile problems - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: cvs snapshot compile problems
Date
Msg-id 200105220409.f4M49bq29334@candle.pha.pa.us
Whole thread Raw
In response to Re: cvs snapshot compile problems  (Patrick Welche <prlw1@newn.cam.ac.uk>)
List pgsql-hackers
This was added by Peter E to allow PL/Perl to compile.

> On Sat, May 19, 2001 at 08:03:50PM -0400, bpalmer wrote:
> > On OBSD from cvs source,  clean checkout:
> > 
> > gcc -O2 -pipe -Wall -Wmissing-prototypes -Wmissing-declarations
> > -I../../../../src/include  -DLIBDIR=\"/usr/local/pgsql/lib\
> > " -DDLSUFFIX=\".so\"  -c -o dfmgr.o dfmgr.c
> > dfmgr.c: In function `load_external_function':
> > dfmgr.c:118: `RTLD_GLOBAL' undeclared (first use in this function)
> > dfmgr.c:118: (Each undeclared identifier is reported only once
> > dfmgr.c:118: for each function it appears in.)
> > gmake[4]: *** [dfmgr.o] Error 1
> > gmake[4]: Leaving directory
> > `/home/bpalmer/APPS/pgsql/src/backend/utils/fmgr'
> > 
> > 
> > ??  RTLD_GLOBAL problems?
> 
> Not a solution, but a few data points: I had a successful build from cvs of
> May 19 16:21 GMT under NetBSD/i386, and for me RTLD_GLOBAL is defined in
> /usr/include/dlfcn.h ie., system header file, not postgresql.
> 
> Hope that helps,
> 
> Patrick
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
> 

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: Lincoln Yeoh
Date:
Subject: Re: AW: Plans for solving the VACUUM problem
Next
From: Bruce Momjian
Date:
Subject: Re: C++ Headers