Figured it out. The configure file for 08.02.0200
CPPFLAGS="$CPPFLAGS $pg_cflags -I$pg_includedir" where
08.02.0100 uses CPPFLAGS="$CPPFLAGS -I$pg_includedir".
$pg_clflags is getting set by pg_cflags=`$PG_CONFIG
--cflags` where as $PG_CONFIG is getting set because
of the default Postgres package on Solaris which was
compiled by the Sun compiler and I have yet to
configure and make postgres with the gcc compiler.
--- Trevor Riever <tmanmi(at)yahoo(dot)com> wrote:
> I can build and make 08.01.0200 and 08.02.0100 on
> same machine with the same environment. I get the
> following error when doing the make, have used make
> and gmake get same results:
> gcc -DHAVE_CONFIG_H -I. -I. -I. -xO3 -xarch=v8
> -xspace -W0,-Lt -W2,-Rcond_elim -Xa -xildoff
> -xc99=none -xCC -I/usr/include/pgsql -g -O2 -MT
> info.lo -MD -MP -MF .deps/info.Tpo -c info.c -fPIC
> -DPIC -o .libs/info.o
> gcc: unrecognized option `-Xa'
> gcc: language CC not recognized
> Used ./configure --with-unixodbc. I am using gcc
> 3.4.6 and the latest binutils have been installed.
> Following line is from the Make file from
> CPPFLAGS = -xO3 -xarch=v8 -xspace -W0,-Lt
> -W2,-Rcond_elim -Xa -xildoff -xc99=none -xCC
> and from 08.02.100 which makes fine:
> CPPFLAGS = -I/usr/include/pgsql
> From what I can tell gcc doesn't like the CPPFLAGS
> 08.02.200. Are there any flags or options that I
> should be setting berfore attempting to build
> 08.02.200. I'm not much of a compiler and linker
> person but any help would be appreciated.
> Sponsored Link
> Mortgage rates near 39yr lows. $420k for $1,399/mo.
> Calculate new payment!
> ---------------------------(end of
> TIP 9: In versions below 8.0, the planner will
> ignore your desire to
> choose an index scan if your joining column's
> datatypes do not
For just $24.99/mo., Vonage offers unlimited local and long- distance calling.
Sign up now. http://www.vonage.com/startsavingnow/
In response to
pgsql-odbc by date
|Next:||From: Hiroshi Inoue||Date: 2006-11-08 21:05:50|
|Subject: Re: Fwd: Bug#396218: bind.c: bad handling of SQL_LEN_DATA_AT_EXEC|
|Previous:||From: Trevor Riever||Date: 2006-11-08 19:33:36|
|Subject: Re: Help building 08.02.0200 on Solaris 10 (sparc)|