pgbench: undefined reference to strndup()

Поиск
Список
Период
Сортировка
Искать

pgbench: undefined reference to strndup()

От:
Michael Fuhr <mike@fuhr.org>
Дата:
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

Re: pgbench: undefined reference to strndup()

От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Michael Fuhr  writes:
> A recent pgbench commit causes build failures due to an undefined
> reference to strndup(), at least on FreeBSD and UnixWare:

Yeah, breaks on HPUX too.  Patch applied.
		regards, tom lane

Re: pgbench: undefined reference to strndup()

От:
Tatsuo Ishii <ishii@sraoss.co.jp>
Дата:
> Michael Fuhr  writes:
> > A recent pgbench commit causes build failures due to an undefined
> > reference to strndup(), at least on FreeBSD and UnixWare:

Oops.

> Yeah, breaks on HPUX too.  Patch applied.

Thanks.
--
SRA OSS, Inc. Japan
Tatsuo Ishii

FAQ