make fails with duplicate symbols
Submitted by Peter Farrell
Environment: AIX 6.1 using GCC 4.2, building glib-2.22.5
Problem: when running make, it fails when building a library due to duplicate symbols from two modules. This is caused by the entry in the file "./config.h”
/* Define to 1 if you have the <arpa/nameser_compat.h> header file. */ #define HAVE_ARPA_NAMESER_COMPAT_H 1
The include file exists (in AIX)and hence the define. The problem stems from the entry in configure.in and there is no option to ./configure to allow this test to be ignored.
Obviously, the workaround is to edit the config.h file