"Clark, Andrew" <Andrew.Clark@fnf.com> writes:
> Well that definitely did something, but now I get a different error:
OK, thanks for the confirmation. There was some discussion recently
of whether we shouldn't add -DSUNOS4_CC to the solaris template,
but we didn't have proof.
> Here is my configure command:
> ./configure \
> CFLAGS="-v -xtarget=ultra2 -xarch=v9a -xchip=ultra2 -DSUNOS4_CC" \
> LDFLAGS="-v -xtarget=ultra2 -xarch=v9a -xchip=ultra2" \
> --without-readline \
> --without-zlib \
> --prefix=$HOME/UAT/postgres \
> --enable-thread-safety \
> --enable-integer-datetimes
AFAIK you have to specify both LDFLAGS and LDFLAGS_SL if you want
manual configuration of link options. LDFLAGS is used for building
regular executables, LDFLAGS_SL for shared libraries.
regards, tom lane