contrib/pg_resetxlog fails to compile under Digital Unix

From: pgsql-bugs(at)postgresql(dot)org
To: pgsql-bugs(at)postgresql(dot)org
Subject: contrib/pg_resetxlog fails to compile under Digital Unix
Date: 2001-04-03 11:50:53
Message-ID: 200104031150.f33Bor515851@hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Alessio Bragadini (alessio(at)albourne(dot)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

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Peter T Mount 2001-04-03 13:23:08 Re: PostgreSQL tcp connection
Previous Message Солодовников Константин 2001-04-03 11:08:56 RE: Loosing files after backend crash