icshwi / e3-ecmc-bitbucket

ESS Site-specific module : ecmc
0 stars 0 forks source link

undefined symbol: git_version_str #1

Closed jeonghanlee closed 6 years ago

jeonghanlee commented 6 years ago
Loading /epics/modules/ecmc/4.2.0/R3.15.5/lib/linux-x86_64/libecmc.so library failed: /epics/modules/ecmc/4.2.0/R3.15.5/lib/linux-x86_64/libecmc.so: undefined symbol: git_version_str

readelf -s /testing/epics/base-3.15.5/require/0.0.0/siteMods/ecmc/4.2.0/lib/linux-x86_64/libecmc.so |grep git
   198: 0000000000000000     0 NOTYPE  GLOBAL DEFAULT  UND git_version_str
 20345: 0000000000000000     0 NOTYPE  GLOBAL DEFAULT  UND git_version_str

jhlee@hadron: src ((v4.2.0))$ grep -r git_version *
drvAsynECMCPort.cpp:         git_version_str,
gitversion.h:extern const char *git_version_str;

jhlee@hadron: src ((v4.2.0))$ grep -r gitversion *
drvAsynECMCPort.cpp:#include "gitversion.h"
ecmcAsynPortDriver.cpp:#include "gitversion.h"
jeonghanlee commented 6 years ago

Implemented at fabebb6. So remove path file.