I face the following problem with the static library structure in the head using the classic build:
nm /tmp/classic/lib/libXrdSys.a | grep _ZN12XrdSysLoggerC1Eii
0000000000000930 T _ZN12XrdSysLoggerC1Eii
nm /tmp/classic/lib/libXrdOuc.a | grep _ZN12XrdSysLoggerC1Eii
0000000000000930 T _ZN12XrdSysLoggerC1Eii
nm /tmp/classic/lib/libXrdSys.a | grep strlcpy
0000000000000000 T strlcpy
nm /tmp/classic/lib/libXrdOuc.a | grep strlcpy
U strlcpy
As in this example: if I need some function using strlcpy I need to link XrdOuc & XrdSys, but both libraries are only as static available ( XrdOuc links some objects from XrdSys in but not all!) and I get double defined symbols (on MAC). What can we do here?
Cheers Andreas.