error: ‘PACKAGE’ undeclared (first use in this function)
Benjamin Fang <[email protected]>
| Newsgroups | gmane.comp.tex.texinfo.general |
|---|---|
| Message-ID | <TYBP286MB01425ED75A7C2062AE7C15F7F7349@TYBP286MB0142.JPNP286.PROD.OUTLOOK.COM> |
Hi: I compile texinfo in linux, and meet some problem. system: Linux localhost.localdomain 5.11.20-300.fc34.x86_64 #1 SMP Wed May 12 12:45:10 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux gcc: gcc (GCC) 11.1.1 20210531 (Red Hat 11.1.1-3) Copyright (C) 2021 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. when I compile the code, I get the following error: --------------------------------------------- parsetexi/api.c: In function ‘find_locales_dir’: parsetexi/api.c:69:23: error: ‘PACKAGE’ undeclared (first use in this function) 69 | bindtextdomain (PACKAGE, s); | ^~~~~~~ parsetexi/api.c:69:23: note: each undeclared identifier is reported only once for each function it appears in parsetexi/api.c: In function ‘init’: parsetexi/api.c:84:21: error: ‘PACKAGE’ undeclared (first use in this function) 84 | bindtextdomain (PACKAGE, LOCALEDIR); | ^~~~~~~ parsetexi/api.c: In function ‘element_to_perl_hash’: ---------------------------------------------- How can I handle this problem? Thanks Best Ben