Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Jun 1997 17:03:23 +0100 (BST)
From:      Jim Dixon <jdd@vbc.net>
To:        michael butler <imb@scgt.oz.au>
Cc:        hackers@FreeBSD.ORG
Subject:   Re: inconsistent declarations
Message-ID:  <Pine.BSI.3.91.970622165519.20751A-100000@avon-gw.uk1.vbc.net>
In-Reply-To: <3.0.1.32.19970623013519.0071fbd0@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 23 Jun 1997, michael butler wrote:

> >/usr/include/dlfcn.h
> >	void *dlopen __P((const char *,int));
> >	void *dlsym  __P((void *, const char*));
> >
> >/usr/include/link.h
> >	extern void *dlopen __P((char *,int));
> >	extern void *dlsym  __P((void *,char*));
> 
> This breaks the build of postgresql-6.1 for 2.1-stable :-(

Precisely.

It can be fixed by reversing the order of inclusion of the header
files in src/src/backend/port/BSD44_derived/dl.c and then modifying 
link.h so that dlopen() and dlsym() are inside an 
	#ifndef _DLFCN_H_ 
	... 
	#endif
  
--
Jim Dixon                  VBCnet GB Ltd           http://www.vbc.net
tel +44 117 929 1316                             fax +44 117 927 2015




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