[tex-k] duplicate symbol _info on Mac OS X with Clang 11
Evan Miller
emmiller at gmail.com
Wed Jan 26 16:55:35 CET 2022
I'm seeing the following error while linking on an old Mac OS X (10.6.8) system:
ld: duplicate symbol _info in libxdvi.a(print-dialog.o) and libxdvi.a(font-open.o) for architecture x86_64
It appears that this intended forward declaration:
https://github.com/TeX-Live/texlive-source/blob/trunk/texk/xdvik/gui/print-log.h#L26
inadvertently creates a global "_info" symbol in every source file that includes it. Changing
struct save_or_print_info *info;
to simply
struct save_or_print_info;
fixes the issue on this machine.
More information about the tex-k
mailing list.