Обсуждение: pgbench: undefined reference to strndup()

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

pgbench: undefined reference to strndup()

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