Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

msys build fail: mswsock.h:125:20: error: 'WSAPOLLFD' was not declared in this scope #8785

Closed
cnd opened this issue Aug 27, 2013 · 5 comments

Comments

@cnd
Copy link
Contributor

cnd commented Aug 27, 2013

I use mingw / msys from location as on wiki suggested.

full make log:

$ make all
cfg: build triple i686-pc-mingw32
cfg: host triples i686-pc-mingw32
cfg: target triples i686-pc-mingw32
cfg: host for i686-pc-mingw32 is i386
cfg: os for i686-pc-mingw32 is pc-mingw32
cfg: using gcc
cfg: disabling valgrind due to its unreliability on this platform
/d/Heather/Contrib/P/rust/mk/stage0.mk:7: warning: overriding commands for target `i686-pc-mingw32/s
tage0/bin/'
/d/Heather/Contrib/P/rust/mk/stage0.mk:4: warning: ignoring old commands for target `i686-pc-mingw32
/stage0/bin/'
cfg: no pandoc found, omitting docs
cfg: no node found, omitting docs
cfg: no llnextgen found, omitting grammar-verification
cfg: no pandoc found, omitting library doc build
fetch: i686-pc-mingw32/stage0/bin/rustc.exe
determined most recent snapshot: rust-stage0-2013-08-14-e7b5729-winnt-i386-49dd1f264e17e6cd929c827cc
be23ee09058c7fc.tar.bz2
got download with ok hash
opening snapshot dl\rust-stage0-2013-08-14-e7b5729-winnt-i386-49dd1f264e17e6cd929c827ccbe23ee09058c7
fc.tar.bz2
extracting rust-stage0/bin/rustc.exe
extracting rust-stage0/bin/std-6c65cf4b443341b1-0.8-pre.dll
extracting rust-stage0/bin/extra-a7c050cfd46b2c9a-0.8-pre.dll
extracting rust-stage0/bin/rustc-d3cb8c2ccd84a7a7-0.8-pre.dll
extracting rust-stage0/bin/syntax-64629f7f0c6a9bc-0.8-pre.dll
extracting rust-stage0/bin/rustrt.dll
extracting rust-stage0/bin/rustllvm.dll
compile: rt/i686-pc-mingw32/stage0/sync/lock_and_signal.o
compile: rt/i686-pc-mingw32/stage0/sync/rust_thread.o
compile: rt/i686-pc-mingw32/stage0/rust_builtin.o
compile: rt/i686-pc-mingw32/stage0/rust_run_program.o
compile: rt/i686-pc-mingw32/stage0/rust_rng.o
compile: rt/i686-pc-mingw32/stage0/rust_upcall.o
compile: rt/i686-pc-mingw32/stage0/rust_uv.o
In file included from d:/Heather/Contrib/P/rust/src/libuv/include/uv-private/uv-win.h:33:0,
                 from d:/Heather/Contrib/P/rust/src/libuv/include/uv.h:69,
                 from d:/Heather/Contrib/P/rust/src/rt/rust_uv.cpp:21:
c:\mingw\bin\../lib/gcc/mingw32/4.7.2/../../../../include/mswsock.h:125:20: error: 'WSAPOLLFD' was n
ot declared in this scope
c:\mingw\bin\../lib/gcc/mingw32/4.7.2/../../../../include/mswsock.h:125:36: error: expected primary-
expression before ',' token
c:\mingw\bin\../lib/gcc/mingw32/4.7.2/../../../../include/mswsock.h:125:41: error: expected primary-
expression before ')' token
c:\mingw\bin\../lib/gcc/mingw32/4.7.2/../../../../include/mswsock.h:125:41: error: expression list t
reated as compound expression in initializer [-fpermissive]
make: *** [rt/i686-pc-mingw32/stage0/rust_uv.o] Error 1

what is going wrong?

@klutzy
Copy link
Contributor

klutzy commented Aug 27, 2013

What's your mingw version? Seems like mingw headers lack some important definitions.

@cnd
Copy link
Contributor Author

cnd commented Aug 27, 2013

@klutzy 2013072300, and I can't see other with that new "MinGW Installation Manager"

@cnd cnd closed this as completed Sep 4, 2013
@lilyball
Copy link
Contributor

@Heather Did you solve the problem? If so, what was the solution?

@cnd
Copy link
Contributor Author

cnd commented Sep 14, 2013

Dowgrade like descripted here #8786

@klutzy
Copy link
Contributor

klutzy commented Sep 17, 2013

it was due to #9246.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants