Re: BUG #6585: Can't compile from source code

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: BUG #6585: Can't compile from source code
Дата
Msg-id 1334254932-sup-3474@alvh.no-ip.org
обсуждение исходный текст
Ответ на BUG #6585: Can't compile from source code  (mit@akamit.com)
Список pgsql-bugs
Excerpts from mit's message of jue abr 12 14:37:48 -0300 2012:
> The following bug has been logged on the website:
>=20
> Bug reference:      6585
> Logged by:          Andrey Mitroshin
> Email address:      mit@akamit.com
> PostgreSQL version: 9.1.3
> Operating system:   AIX 7.1.0
> Description:=20=20=20=20=20=20=20=20
>=20
> This affects versions from 9.0.0
> Version 8.4.7 is not affected
> gcc -v
> Using built-in specs.
> COLLECT_GCC=3Dgcc
> COLLECT_LTO_WRAPPER=3D/opt/freeware/libexec/gcc/powerpc-ibm-aix7.1.0.0/4.=
6.3/lto-wrapper
> Target: powerpc-ibm-aix7.1.0.0
> Configured with: ../gcc-4.6.3/configure --with-as=3D/usr/bin/as
> --with-ld=3D/usr/bin/ld --enable-languages=3Dc,c++,fortran
> --prefix=3D/opt/freeware --mandir=3D/opt/freeware/man
> --infodir=3D/opt/freeware/info --enable-threads
> --enable-version-specific-runtime-libs --disable-nls
> --enable-decimal-float=3Ddpd --host=3Dpowerpc-ibm-aix7.1.0.0

> ld: 0711-317 ERROR: Undefined symbol: .mbstowcs_l

Hmm.  It seems we use HAVE_WCSTOMBS_L as a hint that both mbstowcs_l and
wcstombs_l are present.  I guess it's most common that both exist
simultaneously, but perhaps it's not impossible that AIX only has
wcstombs_l and not mbstowcs_l.

Or it could just be a missing linker flag.

--=20
=C3=81lvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

В списке pgsql-bugs по дате отправления:

Предыдущее
От: mit@akamit.com
Дата:
Сообщение: BUG #6585: Can't compile from source code
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BUG #6585: Can't compile from source code