Re: complain.c:(.text+0x6df): undefined reference to `ostream_printf'

Lars Wendler <[email protected]>
Newsgroups gmane.comp.parsers.bison.bugs
Organization Gentoo
Message-ID <[email protected]>
Hi Akim,

On Fri, 24 Jul 2020 07:31:06 +0200 Akim Demaille wrote:

>Hi Lars,
>
>> Le 23 juil. 2020 à 21:58, Lars Wendler <[email protected]> a
>> écrit :
>> 
>> Hi Akim,
>> 
>>> I think the problem is "simply" that your version of libtextstyle is
>>> too old.
>>> 
>>> I'm using 0.20.5.
>>> 
>>> https://alpha.gnu.org/gnu/gettext/libtextstyle-0.20.5.tar.gz
>> 
>> In Gentoo libtextstyle is provided by gettext and neither version
>> 0.20.2 nor 0.21-rc1 seem to provide a recent enough libtextstyle. Do
>> you really expect distros to split libtextstyle out from gettext?
>
>Yes, I believe this is something that should happen.  In the gettext
>package, there's a PACKAGING file that starts with:
>
>> Packaging hints for binary package distributors
>> ===============================================
>> 
>> Although the source of the gettext package comes as a single package,
>> I recommend that in distributions of binary packages the installed
>> files be split into three packages:
>> 
>>    gettext-runtime
>>         Contents: Runtime libraries and programs.
>>         Audience: Anyone who wants to run internationalized programs.
>> 
>>    libtextstyle
>>         Contents: Text styling library.
>>         Audience: Anyone who wants to run or develop programs that
>> produce styled text, to be displayed in a terminal emulator.
>> 
>>    gettext-tools
>>         Contents: Tools and documentation for developers and
>> translators. Audience: Anyone who wants to develop or localize
>> internationalized programs, i.e. developers and translators.
>>         Dependencies: requires gettext-runtime.

Fair point. Will have a look at this once I find time for it.

>But Bison should use a stricter Autoconf check to rule out versions
>of libtextstyle that don't support it.  I'll do that eventually.
>
>Meanwhile, disable text styling with configure
>--without-libtextstyle-prefix.

No, that doesn't help. I still get the same linking error.

>Cheers!

Kind regards
Lars
-- 
Lars Wendler
Gentoo package maintainer
GPG: 21CC CF02 4586 0A07 ED93  9F68 498F E765 960E 9B39
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEWCOBmo8i7LhvVmNAVx3S0DQ8YDkFAl8avOAACgkQVx3S0DQ8
YDlEwA/+LDczGVEdoglxDRaIdY6mNVpMGHUsl6WmCuuKOjcSR5uGfmsS4nQNCJmD
HJfVKrBWQ3Kdn38mEdQ3ApmvKGYjzHfO3RNUBdMa8TJ/kudfHWTu+94ZmFF2/EVI
pcdO8hsRWbEY+ZpBBtUnWkPDuSHrM2F6Bw9zzTjPuD+wix4+jSo8ZcFuSNV5NJhR
xq/03BEBdPp2/bXD35qhbsPj6yd6XmWVvXGcGztMm28IbLVQBCZOmk7a14yI1bV7
D/nAGC4LfGM4/3CeaLCdrBXx5scLV3nQ+XINjwk1cT7eny0cXj+pzXxmqpeVTqSH
6WH2tVCyp8H9QDKhTbiiPJrgf8xorrqVN1lRXVy8HMsnbzduP1zo9CDe52yUcH4f
qWY8a3BKzCpE2EIshItwtHBKd9F5r23tdlFZPMSGgAN7tIPzSiUWih7AF7aMytjt
fe8zSr4ur3QuAQB1Dt1toSOu59gaKXRnxeisKfQoaUHmpcDYd03EP4BZQXA+6bo0
f5zE0RglUQpm+cyQq9O0aWEsuCjF+UjMQF5NRtgssrpnoWOcfz0zWIjAXvVhU6XR
Wx3ESES71X2vpfdo3HNigm+o97KRLf9ii5qfBWiyFHrvWnCvckH+PV2RMV/Ru+yv
TxzDeGrHrFvwoficJhBlX/9f966RvAr/DgIdbm6g+s+Z29+BWCY=
=DyK+
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.