<div dir="ltr"><div>running Strong Swan 5.3.0 on Centos 6.5 box. </div><div><br></div>Here is the output of the command:<div>make[4]: Entering directory `/root/proj/iswan/src/strongswan/strongswan-5.3.0/src/libcharon/plugins/farp'<div>depbase=`echo farp_spoofer.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\</div><div> /bin/sh ../../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../.. -I../../../../src/libstrongswan -I../../../../src/libhydra -I../../../../src/libcharon -rdynamic -g -O2 -Wa</div><div>ll -Wno-format -Wno-format-security -Wno-pointer-sign -include /root/proj/iswan/src/strongswan/strongswan-5.3.0/config.h -MT farp_spoofer.lo -MD -MP -MF $depbase.Tpo -c -o farp_spoofer.lo farp_spoofer.c &&\</div><div> mv -f $depbase.Tpo $depbase.Plo</div><div>libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../.. -I../../../../src/libstrongswan -I../../../../src/libhydra -I../../../../src/libcharon -rdynamic -g -O2 -Wall -Wno-format -Wno-format-security -Wno-point</div><div>er-sign -include /root/proj/iswan/src/strongswan/strongswan-5.3.0/config.h -MT farp_spoofer.lo -MD -MP -MF .deps/farp_spoofer.Tpo -c farp_spoofer.c -fPIC -DPIC -o .libs/farp_spoofer.o</div><div>In file included from /usr/include/linux/netdevice.h:29,</div><div> from /usr/include/linux/if_arp.h:26,</div><div> from farp_spoofer.c:21:</div><div>/usr/include/linux/if_ether.h:126: error: expected specifier-qualifier-list before '__be16'</div><div>In file included from /usr/include/linux/netdevice.h:30,</div><div> from /usr/include/linux/if_arp.h:26,</div><div> from farp_spoofer.c:21:</div><div>/usr/include/linux/if_packet.h:10: error: expected specifier-qualifier-list before '__be16'</div><div>/usr/include/linux/if_packet.h:16: error: expected specifier-qualifier-list before '__be16'</div><div>/usr/include/linux/if_packet.h:65: error: expected specifier-qualifier-list before '__u16'</div><div>/usr/include/linux/if_packet.h:104: error: expected specifier-qualifier-list before '__u16'</div><div>In file included from /usr/include/linux/if_link.h:5,</div><div> from /usr/include/linux/netdevice.h:31,</div><div> from /usr/include/linux/if_arp.h:26,</div><div> from farp_spoofer.c:21:</div><div>/usr/include/linux/netlink.h:44: error: expected specifier-qualifier-list before '__u16'</div><div>/usr/include/linux/netlink.h:134: error: expected specifier-qualifier-list before '__u16'</div><div>In file included from /usr/include/linux/netdevice.h:31,</div><div> from /usr/include/linux/if_arp.h:26,</div><div> from farp_spoofer.c:21:</div><div>/usr/include/linux/if_link.h:42: error: expected specifier-qualifier-list before '__u64'</div><div>/usr/include/linux/if_link.h:76: error: expected specifier-qualifier-list before '__u64'</div><div>/usr/include/linux/if_link.h:303: error: expected specifier-qualifier-list before '__be16'</div><div>/usr/include/linux/if_link.h:331: error: expected specifier-qualifier-list before '__u8'</div><div>/usr/include/linux/if_link.h:429: error: expected specifier-qualifier-list before '__u8'</div><div>In file included from farp_spoofer.c:21:</div><div>/usr/include/linux/if_arp.h:138: error: expected specifier-qualifier-list before '__be16'</div><div>In file included from farp_spoofer.c:23:</div><div>/usr/include/linux/filter.h:25: error: expected specifier-qualifier-list before '__u16'</div><div>farp_spoofer.c: In function 'send_arp':</div><div>farp_spoofer.c:77: error: 'struct sockaddr_ll' has no member named 'sll_ifindex'</div><div>farp_spoofer.c: In function 'farp_spoofer_create':</div><div><div>farp_spoofer.c:141: warning: excess elements in struct initializer [51/1822]</div><div>farp_spoofer.c:141: warning: (near initialization for 'arp_request_filter_code[0]')</div><div>farp_spoofer.c:141: warning: excess elements in struct initializer</div><div>farp_spoofer.c:141: warning: (near initialization for 'arp_request_filter_code[0]')</div><div>farp_spoofer.c:141: warning: excess elements in struct initializer</div><div>farp_spoofer.c:141: warning: (near initialization for 'arp_request_filter_code[0]')</div><div>farp_spoofer.c:141: warning: excess elements in struct initializer</div><div>farp_spoofer.c:141: warning: (near initialization for 'arp_request_filter_code[0]')</div><div>farp_spoofer.c:142: warning: excess elements in struct initializer</div><div>farp_spoofer.c:142: warning: (near initialization for 'arp_request_filter_code[1]')</div><div>farp_spoofer.c:142: warning: excess elements in struct initializer</div><div>farp_spoofer.c:142: warning: (near initialization for 'arp_request_filter_code[1]')</div><div>farp_spoofer.c:142: warning: excess elements in struct initializer</div><div>farp_spoofer.c:142: warning: (near initialization for 'arp_request_filter_code[1]')</div><div>farp_spoofer.c:142: warning: excess elements in struct initializer</div><div>farp_spoofer.c:142: warning: (near initialization for 'arp_request_filter_code[1]')</div><div>farp_spoofer.c:143: warning: excess elements in struct initializer</div><div>farp_spoofer.c:143: warning: (near initialization for 'arp_request_filter_code[2]')</div><div>farp_spoofer.c:143: warning: excess elements in struct initializer</div><div>farp_spoofer.c:143: warning: (near initialization for 'arp_request_filter_code[2]')</div><div>farp_spoofer.c:143: warning: excess elements in struct initializer</div><div>farp_spoofer.c:143: warning: (near initialization for 'arp_request_filter_code[2]')</div><div>farp_spoofer.c:143: warning: excess elements in struct initializer</div><div>farp_spoofer.c:143: warning: (near initialization for 'arp_request_filter_code[2]')</div><div>farp_spoofer.c:144: warning: excess elements in struct initializer</div><div>farp_spoofer.c:144: warning: (near initialization for 'arp_request_filter_code[3]')</div><div>farp_spoofer.c:144: warning: excess elements in struct initializer</div><div>farp_spoofer.c:144: warning: (near initialization for 'arp_request_filter_code[3]')</div><div>farp_spoofer.c:144: warning: excess elements in struct initializer</div><div>farp_spoofer.c:144: warning: (near initialization for 'arp_request_filter_code[3]')</div><div>farp_spoofer.c:144: warning: excess elements in struct initializer</div><div>farp_spoofer.c:144: warning: (near initialization for 'arp_request_filter_code[3]')</div><div>farp_spoofer.c:145: warning: excess elements in struct initializer</div><div>farp_spoofer.c:145: warning: (near initialization for 'arp_request_filter_code[4]')</div><div>farp_spoofer.c:145: warning: excess elements in struct initializer</div><div>farp_spoofer.c:145: warning: (near initialization for 'arp_request_filter_code[4]')</div><div>farp_spoofer.c:145: warning: excess elements in struct initializer</div><div>farp_spoofer.c:145: warning: (near initialization for 'arp_request_filter_code[4]')</div><div>farp_spoofer.c:145: warning: excess elements in struct initializer</div><div>farp_spoofer.c:145: warning: (near initialization for 'arp_request_filter_code[4]')</div><div>farp_spoofer.c:146: warning: excess elements in struct initializer</div><div>farp_spoofer.c:146: warning: (near initialization for 'arp_request_filter_code[5]')</div><div>farp_spoofer.c:146: warning: excess elements in struct initializer</div><div>farp_spoofer.c:146: warning: (near initialization for 'arp_request_filter_code[5]')</div><div>farp_spoofer.c:146: warning: excess elements in struct initializer</div><div>farp_spoofer.c:146: warning: (near initialization for 'arp_request_filter_code[5]')</div><div>farp_spoofer.c:146: warning: excess elements in struct initializer</div><div>farp_spoofer.c:146: warning: (near initialization for 'arp_request_filter_code[5]')</div><div>farp_spoofer.c:147: warning: excess elements in struct initializer</div><div>farp_spoofer.c:147: warning: (near initialization for 'arp_request_filter_code[6]')</div><div>farp_spoofer.c:147: warning: excess elements in struct initializer</div><div>farp_spoofer.c:147: warning: (near initialization for 'arp_request_filter_code[6]')</div><div>farp_spoofer.c:147: warning: excess elements in struct initializer</div><div>farp_spoofer.c:147: warning: (near initialization for 'arp_request_filter_code[6]')</div><div>farp_spoofer.c:147: warning: excess elements in struct initializer</div><div>farp_spoofer.c:147: warning: (near initialization for 'arp_request_filter_code[6]')</div><div>farp_spoofer.c:152: warning: (near initialization for 'arp_request_filter_code[11]')</div><div>farp_spoofer.c:152: warning: excess elements in struct initializer</div><div>farp_spoofer.c:152: warning: (near initialization for 'arp_request_filter_code[11]')</div><div>farp_spoofer.c:155: warning: division by zero</div><div>make[4]: *** [farp_spoofer.lo] Error 1</div><div>make[4]: Leaving directory `/root/proj/iswan/src/strongswan/strongswan-5.3.0/src/libcharon/plugins/farp'</div><div>make[3]: *** [all-recursive] Error 1</div><div>make[3]: Leaving directory `/root/proj/iswan/src/strongswan/strongswan-5.3.0/src/libcharon'</div><div>make[2]: *** [all-recursive] Error 1</div><div>make[2]: Leaving directory `/root/proj/iswan/src/strongswan/strongswan-5.3.0/src'</div><div>make[1]: *** [all-recursive] Error 1</div><div>make[1]: Leaving directory `/root/proj/iswan/src/strongswan/strongswan-5.3.0'</div><div>make: *** [all] Error 2</div><div><br></div><div>farp_spoofer.c:148: warning: excess elements in struct initializer</div><div>farp_spoofer.c:148: warning: (near initialization for 'arp_request_filter_code[7]')</div><div>farp_spoofer.c:148: warning: excess elements in struct initializer</div></div><div><br></div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, May 18, 2015 at 3:50 AM, Martin Willi <span dir="ltr"><<a href="mailto:martin@strongswan.org" target="_blank">martin@strongswan.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<span class=""><br>
> 1) Ran configur as root<br>
</span>> ./configure [...]<br>
<br>
The build works fine here when passing these options.<br>
<span class=""><br>
> 2) Ran make as root, but with these errors:<br>
><br>
> make[4]: *** [farp_spoofer.lo] Error 1<br>
> make[4]: Leaving directory<br>
<br>
</span>I don't see the build error from your excerpt, only the error<br>
propagation from farp in make. Please include the error output of the<br>
failing make command (most likely from gcc).<br>
<br>
Regards<br>
<span class="HOEnZb"><font color="#888888">Martin<br>
<br>
</font></span></blockquote></div><br></div>