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 Thu, 23 Jul 2020 20:04:19 +0200 Akim Demaille wrote:

>Hi Lars,
>
>> Le 23 juil. 2020 à 13:57, Lars Wendler <[email protected]> a
>> écrit :
>> 
>> Hello list,
>> 
>> since commit 1438b79e80634d60df2ed03b689db83f5318d81e bison fails to
>> build for me with the following error:
>
>Bummer...
>
>> x86_64-pc-linux-gnu-gcc   -march=native -mtune=native -O2 -pipe
>> -Wl,-O1 -Wl,--hash-style=gnu -Wl,--sort-common -Wl,--as-needed -o
>> src/bison src/bison-AnnotationList.o src/bison-InadequacyList.o
>> src/bison-Sbitset.o src/bison-assoc.o src/bison-closure.o
>> src/bison-complain.o src/bison-conflicts.o src/bison-counterexample.o
>> src/bison-derivation.o src/bison-derives.o src/bison-files.o
>> src/bison-fixits.o src/bison-getargs.o src/bison-glyphs.o
>> src/bison-gram.o src/bison-graphviz.o src/bison-ielr.o
>> src/bison-lalr.o src/bison-location.o src/bison-lr0.o
>> src/bison-lssi.o src/bison-main.o src/bison-muscle-tab.o
>> src/bison-named-ref.o src/bison-nullable.o src/bison-output.o
>> src/bison-parse-gram.o src/bison-parse-simulation.o
>> src/bison-print-graph.o src/bison-print-xml.o src/bison-print.o
>> src/bison-reader.o src/bison-reduce.o src/bison-relation.o
>> src/bison-scan-code-c.o src/bison-scan-gram-c.o
>> src/bison-scan-skel-c.o src/bison-state.o src/bison-state-item.o
>> src/bison-symlist.o src/bison-symtab.o src/bison-tables.o
>> src/bison-uniqstr.o lib/libbison.a              -lreadline
>> /usr/lib64/libtextstyle.so
>> /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld:
>> src/bison-complain.o: in function `complains':
>> complain.c:(.text+0x6df): undefined reference to `ostream_printf'
>> collect2: error: ld returned 1 exit status make: *** [Makefile:4402:
>> src/bison] Error 1
>
>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?

>
>Cheers!

Kind regards
-- 
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-----

iQIzBAEBCgAdFiEEWCOBmo8i7LhvVmNAVx3S0DQ8YDkFAl8Z6+wACgkQVx3S0DQ8
YDk9jRAAk6lZSOcSj1LCK0vBb6u8Eg0SEquUcDoZQR1wj5eIViG4WAFD6UH/otqc
vWiVIUFba1SN2r4xt1u/TCTQMLINpykRy2E2KIhY9rVoaZCrvnKmXwEfW7fQJUmE
TUaYsAU8BD+pT4XS8mEOcz13dFk+5alzjJm+bD1x4G1OMAkyTJmRkgVWyqUXMCah
ybVEAf2YK4WTjj1amvaFv2MPv29RnAUh/kBz8HCdA3yXRybLngpnjSAnZUwkEJdP
lP3gjmfB5Of+cGRowyyGS38+tr9lqDw9hEYd3xYYjiCTmQsWBHtW8hcO5n4lvBET
/lmAmbjw1oGC4kr+9jghi42fvQr2B1SqG4j6fJ+a6BMxmZKT7CR5+Vu2qszQzxdu
8Nt2oOTSv3s90BRnOBiynCxS0g1WKgFUJK0UnKKCh6hDJbNr8pFewqMQ0XQOVraI
XNgN+7lGuEAXbkuf3NlFRnKtU+CHLdP7jUmVHjrs95023rsbDLQk6nQF8liBdRii
3qdHTY9epI76b9F0DcQtsKIamEJxlZo5psU85higrzrxfKQvzruouUYdp9f7RG4j
IlR3ANZKhTYyt/WFEgSExBdZMPyJn8zO8h0g2q7B3bfDSNw0nsIyMBEA8pyFTpKD
m2gUsrnSHOhIpZ9qeK7Ia6JRH/Fm/NkSrWaO5CkZFW/nkAFGlZ8=
=FSxn
-----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.