[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Linux-cluster] [PATCH] to fix ccs_tool ld error on latest cvs



On Mon, 2005-01-24 at 01:18, Jaime Perea wrote:
> Hi everybody,
> 
> My first posting!
> 
> Perhaps doing 
> LDFLAGS="-lpthread"  make 
> 
> could work. 

Thanks.  Adding -lpthread in the Makefile fixed the build problem.

Here's the patch that fixed the problem.

--- cluster.orig/ccs/ccs_tool/Makefile	2005-01-27 11:15:49.385135157 -0800
+++ cluster/ccs/ccs_tool/Makefile	2005-01-24 15:29:38.000000000 -0800
@@ -25,7 +25,7 @@
 endif
 
 LDFLAGS+= -L${ccs_libdir} `xml2-config --libs` -L${libdir}
-LOADLIBES+= -lccs -lmagma -lmagmamsg -ldl
+LOADLIBES+= -lccs -lmagma -lmagmamsg -ldl -lpthread
 
 all: ccs_tool
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]