TrinityCore:when i "make" have an error!

Redheat Wei June 4, 2016

This is my error.

#

make

......

[ 9%] Built target gsoap
[ 9%] Built target mpq
[ 9%] Built target revision_data.h
[ 9%] Built target commonPCH.cpp_dephelp
[ 9%] Built target generate_commonPCH.cpp
[ 9%] Building CXX object src/common/CMakeFiles/common.dir/PrecompiledHeaders/commonPCH.cpp.o

g++-4.9: internal compiler error: Segmentation fault (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.9/README.Bugs> for instructions.
make[2]: *** [src/common/CMakeFiles/common.dir/PrecompiledHeaders/commonPCH.cpp.o] Error 4
make[1]: *** [src/common/CMakeFiles/common.dir/all] Error 2
make: *** [all] Error 2

When I use  ulimit -aH

#

ulimit -aH


core file size (blocks, -c) unlimited
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 3738
max locked memory (kbytes, -l) 64
max memory size (kbytes, -m) unlimited
open files (-n) 65535
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 0
stack size (kbytes, -s) 65532
cpu time (seconds, -t) unlimited
max user processes (-u) 266
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited

#

top


top - 01:04:15 up 158 days, 3:07, 2 users, load average: 0.00, 0.01, 0.08
Tasks: 117 total, 3 running, 114 sleeping, 0 stopped, 0 zombie
%Cpu(s): 0.3 us, 0.3 sy, 0.0 ni, 99.3 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
KiB Mem: 500192 total, 260092 used, 240100 free, 8508 buffers
KiB Swap: 0 total, 0 used, 0 free. 95720 cached Mem


My server only have 512M memory, is because this?

Thanks!

 

1 answer

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 4, 2016

Please explain what this has to do with JIRA?  (Or an Atlassian product)

Suggest an answer

Log in or Sign up to answer