Re: 7.4 build problem on Linux Vserver

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Postgresql Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: 7.4 build problem on Linux Vserver
Date: 2003-12-11 16:23:02
Message-ID: 3FD899E6.7030709@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane wrote:

>"Dave Page" <dpage(at)vale-housing(dot)co(dot)uk> writes:
>
>
>>gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes
>>-Wmissing-declarations prod -I../../src/include -D_GNU_SOURCE
>>-I/usr/include -c -o path.o path.c
>>gcc: cannot specify -o with -c or -S and multiple compilations
>>
>>
>
>How is "prod" getting into that command line? I suspect it's coming
>from an environment variable like PROFILE or CFLAGS ...
>
>
>

Is there a case for making Makefile/shell variables and defines we use
have less generic names? I know I encountered a problem on Windows when
doing initdb because it defines one of BINDIR/DATADIR (I forget which).
It took me ages to find out what was going on, and I fixed it by
prepending the variable (in this case a define) with "PG"

cheers

andrew

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2003-12-11 16:35:38 Re: 7.4 build problem on Linux Vserver
Previous Message Rod K 2003-12-11 16:00:29 Re: Should we consider empty fields as NULL values when dealing with string columns ?