[Users] Error on Ubuntu Machine

Frank Loeffler knarf at cct.lsu.edu
Thu Aug 24 08:20:27 CDT 2017


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
Url : http://lists.einsteintoolkit.org/pipermail/users/attachments/20170824/da256abf/attachment.bin 


More information about the Users mailing list