Source: i2pd
Version: 2.17.0-1
Severity: important
Tags: upstream
Justification: fails to build from source
User: debian-h...@lists.debian.org
Usertags: hurd-i386

The build of i2pd for hurd-i386 (admittedly not a release
architecture) failed:

  g++ -Os -D_MT -DWIN32 -D_WINDOWS -DWIN32_LEAN_AND_MEAN -DWIN32_APP -std=c++11 
-Ilibi2pd -Ilibi2pd_client -Idaemon -I. -msse -c -o obj/libi2pd/TunnelGateway.o 
libi2pd/TunnelGateway.cpp
  [...]
  /usr/include/boost/asio/detail/socket_types.hpp:38:11: fatal error: 
winsock2.h: No such file or directory

The kFreeBSD autobuilders appear to be out of commission at the
moment, but I wouldn't be surprised if kFreeBSD builds turned out to
fail in the same fashion.

Could you please arrange to predefine WIN32 et al. only when actually
building for Windows?

Thanks!

-- 
Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org)
http://www.mit.edu/~amu/ | http://stuff.mit.edu/cgi/finger/?a...@monk.mit.edu

Reply via email to