[ 85%] Building CXX object CMakeFiles/XrdLcmaps.dir/src/GlobusSupport.cc.o /xrdinstall/xrootd-lcmaps/src/XrdHttpLcmaps.cc: In function 'void UpdateEntity(XrdSecEntity&, const XrdSecEntity&)': /xrdinstall/xrootd-lcmaps/src/XrdHttpLcmaps.cc:59:61: error: 'strdup' was not declared in this scope if (in.name) { free(out.name); out.name = strdup(in.name); }
This happens due to a missing #include <cstring> in XrdHttpLcmaps.cc
Hello,
when compiling, the following error occurs:
[ 85%] Building CXX object CMakeFiles/XrdLcmaps.dir/src/GlobusSupport.cc.o /xrdinstall/xrootd-lcmaps/src/XrdHttpLcmaps.cc: In function 'void UpdateEntity(XrdSecEntity&, const XrdSecEntity&)': /xrdinstall/xrootd-lcmaps/src/XrdHttpLcmaps.cc:59:61: error: 'strdup' was not declared in this scope if (in.name) { free(out.name); out.name = strdup(in.name); }
This happens due to a missing
#include <cstring>
in XrdHttpLcmaps.ccCheers, Paul