On Thu, Aug 24, 2017 at 05:47:44PM +0530, rahul kashyap wrote:
Could anybody please help me in resolving this error during
./simfactory/bin/sim build --mdbkey make 'make -j2' --thornlist=manifest/
einsteintoolkit.th ?
configure: error: strdup has no C prototype. Try adding -D_XOPEN_SOURCE
-D_XOPEN_SOURCE_EXTENDED to CPPFLAGS
Which optionlist are you using? On ubuntu, ubuntu.cfg should work. You want to look for the -std=gnu99 option for the C compiler (CFLAGS), which this optionlist sets as given, but likely also others need to be set according to what commonly is present on ubuntu, thus the optionlist for it.
Frank