[root@anolis ltp-full-20160510]# make -j make -C "lib" \ -f "/home/ltp-full-20160510/lib/Makefile" all if git describe >/dev/null 2>&1; then \ git describe > "Version"; \ else \ cp /home/ltp-full-20160510/VERSION "Version"; \ fi make[1]: Entering directory '/home/ltp-full-20160510/lib' make[2]: Entering directory '/home/ltp-full-20160510/lib/newlib_tests' gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -W -Wold-style-definition -I/usr/include/tirpc -ltirpc -W -Wall -D_FORTIFY_SOURCE=2 -I../../include -I../../include -I../../include/old/ -L../../lib test01.c -lltp -o test01 gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -W -Wold-style-definition -I/usr/include/tirpc -ltirpc -W -Wall -D_FORTIFY_SOURCE=2 -I../../include -I../../include -I../../include/old/ -L../../lib test02.c -lltp -o test02 gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -W -Wold-style-definition -I/usr/include/tirpc -ltirpc -W -Wall -D_FORTIFY_SOURCE=2 -I../../include -I../../include -I../../include/old/ -L../../lib test03.c -lltp -o test03 gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -W -Wold-style-definition -I/usr/include/tirpc -ltirpc -W -Wall -D_FORTIFY_SOURCE=2 -I../../include -I../../include -I../../include/old/ -L../../lib test04.c -lltp -o test04 gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -W -Wold-style-definition -I/usr/include/tirpc -ltirpc -W -Wall -D_FORTIFY_SOURCE=2 -I../../include -I../../include -I../../include/old/ -L../../lib test05.c -lltp -o test05 gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -W -Wold-style-definition -I/usr/include/tirpc -ltirpc -W -Wall -D_FORTIFY_SOURCE=2 -I../../include -I../../include -I../../include/old/ -L../../lib test06.c -lltp -o test06 gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -W -Wold-style-definition -I/usr/include/tirpc -ltirpc -W -Wall -D_FORTIFY_SOURCE=2 -I../../include -I../../include -I../../include/old/ -L../../lib test07.c -lltp -o test07 gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -W -Wold-style-definition -I/usr/include/tirpc -ltirpc -W -Wall -pthread -D_FORTIFY_SOURCE=2 -I../../include -I../../include -I../../include/old/ -L../../lib test08.c -lltp -o test08 gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -W -Wold-style-definition -I/usr/include/tirpc -ltirpc -W -Wall -pthread -D_FORTIFY_SOURCE=2 -I../../include -I../../include -I../../include/old/ -L../../lib test09.c -lltp -o test09 /usr/bin/ld: ../../lib/libltp.a(tst_test.o):/home/ltp-full-20160510/lib/../include/tst_test.h:145: multiple definition of `TCID'; /tmp/ccP8LHk7.o:/home/ltp-full-20160510/lib/newlib_tests/../../include/tst_test.h:145: first defined here /usr/bin/ld: ../../lib/libltp.a(tst_test.o):/home/ltp-full-20160510/lib/../include/tst_test.h:145: multiple definition of `TCID'; /tmp/ccQ8pc9K.o:/home/ltp-full-20160510/lib/newlib_tests/../../include/tst_test.h:145: first defined here /usr/bin/ld: ../../lib/libltp.a(tst_test.o):/home/ltp-full-20160510/lib/../include/tst_test.h:145: multiple definition of `TCID'; /tmp/ccbMWwp0.o:/home/ltp-full-20160510/lib/newlib_tests/../../include/tst_test.h:145: first defined here /usr/bin/ld: ../../lib/libltp.a(tst_test.o):/home/ltp-full-20160510/lib/../include/tst_test.h:145: multiple definition of `TCID'; /tmp/ccYQJI1K.o:/home/ltp-full-20160510/lib/newlib_tests/../../include/tst_test.h:145: first defined here /usr/bin/ld: /usr/bin/ld: /usr/bin/ld: ../../lib/libltp.a(tst_test.o):/home/ltp-full-20160510/lib/../include/tst_test.h:145: multiple definition of `TCID'; /tmp/ccpPUdZa.o:/home/ltp-full-20160510/lib/newlib_tests/../../include/tst_test.h:145: first defined here ../../lib/libltp.a(tst_test.o):/home/ltp-full-20160510/lib/../include/tst_test.h:145: multiple definition of `TCID'; ../../lib/libltp.a(tst_test.o):/home/ltp-full-20160510/lib/../include/tst_test.h:145: multiple definition of `TCID'; /tmp/ccSMvVNi.o:/home/ltp-full-20160510/lib/newlib_tests/../../include/tst_test.h:145: first defined here /tmp/ccvZ4yq8.o:/home/ltp-full-20160510/lib/newlib_tests/../../include/tst_test.h:145: first defined here /usr/bin/ld: ../../lib/libltp.a(tst_test.o):/home/ltp-full-20160510/lib/../include/tst_test.h:145: multiple definition of `TCID'; /tmp/cc2zVlGo.o:/home/ltp-full-20160510/lib/newlib_tests/../../include/tst_test.h:145: first defined here /usr/bin/ld: ../../lib/libltp.a(tst_test.o):/home/ltp-full-20160510/lib/../include/tst_test.h:145: multiple definition of `TCID'; /tmp/ccpRQjiR.o:/home/ltp-full-20160510/lib/newlib_tests/../../include/tst_test.h:145: first defined here collect2: error: ld returned 1 exit status make[2]: *** [: test01] Error 1 make[2]: *** Waiting for unfinished jobs.... collect2: error: ld returned 1 exit status make[2]: *** [: test02] Error 1 collect2: error: ld returned 1 exit status make[2]: *** [: test03] Error 1 collect2: error: ld returned 1 exit status make[2]: *** [: test06] Error 1 collect2: error: ld returned 1 exit status make[2]: *** [: test05] Error 1 collect2: error: ld returned 1 exit status make[2]: *** [: test07] Error 1 collect2: error: ld returned 1 exit status make[2]: *** [: test04] Error 1 collect2: error: ld returned 1 exit status make[2]: *** [: test09] Error 1 collect2: error: ld returned 1 exit status make[2]: *** [: test08] Error 1 make[2]: Leaving directory '/home/ltp-full-20160510/lib/newlib_tests' make[1]: *** [../include/mk/generic_trunk_target.inc:93: all] Error 2 make[1]: Leaving directory '/home/ltp-full-20160510/lib' make: *** [Makefile:114: lib-all] Error 2