Hi,
I am getting the following error when compiling gettext v0.21 with gcc 10.1.0.
.libs/clean-temp.o:(.bss+0x0): multiple definition of `error_print_progname'
.libs/argmatch.o:(.bss+0x0): first defined here
.libs/closeout.o:(.bss+0x0): multiple definition of `error_print_progname'
gettext-0.21/gettext-tools/gnulib-lib/argmatch.c:61: first defined here
.libs/copy-file.o:(.bss+0x0): multiple definition of `error_print_progname'
gettext-0.21/gettext-tools/gnulib-lib/argmatch.c:61: first defined here
.libs/csharpcomp.o:(.bss+0x0): multiple definition of `error_print_progname'
gettext-0.21/gettext-tools/gnulib-lib/argmatch.c:61: first defined here
.libs/csharpexec.o:(.bss+0x0): multiple definition of `error_print_progname'
gettext-0.21/gettext-tools/gnulib-lib/argmatch.c:61: first defined here
.libs/execute.o:(.bss+0x0): multiple definition of `error_print_progname'
gettext-0.21/gettext-tools/gnulib-lib/argmatch.c:61: first defined here
I could realize the issue is because of the gcc now passes -fno-common
So in the below link there is define of the symbol and the error.h is included in many places which causes the issue.
Please suggest a way to move forward.
Thanks
Vignesh R