contrib/pg_resetxlog fails to compile under Digital Unix - Mailing list pgsql-bugs

From pgsql-bugs@postgresql.org
Subject contrib/pg_resetxlog fails to compile under Digital Unix
Date
Msg-id 200104031150.f33Bor515851@hub.org
Whole thread Raw
Responses Re: contrib/pg_resetxlog fails to compile under Digital Unix
List pgsql-bugs
Alessio Bragadini (alessio@albourne.com) reports a bug with a severity of 3
The lower the number the more severe it is.

Short Description
contrib/pg_resetxlog fails to compile under Digital Unix

Long Description
Under Digital Unix (aka Compaq Tru64) 4.0f with cc, contrib/pg_resetxlog fails to compile because of the lack of
snprintf(it's in libdb). 

Adding a -ldb to the Makefile fixes the problem.

Sample Code
cc -std  -O4 -Olimit 2000 pg_resetxlog.o pg_crc.o -L/usr/local/lib -rpath /usr/local/pgsql/lib -lz -lresolv -lPW -lm
-lbsd-lreadline -ltermcap  -o pg_resetxlogld: 
Unresolved:
snprintf

No file was uploaded with this report

pgsql-bugs by date:

Previous
From: Солодовников Константин
Date:
Subject: RE: Loosing files after backend crash
Next
From: Peter T Mount
Date:
Subject: Re: PostgreSQL tcp connection