bug-gnu-libiconv
[Top][All Lists]
Advanced

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

Re: [bug-gnu-libiconv] error when built in MinGW-W64-32


From: Bruno Haible
Subject: Re: [bug-gnu-libiconv] error when built in MinGW-W64-32
Date: Fri, 17 Jun 2022 08:24:08 +0200

> gcc in i686-w64-mingw32.
> 
> When following INSTALL.windows and INSTALL.generic

The INSTALL.windows instructions are known to work.
In your case, you should be following section 1 of INSTALL.windows.

> there is an error occurs at make stage:
> 
>    <command-line>: error: 'C' undeclared (first use in this function)
>    ./relocatable.c:483:37: note: in expansion of macro 'INSTALLDIR'
>            const char *orig_installdir = INSTALLDIR;
>                                          ^~~~~~~~~~
>    <command-line>: note: each undeclared identifier is reported only once for 
> each function it appears in
>    ./relocatable.c:483:37: note: in expansion of macro 'INSTALLDIR'
>            const char *orig_installdir = INSTALLDIR;
>                                          ^~~~~~~~~~
>    <command-line>: error: expected ',' or ';' before ':' token
>    ./relocatable.c:483:37: note: in expansion of macro 'INSTALLDIR'
>            const char *orig_installdir = INSTALLDIR;
>                                          ^~~~~~~~~~
>     make[1]: *** [Makefile:93: relocatable.lo] Error 1
>     make[1]: Leaving directory 'H:/TDDOWNLOAD/iconv/libiconv-1.17/lib'
>     make: *** [Makefile:33: all] Error 2

INSTALLDIR is supposed to be defined through the Makefile in that directory;
the Makefile is generated at configure time.

Bruno






reply via email to

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