Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Feb 1997 12:57:49 -0800 (PST)
From:      "Eric J. Schwertfeger" <ejs@bfd.com>
To:        questions@freebsd.org
Subject:   PostgreSQL compile problem
Message-ID:  <Pine.BSF.3.95.970213125155.7652A-100000@harlie>

next in thread | raw e-mail | index | archive | help
I'm trying to get PostgreSQL 6.0 compiled under FreeBSD 2.1.5, and since
it isn't in the ports yet (just released on the 10th), I'm trying to do it
the hard way, maybe submitting the end result myself.

However, I'm getting the following.

gmake[3]: Entering directory
`/usr/local/pgsql/src/backend/port/BSD44_derived'
gcc -Wall -Wmissing-prototypes -O2  -DBSD44_derived  -I../..
-I../../../include
  -c dl.c
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'
gmake[3]: *** [dl.o] Error 1

As I understand it, this should work, as the declarations in link.h are
declared as external.  I'm bringing this here first because this seems to
be a conflict between FreeBSD includes and compilers.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95.970213125155.7652A-100000>