gpt4 book ai didi

linux - 下载最新二进制文件后出现错误 `make` erlang

转载 作者:太空宇宙 更新时间:2023-11-04 10:15:47 24 4
gpt4 key购买 nike

我运行了./configure

由于没有 Java 编译器,我遇到了一些无法构建文档的错误。我不认为这是相关的,所以我继续 make:

什么是错误 4

oot@marble-pyramid-1:~/download/otp_src_20.0# make
MAKE depend
make[1]: Entering directory `/root/download/otp_src_20.0/erts/emulator'
MAKE generate
make[2]: Entering directory `/root/download/otp_src_20.0/erts/emulator'
GEN x86_64-unknown-linux-gnu/gen_git_version.mk
GEN x86_64-unknown-linux-gnu/opt/smp/OPCODES-GENERATED
GEN x86_64-unknown-linux-gnu/opt/smp/TABLES-GENERATED
GEN x86_64-unknown-linux-gnu/opt/smp/erl_alloc_types.h
GEN x86_64-unknown-linux-gnu/erl_version.h
GEN x86_64-unknown-linux-gnu/opt/smp/driver_tab.c
GEN x86_64-unknown-linux-gnu/opt/smp/GENERATED
GEN x86_64-unknown-linux-gnu/preload.c
make[2]: Leaving directory `/root/download/otp_src_20.0/erts/emulator'
make[1]: Leaving directory `/root/download/otp_src_20.0/erts/emulator'
make[1]: Entering directory `/root/download/otp_src_20.0/erts/emulator'
MAKE depend
make[2]: Entering directory `/root/download/otp_src_20.0/erts/emulator'
GEN x86_64-unknown-linux-gnu/opt/smp/depend.mk
make[3]: Entering directory `/root/download/otp_src_20.0/erts/lib_src'
MAKE depend
make[4]: Entering directory `/root/download/otp_src_20.0/erts/lib_src'
GEN obj/x86_64-unknown-linux-gnu/opt/depend.mk
make[4]: Leaving directory `/root/download/otp_src_20.0/erts/lib_src'
make[4]: Entering directory `/root/download/otp_src_20.0/erts/lib_src'
make[4]: Nothing to be done for `depend'.
make[4]: Leaving directory `/root/download/otp_src_20.0/erts/lib_src'
make[3]: Leaving directory `/root/download/otp_src_20.0/erts/lib_src'
GEN x86_64-unknown-linux-gnu/gen_git_version.mk
make[2]: Leaving directory `/root/download/otp_src_20.0/erts/emulator'
make[2]: Entering directory `/root/download/otp_src_20.0/erts/emulator'
GEN x86_64-unknown-linux-gnu/gen_git_version.mk
make[2]: Nothing to be done for `depend'.
make[2]: Leaving directory `/root/download/otp_src_20.0/erts/emulator'
make[1]: Leaving directory `/root/download/otp_src_20.0/erts/emulator'
make[1]: Entering directory `/root/download/otp_src_20.0/erts/lib_src'
MAKE depend
make[2]: Entering directory `/root/download/otp_src_20.0/erts/lib_src'
make[2]: Nothing to be done for `depend'.
make[2]: Leaving directory `/root/download/otp_src_20.0/erts/lib_src'
make[1]: Leaving directory `/root/download/otp_src_20.0/erts/lib_src'
MAKE emulator
make[1]: Entering directory `/root/download/otp_src_20.0/erts'
make[2]: Entering directory `/root/download/otp_src_20.0/erts'
make[3]: Entering directory `/root/download/otp_src_20.0/erts/emulator'
MAKE opt
make[4]: Entering directory `/root/download/otp_src_20.0/erts/emulator'
GEN x86_64-unknown-linux-gnu/gen_git_version.mk
CC obj/x86_64-unknown-linux-gnu/opt/smp/erl_main.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/preload.o
EMU_CC obj/x86_64-unknown-linux-gnu/opt/smp/beam_emu.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/beam_opcodes.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/beam_load.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/beam_bif_load.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/beam_debug.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/beam_bp.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/beam_catches.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/code_ix.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/beam_ranges.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/erl_alloc.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/erl_mtrace.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/erl_alloc_util.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/erl_goodfit_alloc.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/erl_bestfit_alloc.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/erl_afit_alloc.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/erl_instrument.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/erl_init.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/erl_atom_table.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/erl_bif_table.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/erl_bif_ddll.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/erl_bif_guard.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/erl_bif_info.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/erl_bif_op.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/erl_bif_os.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/erl_bif_lists.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/erl_bif_trace.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/erl_bif_unique.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/erl_bif_wrap.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/erl_nfunc_sched.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/erl_guard_bifs.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/erl_dirty_bif_wrap.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/erl_trace.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/copy.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/utils.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/bif.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/io.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/erl_printf_term.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/erl_debug.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/erl_md5.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/erl_message.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/erl_process.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/erl_process_dict.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/erl_process_lock.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/erl_port_task.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/erl_arith.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/time.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/erl_time_sup.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/external.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/dist.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/binary.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/erl_db.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/erl_db_util.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/erl_db_hash.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/erl_db_tree.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/erl_thr_progress.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/big.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/hash.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/index.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/atom.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/module.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/export.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/register.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/break.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/erl_async.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/erl_lock_check.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/erl_gc.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/erl_lock_count.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/erl_posix_str.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/erl_bits.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/erl_math.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/erl_fun.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/erl_bif_port.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/erl_term.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/erl_node_tables.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/erl_monitors.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/erl_process_dump.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/erl_hl_timer.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/erl_cpu_topology.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/erl_drv_thread.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/erl_bif_chksum.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/erl_bif_re.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/erl_unicode.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/packet_parser.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/safe_hash.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/erl_zlib.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/erl_nif.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/erl_bif_binary.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/erl_ao_firstfit_alloc.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/erl_thr_queue.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/erl_sched_spec_pre_alloc.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/erl_ptab.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/erl_map.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/erl_msacc.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/sys.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/sys_drivers.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/sys_uds.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/driver_tab.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/unix_efile.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/gzio.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/elib_memmove.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/sys_float.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/sys_time.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/erl_poll.kp.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/erl_check_io.kp.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/erl_poll.nkp.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/erl_check_io.nkp.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/erl_mseg.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/erl_mmap.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/erl_unix_sys_ddll.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/erl_mtrace_sys_wrap.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/erl_sys_common_misc.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/erl_os_monotonic_time_extender.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/erlang_lttng.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/efile_drv.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/inet_drv.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/zlib_drv.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/ram_file_drv.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/ttsl_drv.o
CC obj/x86_64-unknown-linux-gnu/opt/smp/erl_tracer_nif.o
CC /root/download/otp_src_20.0/erts/emulator/pcre/obj/x86_64-unknown-linux-gnu/opt/pcre_latin_1_table.o
CC /root/download/otp_src_20.0/erts/emulator/pcre/obj/x86_64-unknown-linux-gnu/opt/pcre_compile.o
CC /root/download/otp_src_20.0/erts/emulator/pcre/obj/x86_64-unknown-linux-gnu/opt/pcre_config.o
CC /root/download/otp_src_20.0/erts/emulator/pcre/obj/x86_64-unknown-linux-gnu/opt/pcre_dfa_exec.o
GEN /root/download/otp_src_20.0/erts/emulator/pcre/pcre_exec_loop_break_cases.inc
CC /root/download/otp_src_20.0/erts/emulator/pcre/obj/x86_64-unknown-linux-gnu/opt/pcre_exec.o
gcc: internal compiler error: Killed (program cc1)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.8/README.Bugs> for instructions.
make[4]: *** [/root/download/otp_src_20.0/erts/emulator/pcre/obj/x86_64-unknown-linux-gnu/opt/pcre_exec.o] Error 4
make[4]: Leaving directory `/root/download/otp_src_20.0/erts/emulator'
make[3]: *** [opt] Error 2
make[3]: Leaving directory `/root/download/otp_src_20.0/erts/emulator'
make[2]: *** [opt] Error 2
make[2]: Leaving directory `/root/download/otp_src_20.0/erts'
make[1]: *** [smp] Error 2
make[1]: Leaving directory `/root/download/otp_src_20.0/erts'
make: *** [emulator] Error 2
root@marble-pyramid-1:~/download/otp_src_20.0#

最佳答案

关于 Java 的可用性,这只会影响 Java 接口(interface)是否可用——而且听起来您并不需要它。

剩下的在这里:http://erlang.org/doc/installation_guide/INSTALL.html

至于内存,您似乎有 4 个作业在运行。如果您正在使用并行 make,(可能使用 make -j4make -j?)这可能会激增您的内存需求。如果您需要超过 512MB 来构建普通的 Erlang,我会感到震惊。尝试使用单线程构建。

关于linux - 下载最新二进制文件后出现错误 `make` erlang,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46326695/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com