help-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Benjamin Fang
Subject: error: ‘PACKAGE’ undeclared (first use in this function)
Date: Fri, 11 Jun 2021 17:18:15 +0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.1

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]