Hello Fabio, Here is the information regarding this libccs problem: <-------------- snipped ------------------> make[2]: Leaving directory `/conf/build/Cluster/cluster-3.0.7/cman/lib' make[2]: Entering directory `/conf/build/Cluster/cluster-3.0.7/cman/cman_tool' make -C ../lib all make[3]: Entering directory `/conf/build/Cluster/cluster-3.0.7/cman/lib' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/conf/build/Cluster/cluster-3.0.7/cman/lib' gcc -Wall -Wformat=2 -Wshadow -Wmissing-prototypes -Wstrict-prototypes -Wdeclaration-after-statement -Wpointer-arith -Wwrite-strings -Wcast-align -Wbad-function-cast -Wmissing-format-attribute -Wformat-security -Wformat-nonliteral -Wno-long-long -Wno-strict-aliasing -Wmissing-declarations -O2 -ggdb3 -MMD -I/conf/build/Cluster/cluster-3.0.7/make -DDEFAULT_CONFIG_DIR=\"/etc/cluster\" -DDEFAULT_CONFIG_FILE=\"cluster.conf\" -DLOGDIR=\"/var/log/cluster\" -DSYSLOGFACILITY=LOG_LOCAL4 -DSYSLOGLEVEL=LOG_INFO -DRELEASE_VERSION=\"3.0.7\" -DCOROSYNCBIN=\"/usr/local/cluster/sbin/corosync\" -DSBINDIR=\"/usr/local/cluster/sbin\" -I/conf/build/Cluster/cluster-3.0.7/cman/lib -I/conf/build/Cluster/cluster-3.0.7/config/libs/libccsconfdb -I/usr/local/cluster/include -I/usr/local/cluster/include -c -o main.o /conf/build/Cluster/cluster-3.0.7/cman/cman_tool/main.c gcc -Wall -Wformat=2 -Wshadow -Wmissing-prototypes -Wstrict-prototypes -Wdeclaration-after-statement -Wpointer-arith -Wwrite-strings -Wcast-align -Wbad-function-cast -Wmissing-format-attribute -Wformat-security -Wformat-nonliteral -Wno-long-long -Wno-strict-aliasing -Wmissing-declarations -O2 -ggdb3 -MMD -I/conf/build/Cluster/cluster-3.0.7/make -DDEFAULT_CONFIG_DIR=\"/etc/cluster\" -DDEFAULT_CONFIG_FILE=\"cluster.conf\" -DLOGDIR=\"/var/log/cluster\" -DSYSLOGFACILITY=LOG_LOCAL4 -DSYSLOGLEVEL=LOG_INFO -DRELEASE_VERSION=\"3.0.7\" -DCOROSYNCBIN=\"/usr/local/cluster/sbin/corosync\" -DSBINDIR=\"/usr/local/cluster/sbin\" -I/conf/build/Cluster/cluster-3.0.7/cman/lib -I/conf/build/Cluster/cluster-3.0.7/config/libs/libccsconfdb -I/usr/local/cluster/include -I/usr/local/cluster/include -c -o join.o /conf/build/Cluster/cluster-3.0.7/cman/cman_tool/join.c gcc -o cman_tool main.o join.o -L/conf/build/Cluster/cluster-3.0.7/cman/lib -lcman -L/conf/build/Cluster/cluster-3.0.7/config/libs/libccsconfdb -lccs -L/usr/local/cluster/lib -lconfdb -L/usr/local/cluster/lib /usr/lib64/gcc/x86_64-suse-linux/4.4/../../../../x86_64-suse-linux/bin/ld: cannot find -lccs collect2: ld returned 1 exit status make[2]: *** [cman_tool] Error 1 make[2]: Leaving directory `/conf/build/Cluster/cluster-3.0.7/cman/cman_tool' make[1]: *** [all] Error 2 make[1]: Leaving directory `/conf/build/Cluster/cluster-3.0.7/cman' make: *** [cman] Error 2 <-------------- snipped ------------------>
Please see below my configuration file <-------------- snipped ------------------> #!/bin/bash source /etc/profile.local ldconfig PREFIX=/usr/local/cluster CLUSTER_USER=cluster CLUSTER_GROUP=cluster CFLAGS="-I$PREFIX/include -L$PREFIX/lib" CXXFLAGS=$CFLAGS LDFLAGS="-L$PREFIX/lib" CPPFLAGS="-I$PREFIX/include" export PREFIX CLUSTER_USER CLUSTER_GROUP CFLAGS CXXFLAGS LDFLAGS CPPFLAGS ../configure \ --prefix=$PREFIX \ --libdir=$PREFIX/lib \ --libexecdir=$PREFIX/libexec \ --incdir=$PREFIX/include \ --confdir=/etc/cluster \ --mandir=$PREFIX/man \ --docdir=$PREFIX/doc/cluster \ --logdir=/var/log/cluster \ --kernel_src=/usr/src/linux \ --corosyncbin=$PREFIX/sbin/corosync \ --corosyncincdir=$PREFIX/include \ --corosynclibdir=$PREFIX/lib \ --openaisincdir=$PREFIX/include \ --openaislibdir=$PREFIX/lib \ --enable_pacemaker \ --without_gfs \ --without_gfs2 \ --without_group \ --without_fence \ --without_fence_agents \ --without_rgmanager \ --without_resource_agents \ --without_bindings \ --without_config \ --without_kernel_modules <-------------- snipped ------------------> Thank you in advance for any help, Alex --- On Tue, 1/12/10, Fabio M. Di Nitto <[email protected]> wrote: From: Fabio M. Di Nitto <[email protected]> Subject: Re: libccs problem -> Re: [Openais] Sources for dlm and cman To: "Hunny Bunny" <[email protected]> Cc: [email protected] Date: Tuesday, January 12, 2010, 8:07 PM On 1/12/2010 8:59 PM, Hunny Bunny wrote: > Hello Fabio, > I tried diligently to build newest cluster-3.0.7 tree as you suggested. > However, when it compiles ld gives me: > > cannot find -lccs error > collect2: ld returned 1 exit status > > My assumption was that libccs is included with Red Hat cluster. > > Do you have any idea how to remedy this problem? That tells me nothing.. can you please post the full error of the build failure? Fabio
_______________________________________________ Openais mailing list [email protected] https://lists.linux-foundation.org/mailman/listinfo/openais
