Re: cvs snapshot compile problems

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Patrick Welche <prlw1(at)newn(dot)cam(dot)ac(dot)uk>
Cc: bpalmer <bpalmer(at)crimelabs(dot)net>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: cvs snapshot compile problems
Date: 2001-05-22 04:09:37
Message-ID: 200105220409.f4M49bq29334@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2001-05-22 04:19:41 Re: C++ Headers
Previous Message Lincoln Yeoh 2001-05-22 01:38:54 Re: AW: Plans for solving the VACUUM problem