[ejabberd] mingw configure hangs on windows

Eric des Courtis eric.des.courtis at gmail.com
Tue Mar 20 18:55:31 MSK 2012


This is the errors I get with nmake in visual studio 2010.

C:\exmpp>nmake -f Makefile.win32

Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
Copyright (C) Microsoft Corporation.  All rights reserved.

Making all in c_src
        cl -Ox -DNDEBUG -c -DCRTAPI1=_cdecl -DCRTAPI2=_cdecl -nologo -GS
-D_X86_=1  -DWIN32 -D_WIN32 -W3 -D_WINNT -D_WIN32_WINNT=0x0500
-DNTDDI_VERSION=0x050000
00 -D_WIN32_IE=0x0500 -DWINVER=0x0500  -D_MT -D_DLL -MD -D__WIN32__
-I"C:\Program Files\erl5.9\usr\include" -I"C:\Program
Files\erl5.9\lib\erl_interface-3.7.6\i
nclude" -I"C:\Program Files\Expat 2.0.1\Source\lib" exmpp_xml_expat.c
exmpp_xml_expat.c
exmpp_xml_expat.c(67) : warning C4028: formal parameter 1 different from
declaration
exmpp_xml_expat.c(68) : warning C4028: formal parameter 2 different from
declaration
exmpp_xml_expat.c(337) : error C2143: syntax error : missing ';' before
'type'
exmpp_xml_expat.c(339) : error C2065: 'edd' : undeclared identifier
exmpp_xml_expat.c(339) : warning C4047: '=' : 'int' differs in levels of
indirection from 'exmpp_xml_data *'
exmpp_xml_expat.c(343) : error C2065: 'edd' : undeclared identifier
exmpp_xml_expat.c(343) : error C2223: left of '->ctx' must point to
struct/union
exmpp_xml_expat.c(343) : error C2065: 'edd' : undeclared identifier
exmpp_xml_expat.c(343) : error C2223: left of '->declared_nss' must point
to struct/union
exmpp_xml_expat.c(344) : warning C4090: 'function' : different 'const'
qualifiers
exmpp_xml_expat.c(344) : warning C4047: 'function' : 'ei_x_buff *' differs
in levels of indirection from 'size_t'
exmpp_xml_expat.c(344) : warning C4024: 'make_declared_ns_in_buf' :
different types for formal and actual parameter 2
exmpp_xml_expat.c(345) : error C2198: 'make_declared_ns_in_buf' : too few
arguments for call
exmpp_xml_expat.c(526) : warning C4113: 'int (__cdecl *)()' differs in
parameter lists from 'int (__cdecl *)(void)'
exmpp_xml_expat.c(527) : warning C4113: 'void (__cdecl *)()' differs in
parameter lists from 'void (__cdecl *)(void)'
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
10.0\VC\BIN\cl.EXE"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
10.0\VC\BIN\nmake.exe"' : return code '0x2'
Stop.

C:\exmpp>

On Tue, Mar 20, 2012 at 10:10 AM, Eric des Courtis <
eric.des.courtis at gmail.com> wrote:

> Hi Everyone,
>
> I am trying to compile exmpp with mingw under windows with Erlang/OTP 15B.
> The problem is that it seems to hang sometime after printing out "checking
> for Erlang/OTP root directory...".
>
> I would compile it with Visual Studio 2010 but I have no instructions and
> after spending a fairly large amount of time adding dependencies I still
> had many issues. Anyone have a list of instructions that works in windows?
>
> Eric
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.jabber.ru/pipermail/ejabberd/attachments/20120320/ee49d222/attachment.html>


More information about the ejabberd mailing list