Re: error: ‘PACKAGE’ undeclared (first use in this function)

Eli Zaretskii <[email protected]>
Newsgroups gmane.comp.tex.texinfo.general
Message-ID <[email protected]>
> From: Benjamin Fang <[email protected]>
> Date: Fri, 11 Jun 2021 17:18:15 +0800
> 
> 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);
>        |                       ^~~~~~~

PACKAGE should be defined in config.h, created by the configure
script.
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.