Re: Compile error while building postgresql 10.3

From: Terry Phelps <tgphelps50(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Andres Freund <andres(at)anarazel(dot)de>, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Compile error while building postgresql 10.3
Date: 2018-03-19 20:19:13
Message-ID: CAMUfR_vbi8emyu3X5h1hOpVoeXzWm+xRndZ2h37gXC5BVOsFkw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-hackers

Only slight different. Here is exact what I entered to get the error:

I ran configure like this, because it got errors otherwise. OHHHH. I wonder
if CFLAGS caused this.

LDFLAGS=-L/usr/local/lib CFLAGS=-I/usr/local/include ./configure

And then I ran gmake like this:

gmake LDFLAGS=-L/usr/local/lib CFLAGS=-I/usr/local/include

And I again touched CFLAGS. I fear that I caused this.

On Mon, Mar 19, 2018 at 4:15 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:

> Terry Phelps <tgphelps50(at)gmail(dot)com> writes:
> > I did:
> > cd src/port
> > gmake -s clean
> > gmake
>
> > It says:
>
> > cc -Wall -Wmissing-prototypes -Wpointer-arith
> -Wdeclaration-after-statement
> > -Wendif-labels -Wmissing-format-attribute -Wformat-security
> > -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument
> > -I/usr/local/include -msse4.2 -I../../src/port -DFRONTEND
> > -I../../src/include -c -o pg_crc32c_sse42.o pg_crc32c_sse42.c
>
> Now I'm even more confused, because that's fine --- and you'll notice
> it didn't fail. So why doesn't this agree with your original run?
> Did you do anything different from plain "gmake" that time?
>
> regards, tom lane
>

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2018-03-19 20:22:23 Re: Compile error while building postgresql 10.3
Previous Message Tom Lane 2018-03-19 20:15:12 Re: Compile error while building postgresql 10.3

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2018-03-19 20:22:23 Re: Compile error while building postgresql 10.3
Previous Message Tom Lane 2018-03-19 20:15:12 Re: Compile error while building postgresql 10.3