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

[Linux-cluster] I just cannot get this to compile. Am I doing something horribly wrong?



1) Installed Fedora Core 6
2) Ran yum updates
3) Compiled linux-2.6.19.2 kernel with GFS builtin, dlm and nolock as
modules, and included configfs, ipv6 and sctp.
4) Rebooted, made sure everything works, thats fine.
[root gfs1 cluster-1.03.00]# uname -a
Linux gfs1.olypen.com 2.6.19.2 #1 SMP Wed Jan 24 08:55:44 PST 2007
i686 i686 i386 GNU/Linux

5) installed openais from svn.osdl.org/openais, installed ok
6) installed libvolume_id, udev-104, installed ok

This is where it will not work. I downloaded the cluster-1.03.tar.gz
and also downloaded via cvs, neither will compile

i did ./configure --kernel_src=/usr/src/kernels/linux-2.6.19.2, that
was fine. This worked for both the tarball and cvs

Now when I do make on the cvs version i get

---------------------------
make[2]: Entering directory `/usr/src/cluster/fence/fence_node'
gcc -Wall -I../include -I/usr/src/cluster/fence/../ccs/lib
-I//usr/include -I../config -I../../cman/lib -O2
-D_FILE_OFFSET_BITS=64 -DFENCE_RELEASE_NAME=\"DEVEL.1169659211\"
-I../include -I/usr/src/cluster/fence/../ccs/lib -I//usr/include
-I../config -I../../cman/lib agent.o fence_node.o
-L//usr/src/cluster/fence/../ccs/lib -L//usr/lib -L../../cman/lib
-lccs -lcman  -o fence_node
agent.o: In function `dispatch_fence_agent':
agent.c:(.text+0x51a): undefined reference to `cman_admin_init'
agent.c:(.text+0x5a2): undefined reference to `cman_node_fenced'
collect2: ld returned 1 exit status
make[2]: *** [fence_node] Error 1
make[2]: Leaving directory `/usr/src/cluster/fence/fence_node'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/cluster/fence'
make: *** [all] Error 2
---------------------------

and if i try to compile with the tarball

---------------------------
make -C /usr/src/kernels/linux-2.6.19.2
M=/usr/src/cluster-1.03.00/cman-kernel/src modules USING_KBUILD=yes
make[3]: Entering directory `/usr/src/kernels/linux-2.6.19.2'
 CC [M]  /usr/src/cluster-1.03.00/cman-kernel/src/cnxman.o
/usr/src/cluster-1.03.00/cman-kernel/src/cnxman.c: In function
âdo_ioctl_join_clusterâ:
/usr/src/cluster-1.03.00/cman-kernel/src/cnxman.c:1751: error:
âsystem_utsnameâ undeclared (first use in this function)
/usr/src/cluster-1.03.00/cman-kernel/src/cnxman.c:1751: error: (Each
undeclared identifier is reported only once
/usr/src/cluster-1.03.00/cman-kernel/src/cnxman.c:1751: error: for
each function it appears in.)
make[4]: *** [/usr/src/cluster-1.03.00/cman-kernel/src/cnxman.o] Error 1
make[3]: *** [_module_/usr/src/cluster-1.03.00/cman-kernel/src] Error 2
make[3]: Leaving directory `/usr/src/kernels/linux-2.6.19.2'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/cluster-1.03.00/cman-kernel/src'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/usr/src/cluster-1.03.00/cman-kernel'
make: *** [all] Error 2
---------------------------

So did I miss something along the way?


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