Can't build R14B from source

Alexey Romanov <>
Fri Sep 17 08:40:59 CEST 2010

When building R14B, I've got the following error:

=== Entering application kernel
make[3]: Entering directory `/home/aromanov/otp_src/otp_src_R14B/lib/kernel/src'
make -w RELEASE_PATH=/home/aromanov/otp_arm_compiled   release_spec
make[4]: Entering directory `/home/aromanov/otp_src/otp_src_R14B/lib/kernel/src'
erlc -W  +debug_info -I../include -o../ebin application.erl
erlc -W  +debug_info -I../include -o../ebin application_controller.erl
erlc -W  +debug_info -I../include -o../ebin application_master.erl
erlc -W  +debug_info -I../include -o../ebin application_starter.erl
erlc -W  +debug_info -I../include -o../ebin auth.erl
erlc -W  +debug_info -I../include -o../ebin code.erl
erlc -W  +debug_info -I../include -o../ebin code_server.erl
erlc -W  +debug_info -I../include -o../ebin disk_log.erl
erlc -W  +debug_info -I../include -o../ebin disk_log_1.erl
erlc -W  +debug_info -I../include -o../ebin disk_log_server.erl
erlc -W  +debug_info -I../include -o../ebin disk_log_sup.erl
erlc -W  +debug_info -I../include -o../ebin dist_ac.erl
erlc -W  +debug_info -I../include -o../ebin dist_util.erl
erlc -W  +debug_info -I../include -o../ebin erl_boot_server.erl
erlc -W  +debug_info -I../include -o../ebin erl_ddll.erl
erlc -W  +debug_info -I../include -o../ebin erl_distribution.erl
erlc -W  +debug_info -I../include -Depmd_port_no=4369
-Depmd_node_type=110 -Depmd_dist_low=5 -Depmd_dist_high=5
-Derlang_daemon_port=4369 -o../ebin erl_epmd.erl
erlc -W  +debug_info -I../include -o../ebin erl_reply.erl
erlc -W  +debug_info -I../include -o../ebin erts_debug.erl
erlc -W  +debug_info -I../include -o../ebin error_handler.erl
erlc -W  +debug_info -I../include -o../ebin error_logger.erl
erlc -W  +debug_info -I../include -o../ebin file.erl
type date_time() undefined
type date_time() undefined
type date_time() undefined

Comparison with R13B showed types date(), time(), and date_time() used
to be defined in file.hrl and are now defined in file.erl, and moving
the definition back allowed everything to compile. Did anybody else
run into this error? Presumably if many people were, it would have
been fixed long ago, but I can't see why it would only happen for me.

Yours, Alexey Romanov

More information about the erlang-questions mailing list