[問題] 編譯binutils-2.17 error
gcc -DHAVE_CONFIG_H -I. -I.././binutils -I. -D_GNU_SOURCE -I. -I.././binutils
-I../bfd -I.././binu
tils/../bfd -I.././binutils/../include -I.././binutils/../intl -I../intl
-DLOCALEDIR="\"/home/tool
/build_binutils//share/locale\""
-Dbin_dummy_emulation=bin_vanilla_emulation -W -Wall -Wstrict-p
rototypes -Wmissing-prototypes
-Werror -g -O2 -c ar.c
cc1: warnings being treated as errors
In file included from /usr/include/sys/types.h:270,
from bucomm.h:26,
from ar.c:32:
/usr/include/bits/pthreadtypes.h:99: warning: unnamed struct/union that
defines no instances
make[4]: *** [ar.o] Error 1
make[4]: Leaving directory `/home/tool/binutils/binutils-2.17/binutils'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/tool/binutils/binutils-2.17/binutils'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/tool/binutils/binutils-2.17/binutils'
make[1]: *** [all-binutils] Error 2
make[1]: Leaving directory `/home/tool/binutils/binutils-2.17'
make: *** [all] Error 2
gcc版本是4.3.2
請問如何解決?
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.123.214.115
→
04/14 21:46, , 1F
04/14 21:46, 1F
推
04/15 04:08, , 2F
04/15 04:08, 2F
→
04/16 22:05, , 3F
04/16 22:05, 3F
LinuxDev 近期熱門文章
PTT數位生活區 即時熱門文章