Hi all:<div><br></div><div>I used to build erlang from otp src, every thing was fine.</div><div><br></div><div>This time I got this error</div><div><br></div><div><div>gcc -g -O2 -I/home/huanghuang/otp/erts/x86_64-unknown-linux-gnu   -fno-tree-copyrename  -D_GNU_SOURCE -DERTS_SMP -DHAVE_CONFIG_H -Wall -Wstrict-prototypes -Wmissing-prototypes -Wdeclaration-after-statement -DUSE_THREADS -D_THREAD_SAFE -D_REENTRANT -DPOSIX_THREADS -D_POSIX_THREAD_SAFE_FUNCTIONS  -DLIBSCTP=libsctp.so.1 -Ix86_64-unknown-linux-gnu/opt/smp -Ibeam -Isys/unix -Isys/common -Ix86_64-unknown-linux-gnu -Izlib  -Ipcre -Ihipe -I../include -I../include/x86_64-unknown-linux-gnu -I../include/internal -I../include/internal/x86_64-unknown-linux-gnu -Idrivers/common -Idrivers/unix -c drivers/common/inet_drv.c -o obj/x86_64-unknown-linux-gnu/opt/smp/inet_drv.o</div>

<div>drivers/common/inet_drv.c:1236:30: error: static declaration of ‘in6addr_any’ follows non-static declaration</div><div>/usr/include/netinet/in.h:215:30: note: previous declaration of ‘in6addr_any’ was here</div><div>

drivers/common/inet_drv.c:1246:30: error: static declaration of ‘in6addr_loopback’ follows non-static declaration</div><div>/usr/include/netinet/in.h:216:30: note: previous declaration of ‘in6addr_loopback’ was here</div>

<div>make[3]: *** [obj/x86_64-unknown-linux-gnu/opt/smp/inet_drv.o] Error 1</div><div>make[3]: Leaving directory `/home/huanghuang/otp/erts/emulator'</div><div>make[2]: *** [opt] Error 2</div><div>make[2]: Leaving directory `/home/huanghuang/otp/erts/emulator'</div>

<div>make[1]: *** [smp] Error 2</div><div>make[1]: Leaving directory `/home/huanghuang/otp/erts'</div></div><div><br></div><div>Is it related to something about ipv6? Do I have to install any other depedencies?</div>
<div>
<br></div><div>Thanks.</div><div><div><br></div><div>黄璜         (Alex Huang)<br><div><br>
<font color="#888888"><br></font><div><br></div></div><br>
</div></div>