Re: 7.4beta4 compile failure on NetBSD

From: Bruno Wolff III <bruno(at)wolff(dot)to>
To: Curt Sampson <cjs(at)cynic(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: 7.4beta4 compile failure on NetBSD
Date: 2003-10-10 14:23:41
Message-ID: 20031010142341.GA26541@wolff.to
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Oct 10, 2003 at 16:36:56 +0900,
Curt Sampson <cjs(at)cynic(dot)net> wrote:
> 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.

I had a problem with timestamp.c in beta4 and it got fixed in CVS. I don't
think the error message was the same though, so your problem might be
different.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Treat 2003-10-10 14:36:44 Re: [Fwd: [Python-Dev] HP Test Drive systems]
Previous Message Christopher Browne 2003-10-10 14:13:24 Re: [Fwd: [BUGS] pg_autovacuum segv]