Index: /branches/eam_branches/ipp-20220316/Ohana/Makefile.Common
===================================================================
--- /branches/eam_branches/ipp-20220316/Ohana/Makefile.Common	(revision 42140)
+++ /branches/eam_branches/ipp-20220316/Ohana/Makefile.Common	(revision 42141)
@@ -84,8 +84,11 @@
 	@echo ""
 
+# USE THIS? -Wl,--allow-multiple-definition
+
 $(LIB)/%.$(ARCH).so:
 	@if [ ! -d $(LIB) ]; then mkdir -p $(LIB); fi
 	rm -f $@
-	gcc -shared -Wl,-soname,$*.so -o $@ $^ -lc
+#	gcc -shared -Wl,-soname,$*.so -o $@ $^ -lc
+	gcc -shared -Wl,-soname,$*.so -o $@ $^ -lc -Wl,--allow-multiple-definition
 	@echo "compiled shared library $*"
 	@echo ""
Index: /branches/eam_branches/ipp-20220316/Ohana/Makefile.System.in
===================================================================
--- /branches/eam_branches/ipp-20220316/Ohana/Makefile.System.in	(revision 42140)
+++ /branches/eam_branches/ipp-20220316/Ohana/Makefile.System.in	(revision 42141)
@@ -17,5 +17,5 @@
 CFLAGS   = @CFLAGS@
 CPPFLAGS = @CPPFLAGS@
-LDFLAGS  = @LDFLAGS@
+LDFLAGS  = @LDFLAGS@ -Wl,--allow-multiple-definition
 DLLTYPE  = @DLLTYPE@
 
Index: /branches/eam_branches/ipp-20220316/Ohana/src/libdvo/include/dvodb.h
===================================================================
--- /branches/eam_branches/ipp-20220316/Ohana/src/libdvo/include/dvodb.h	(revision 42140)
+++ /branches/eam_branches/ipp-20220316/Ohana/src/libdvo/include/dvodb.h	(revision 42141)
@@ -150,5 +150,5 @@
 
 /* measure fields */
-enum {MEAS_ZERO, 
+typedef enum {MEAS_ZERO, 
       MEAS_GLON, 
       MEAS_GLAT, 
@@ -312,5 +312,5 @@
 
 /* average fields */
-enum {AVE_ZERO, 
+typedef enum {AVE_ZERO, 
       AVE_RA, 
       AVE_DEC, 
@@ -376,5 +376,5 @@
 //       AVE_Xm, 
 
-enum {IMAGE_ZERO, 
+typedef enum {IMAGE_ZERO, 
       IMAGE_RA, 
       IMAGE_DEC, 
Index: /branches/eam_branches/ipp-20220316/Ohana/src/opihi/Makefile.Common
===================================================================
--- /branches/eam_branches/ipp-20220316/Ohana/src/opihi/Makefile.Common	(revision 42140)
+++ /branches/eam_branches/ipp-20220316/Ohana/src/opihi/Makefile.Common	(revision 42141)
@@ -42,5 +42,6 @@
 	@if [ ! -d $(LIB) ]; then mkdir -p $(LIB); fi
 	rm -f $@
-	gcc -shared -Wl,-soname,$*.so -o $@ $^ -lc
+#	gcc -shared -Wl,-soname,$*.so -o $@ $^ -lc
+	gcc -shared -Wl,-soname,$*.so -o $@ $^ -lc -Wl,--allow-multiple-definition
 
 $(DESTLIB)/%.so: $(LIB)/%.$(ARCH).so
