From greenlean at gmail.com Thu May 21 05:01:00 2020 From: greenlean at gmail.com (=?UTF-8?Q?Juan_Manuel_G=C3=B3mez_L=C3=B3pez?=) Date: Thu, 21 May 2020 11:01:00 +0200 Subject: [Openswan Users] openswan 2.6.51 Build error Message-ID: Dear I am not able to build the openswan on Archlinux with gcc 10. ]$ gcc --version gcc (GCC) 10.1.0 When I make the target programs, ld fails with error: ]$ make programs ... /usr/bin/ld: /home/**/Workspace/openswan/openswan-2.6.51.5/OBJ.linux.x86_64/lib/libwhack/libwhack.a(aliascomp.o):/home/ ** Workspace/openswan/openswan-2.6.51.5/include/pluto_constants.h:650: multiple definition of `kw_host_list'; connections.o:/home/**/Workspace/openswan/openswan-2.6.51.5/include/pluto_constants.h:650: first defined here collect2: error: ld returned 1 exit status make[3]: *** [/home/**/Workspace/openswan/openswan-2.6.51.5/programs/pluto/Makefile:227: pluto] Error 1 The pluto_constants.h file, which is included everywhere, defines: /* keyword_name(&kw_host_list, type, buffer[KEYWORD_NAME_BUFLEN]) */ struct keyword_enum_values kw_host_list; Any suggestions or Workoround to build? Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: