From owner-freebsd-questions Thu Feb 13 12:58:01 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id MAA07660 for questions-outgoing; Thu, 13 Feb 1997 12:58:01 -0800 (PST) Received: from horst.bfd.com (horst.bfd.com [204.160.242.10]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id MAA07651 for ; Thu, 13 Feb 1997 12:57:56 -0800 (PST) Received: from harlie (bastion.bfd.com [204.160.242.14]) by horst.bfd.com (8.8.5/8.7.3) with SMTP id MAA02793 for ; Thu, 13 Feb 1997 12:57:49 -0800 (PST) Date: Thu, 13 Feb 1997 12:57:49 -0800 (PST) From: "Eric J. Schwertfeger" X-Sender: ejs@harlie To: questions@freebsd.org Subject: PostgreSQL compile problem Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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.