Hi~
using Win10 x64, gcc in i686-w64-mingw32.
When following INSTALL.windows and INSTALL.generic, 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
Add
#define
INSTALLDIR "" in "./lib/config.h" could help.
I didn't find the source of "INSTALLDIR" from INSTALL nor *.h, for I only generate configure satisfy Windows.
Maybe just lack default value ("") when using MinGW gcc?
|