Re: Compile error while building postgresql 10.3 - Mailing list pgsql-hackers

From Terry Phelps
Subject Re: Compile error while building postgresql 10.3
Date
Msg-id CAMUfR_vbi8emyu3X5h1hOpVoeXzWm+xRndZ2h37gXC5BVOsFkw@mail.gmail.com
Whole thread Raw
In response to Re: Compile error while building postgresql 10.3  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Compile error while building postgresql 10.3  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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@sss.pgh.pa.us> wrote:
Terry Phelps <tgphelps50@gmail.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

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Compile error while building postgresql 10.3
Next
From: Tom Lane
Date:
Subject: Re: Compile error while building postgresql 10.3