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

From Patrick Welche
Subject Re: cvs snapshot compile problems
Date
Msg-id 20010521120817.C29578@quartz.newn.cam.ac.uk
Whole thread Raw
In response to cvs snapshot compile problems  (bpalmer <bpalmer@crimelabs.net>)
Responses Re: cvs snapshot compile problems
List pgsql-hackers
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


pgsql-hackers by date:

Previous
From: Christof Petig
Date:
Subject: Re: C++ Headers
Next
From: "Arsalan Zaidi"
Date:
Subject: Using 7.1rc1 under RH 6.2