mingw build error #1857

Closed
derMart opened this Issue Oct 11, 2011 · 2 comments

Projects

None yet

3 participants

derMart commented Oct 11, 2011

I'm trying to build node using this tutorial: https://github.com/joyent/node/wiki/Building-node.js-on-mingw
node master branch: commit 24dabec
mingw version: http://sourceforge.net/projects/mingw/files/Automated%20MinGW%20Installer/mingw-get-inst/mingw-get-inst-20110802/mingw-get-inst-20110802.exe/download
python version: 2.7.2 32bit
Windows 7 x64

./configure --without-ssl gives this output:

Checking for program g++ or c++          : c:\MinGW\bin\g++.exe
Checking for program cpp                 : c:\MinGW\bin\cpp.exe
Checking for program ar                  : c:\MinGW\bin\ar.exe
Checking for program ranlib              : c:\MinGW\bin\ranlib.exe
Checking for g++                         : ok
Checking for program gcc or cc           : c:\MinGW\bin\gcc.exe
Checking for gcc                         : ok
Checking for library dl                  : not found
Checking for library util                : not found
Checking for library rt                  : not found
Checking for fdatasync(2) with c++       : no
'configure' finished successfully (0.334s)
WARNING WARNING WARNING
OpenSSL not found. Will compile Node without crypto support!

make gives this error:

uv: deps\uv\include\uv.h -> out\Release\deps\uv\uv.a
make[1]: Entering directory `/e/Uni/diplom/workspace/node/out/Release/deps/uv'
rm -f src/ares/*.o
rm -f src/eio/*.o
rm -f src/win/*.o
rm -f -f src/*.o *.a test/run-tests.exe test/run-benchmarks.exe
gcc -Iinclude -Iinclude/uv-private -g --std=gnu89 -D_WIN32_WINNT=0x0501 -Isrc/ar
es/config_win32 -o src/win/async.o -c src/win/async.c
make[1]: Leaving directory `/e/Uni/diplom/workspace/node/out/Release/deps/uv'

In file included from src/win/async.c:24:0:
include/uv.h:439:3: error: unknown type name 'LPFN_ACCEPTEX'
include/uv.h:439:3: error: unknown type name 'LPFN_CONNECTEX'
make[1]: *** [src/win/async.o] Error 1

Waf: Leaving directory `e:\Uni\diplom\workspace\node\out'
Build failed:  -> task failed (err #2):
        {task: uv uv.h -> uv.a}
make: *** [program] Error 1
ry commented Oct 11, 2011

pseudo assigned to @igorzi

igorzi commented Oct 11, 2011

Fixed in libuv: joyent/libuv@4ac1309

@ry ry closed this in 728b040 Oct 11, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment