Branch jp/dependencies_makefile does not build on Windows

Björn Gustavsson bgustavsson@REDACTED
Fri Jan 8 18:42:24 CET 2010


Unfortunately, the branch jp/dependencies_makefile does not build on Windows:

c.sh -O2 -I/ldisk/daily_build/otp_norel_pu_win32_r13b04.2010-01-08_15/otp_src_R13B04/erts/win32
  -D_WIN32_WINNT=0x0500 -DWINVER=0x0500 -D_USE_32BIT_TIME_T
-DERTS_MIXED_CYGWIN_VC -DHAVE_CONFIG_H
-I/ldisk/daily_build/otp_norel_pu_win32_r13b04.2010-01-08_15/otp_src_R13B04/erts/emulator/sys/win32
-I/ldisk/daily_build/otp_norel_pu_win32_r13b04.2010-01-08_15/otp_src_R13B04/erts/emulator/beam
-I/ldisk/daily_build/otp_norel_pu_win32_r13b04.2010-01-08_15/otp_src_R13B04/erts/include
-I/ldisk/daily_build/otp_norel_pu_win32_r13b04.2010-01-08_15/otp_src_R13B04/erts/include/win32
-I/ldisk/daily_build/otp_norel_pu_win32_r13b04.2010-01-08_15/otp_src_R13B04/erts/include/internal
-I/ldisk/daily_build/otp_norel_pu_win32_r13b04.2010-01-08_15/otp_src_R13B04/erts/include/internal/win32
-DOTP_SYSTEM_VERSION=\"R13B04\"
-I/ldisk/daily_build/otp_norel_pu_win32_r13b04.2010-01-08_15/otp_src_R13B04/erts/emulator/win32
-I../win32 -o /ldisk/daily_build/otp_norel_pu_win32_r13b04.2010-01-08_15/otp_src_R13B04/erts/obj/win32/erlc.o
-c erlc.c
cc.sh  -o /ldisk/daily_build/otp_norel_pu_win32_r13b04.2010-01-08_15/otp_src_R13B04/bin/win32/erlc.exe
/ldisk/daily_build/otp_norel_pu_win32_r13b04.2010-01-08_15/otp_src_R13B04/erts/obj/win32/erlc.o
-L/ldisk/daily_build/otp_norel_pu_win32_r13b04.2010-01-08_15/otp_src_R13B04/erts/obj/win32
-lsocket
erlc.o : error LNK2019: unresolved external symbol _snprintf
referenced in function _main
C:/cygwin/ldisk/daily_build/otp_norel_pu_win32_r13b04.2010-01-08_15/otp_src_R13B04/bin/win32/erlc.exe
: fatal error LNK1120: 1 unresolved externals

That is, there does not seem to be an snprintf() function on Windows.

Since a branch that does not build will prevent all other patches from
being tested on Windows, I will drop the branch the next time I push
'pu'. I will reinstate it if/when I'll receive a correction for the
problem.

-- 
Björn Gustavsson, Erlang/OTP, Ericsson AB


More information about the erlang-patches mailing list