Date: Sat, 15 Mar 1997 23:47:35 -0400 (AST) From: The Hermit Hacker <scrappy@hub.org> To: Gary Crutcher <gcrutchr@nightflight.com> Cc: freebsd-questions@freebsd.org Subject: Re: Postgres95 compile errors Message-ID: <Pine.BSF.3.95.970315234648.205t-100000@thelab.hub.org> In-Reply-To: <3.0.1.32.19970315191359.006aa650@nightflight.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 15 Mar 1997, Gary Crutcher wrote: > Hi, > > I am trying to compile postgres95 v6.0 under > fbsd v2.1.7 and am getting the following errors: > > gmake[3]: Entering directory `/nf1/postgres95/src/backend/port/BSD44_derived' > gcc -Wall -Wmissing-prototypes -O2 -DBSD44_derived -I../.. > -I../../../include -c dl.c -o dl.o > In file included from dl.c:41: > /usr/include/dlfcn.h:41: conflicting types for `dlopen' > /usr/include/link.h:187: previous declaration of `dlopen' > /usr/include/dlfcn.h:42: conflicting types for `dlsym' > /usr/include/link.h:189: previous declaration of `dlsym' Go into /usr/include/link.h, and change the prototypes for dlopen/dlsym so that they don't have 'const' as part of the arguments... It might be /usr/include/dlfcn.h that has it, so check both... This has been fixed in 2.2+ releases of FreeBSD...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95.970315234648.205t-100000>
