Troubles to install GFS on Debian

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

 



Hello All.

I'm having a big trouble here to compile the gfs on Debian. I downloaded
from CVS, and did the follow:

cd /usr/src
ln -s linux-source-2.6.16 linux-2.6
cd cluster
./configure
make

After that, the make command returns the follow:

make[2]: Entering directory `/usr/src/cluster/group/daemon
(...)
gcc -Wall  -g -I. -I../include/ -I../../cman/lib/ -I../lib/ -c -o
joinleave.o joinleave.c
joinleave.c: In function `do_leave':
joinleave.c:129: warning: long long unsigned int format, uint64_t arg
(arg 7)
joinleave.c:136: warning: long long unsigned int format, uint64_t arg
(arg 7)
gcc -Wall  -g -I. -I../include/ -I../../cman/lib/ -I../lib/ -c -o main.o
main.c
main.c: In function `app_deliver':
main.c:180: warning: int format, different type arg (arg 6)
gcc -L//usr/src/cluster/group/../cman/lib -L//usr/lib64/openais
-L//usr/lib64 -o groupd app.o cpg.o cman.o joinleave.o main.o -lcman
-lcpg
/usr/bin/ld: cannot find -lcpg
collect2: ld returned 1 exit status
make[2]: *** [groupd] Error 1
make[2]: Leaving directory `/usr/src/cluster/group/daemon'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/cluster/group'
make: *** [all] Error 2

In the directory /usr/src/cluster/group/daemon :

app.c  app.o  cman.c  cman.o  cpg.c  cpg.o  CVS  gd_internal.h  groupd.h
joinleave.c  joinleave.o  main.c  main.o  Makefile

ie, the gcc loads the cman (-lcman) but doesn't with cgp (-lcpg). 

Why this happen? Is there a best howto to install gfs on Debian? or
another way??

Thanks a lot

Jeronimo Bezerra

--
Linux-cluster mailing list
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster

[Index of Archives]     [Corosync Cluster Engine]     [GFS]     [Linux Virtualization]     [Centos Virtualization]     [Centos]     [Linux RAID]     [Fedora Users]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Camping]

  Powered by Linux