pgbench: undefined reference to strndup()

From: Michael Fuhr <mike(at)fuhr(dot)org>
To: pgsql-hackers(at)postgresql(dot)org
Subject: pgbench: undefined reference to strndup()
Date: 2005-09-29 15:26:52
Message-ID: 20050929152652.GA62140@winnie.fuhr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

A recent pgbench commit causes build failures due to an undefined
reference to strndup(), at least on FreeBSD and UnixWare:

http://pgbuildfarm.org/cgi-bin/show_log.pl?nm=echidna&dt=2005-09-29%2014:30:01
http://pgbuildfarm.org/cgi-bin/show_log.pl?nm=firefly&dt=2005-09-29%2014:27:00

I don't see strndup() in the Open Group Base Specifications, so I
expect other platforms' builds might fail as well.

--
Michael Fuhr

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tino Wildenhain 2005-09-29 15:33:28 Re: postgresql clustering
Previous Message Gaetano Mendola 2005-09-29 15:24:19 Re: postgresql clustering