The problem is fixed. However I met another one. As shown below, it doesn't move any further when "building als.app.o". Is is caused by lack of memory?
I checked before I ran "make", and my laptop had about 1.7GB memory free. Is it enough?
[ 8%] Built target zookeeper
[ 16%] Built target libjson
[ 24%] Built target libbz2
[ 32%] Built target boost
[ 38%] Built target libtcmalloc
[ 44%] Built target libevent
[ 53%] Built target hadoop
[ 91%] Built target graphlab
[ 97%] Built target eigen
[ 97%] Building CXX object toolkits/collaborative_filtering/CMakeFiles/als.dir/als.cpp.o
Thank you very much.