dm_get_multipath() is a static function, not a symbol that can be
exported. Clang is strict about not allowing undefined symbols in linker
scripts and therefore its presence prevents clang from building
libmultipath.

Fixes: https://github.com/opensvc/multipath-tools/issues/132
Fixes: bf3a4ad ("libmultipath: simplify dm_get_maps()")
Signed-off-by: Michal Rostecki <[email protected]>
---
 libmultipath/libmultipath.version | 1 -
 1 file changed, 1 deletion(-)

diff --git a/libmultipath/libmultipath.version 
b/libmultipath/libmultipath.version
index 89ae2a3c..5017a54d 100644
--- a/libmultipath/libmultipath.version
+++ b/libmultipath/libmultipath.version
@@ -85,7 +85,6 @@ global:
        dm_geteventnr;
        dm_get_major_minor;
        dm_get_maps;
-       dm_get_multipath;
        dm_is_mpath;
        dm_mapname;
        dm_prereq;
-- 
2.52.0



Reply via email to