Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!howland.erols.net!vixen.cso.uiuc.edu!saluki-news.it.siu.edu!slip106.termserv.siu.edu From: jimd@slip106.termserv.siu.edu (Jim Dutton) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: Problems compiling libdb.a v1.85 with 2.1.5? Date: Thu, 20 Mar 1997 01:04:43 CST Organization: Southern Illinois University Lines: 32 Sender: NNTP@slip106.termserv.siu.edu Message-ID: <24244e28.u9t27e.a2c39@slip106.termserv.siu.edu> Reply-To: jimd@slip106.termserv.siu.edu NNTP-Posting-Host: slip106.termserv.siu.edu Comment: AmigaNOS v2.9p In-Reply-To: <332eacf6.333735449@netnews.worldnet.att.net> (from osas@worldnet.att.net (Tim White)) (at Tue, 18 Mar 1997 15:00:07 GMT) Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:37321 Hi Tim, on Mar 18 you wrote: > > Anybody have the Makefile mods to get libdb.a to compile under > 2.1.5? I'm getting errors like > > /usr/include/stdlib.h:80 parse error before '__dead2' > /usr/include/stdlib.h:warning: data definition has no type or > class. In addition to the solution below, you can also copy FreeBSD's version of CDEF.H to the directory where your DB version of CDEF.H is. In article <5g7li1$ps@uriah.heep.sax.de>, j@uriah.heep.sax.de (J Wunsch) writes: > jimd@dutton4.it.siu.edu (Jim Dutton) wrote: > >> Whilst trying to compile db-1.85 (used by Sendmail) under FreeBSD-2.2, I get >> the following error messages: >> >> /usr/include/stdlib.h:83: parse error before `__dead2' >> /usr/include/stdlib.h:83: warning: data definition has no type or storage class >> /usr/include/stdlib.h:84: parse error before `__pure2' >> /usr/include/stdlib.h:84: warning: data definition has no type or storage class > > Kill db's private copy of cdef.h. Ah - yes - NOW I remember. Thanks again Joerg. THIS time, I will print a copy of the answer, and include it with my hard copy of the FAQ (I didn't find this question in the FAQ).