*BSD News Article 91212


Return to BSD News archive

From: Pascal.Gienger@uni-konstanz.de (Pascal Gienger)
Subject: Re: Wanted-database for Freebsd
Newsgroups: comp.unix.bsd.freebsd.misc
References: <5fpsqe$nkl$1@goblin.uunet.ca>
X-no-archive: yes
Lines: 29
X-Newsreader: TIN [UNIX 1.3 unoff BETA release 960722]
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Message-ID: <332ac911.0@finesse.isdn.uni-konstanz.de>
Date: 15 Mar 97 16:06:41 GMT
NNTP-Posting-Host: pc193.isdn.uni-konstanz.de
Organization: University of Constance, Germany
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!metro!metro!munnari.OZ.AU!spool.mu.edu!newspump.sol.net!howland.erols.net!worldnet.att.net!news.maxwell.syr.edu!news.apfel.de!fu-berlin.de!news.belwue.de!news.uni-konstanz.de!not-for-mail
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:37170

Karen <karen@progress.ca> wrote:
: Looking for a database for the Freebsd/OS
: Thanks


Postgres95 is perhaps good for you. I compiled it with FreeBSD but I noticed
an oddity in system include files.

dlopen() and dlsym() are declared in link.h and dlfcn.h.
In link.h dlopen() is declared as

void *dlopen __P((char *, int));

and in dlfcn.h it is

void *dlopen __P((const char *, int));

dl.c of Postgres95 uses both header files and sdo the compiler says
something about Conflicting prototypes...
I changed link.h locally and it worked then.

PS: Should I make an installable package out of my postgres95 installation?

Pascal
-- 
Pascal.Gienger@uni-konstanz.de         |Prefix +49 7531|Fon 16074|Fax 20370
-------------| http://www.geocities.com/WestHollywood/1381/ |----+---------
Rechenzentrum| Tolles Internet, Teil XI: Gestern: Calov blieb bei seinem
Uni Konstanz | blöden BTX. Heute: Calov will nun auch Internet sabotieren.