[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: error: ‘PACKAGE’ undeclared (first use in this function)
From: |
Eli Zaretskii |
Subject: |
Re: error: ‘PACKAGE’ undeclared (first use in this function) |
Date: |
Fri, 11 Jun 2021 16:46:35 +0300 |
> From: Benjamin Fang <benjaminfang.ol@outlook.com>
> 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.