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

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

Re: [bug-gnu-libiconv] Can't build libiconv-1.11 on Win32 using VC++ 6.0


From: Steve Hay
Subject: Re: [bug-gnu-libiconv] Can't build libiconv-1.11 on Win32 using VC++ 6.0
Date: Wed, 04 Jul 2007 09:08:10 +0100
User-agent: Thunderbird 2.0.0.4 (Windows/20070604)

Bruno Haible wrote:
Hello,

Steve Hay wrote:
When I run the command:

nmake -f Makefile.msvc NO_NLS=1 MFLAGS=-MD

the build fails on progreloc.c with the errors:

progreloc.c(306) : error C2065: 'EXEEXT' : undeclared identifier
progreloc.c(316) : error C2099: initializer is not a constant

It is safe to replace EXEEXT with the literal string ".exe" in this file.

OK, I did that but then got another error:

unsetenv.c(30) : fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory

So I deleted the #include <unistd.h> line from unsetenv.c and tried again, but got yet another error:

iconv_no_i18n.c
..\srclib\unitypes.h(23) : fatal error C1083: Cannot open include file: 'stdint.h': No such file or directory

So I deleted the #include <stdint.h> line from unitypes.h and tried again, but then got lots of errors:

iconv_no_i18n.c
..\srclib\unitypes.h(23) : error C2061: syntax error : identifier 'ucs4_t'
..\srclib\unitypes.h(23) : error C2059: syntax error : ';'
..\srclib\uniwidth.h(43) : error C2146: syntax error : missing ')' before identifier 'uc'
..\srclib\uniwidth.h(43) : error C2061: syntax error : identifier 'uc'
..\srclib\uniwidth.h(43) : error C2059: syntax error : ';'
..\srclib\uniwidth.h(43) : error C2059: syntax error : ','
..\srclib\uniwidth.h(43) : error C2059: syntax error : ')'
[...]

(and lots more lines too. I can send the complete output if it would help.)

The #include <stdint.h> line in unitypes.h was commented "Get uint8_t, uint16_t, uint32_t", but I can't see any MS VC++ 6.0 header file that contains these types, so there is no obvious replacement for stdint.h either.

--




reply via email to

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