Moi!

When compiling the libtool branch with --enable-linux-smp, file
src/exec/libdx/lock.c references functions from plock.c in the same
directory. Unlike lock.c, plock.c is not compiled into libDXlite, and
linkage of the final executables fails due to unresolved symbols. Since
the whole code in plock.c is wrapped in #if (ENABLE_SMP_LINUX == 1), this
file can be included into libDXlite unconditionally with negligible
overhead.

Please apply.

Regards,

Daniel.

---[snip]---

Index: Makefile.am
===================================================================
RCS file: /src/master/dx/src/exec/libdx/Makefile.am,v
retrieving revision 1.42.2.5
diff -u -r1.42.2.5 Makefile.am
--- Makefile.am 8 Nov 2002 19:31:54 -0000       1.42.2.5
+++ Makefile.am 3 Jul 2003 12:03:53 -0000
@@ -52,7 +52,7 @@
         series.c composite.c multigrid.c lblight.c array.c sharedarray.c \
         regulararray.c cstarray.c patharray.c productarray.c \
         mesharray.c xform.c lbscreen.c lbprivate.c lbmessage.c  \
-        timing.c lock.c stringtable.c client.c basic.c lbvector.c
+        timing.c lock.c plock.c stringtable.c client.c basic.c lbvector.c
 
 dxlite_sources1 = \
         matrix.c init.c lbgrid.c box.c helper.c neighbors.c \

Reply via email to