7.4beta4 compile failure on NetBSD

From: Curt Sampson <cjs(at)cynic(dot)net>
To: pgsql-hackers(at)postgresql(dot)org
Subject: 7.4beta4 compile failure on NetBSD
Date: 2003-10-10 07:36:56
Message-ID: Pine.NEB.4.58.0310101632100.14109@angelic-vtfw.cvpn.cynic.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I just happened to try to compile 7.4beta4 on a two-month-old NetBSD-current
system, and I get the following:

In file included from timestamp.c:14:
../../../../src/interfaces/ecpg/include/datetime.h:7: conflicting types for `dtime_t'
/usr/include/sys/types.h:186: previous declaration of `dtime_t'

Basically, the "typedef timestamp dtime_t;" (timestamp is a double)
conflicts with

typedef int32_t dtime_t; /* on-disk time_t */

in <sys/types.h>. These appear to me to be completely unrelated typedefs
that just happen to have the same name.

This is when compiling src/interfaces/ecpg/pgtypeslib/timestamp.c, BTW.

Any thoughts? I'm prepared to pull down a CVS checkout and recompile
to test fixes, if that will help.

cjs
--
Curt Sampson <cjs(at)cynic(dot)net> +81 90 7737 2974 http://www.NetBSD.org
Don't you know, in this new Dark Age, we're all light. --XTC

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Heikki Linnakangas 2003-10-10 08:06:11 Re: 2-phase commit
Previous Message Seun Osewa 2003-10-10 06:17:52 Re: Dreaming About Redesigning SQL