[Oracleasm-users] Help to Compile oracleasm-2.0.0
Alan J. Gagne
alan.gagne at comcast.net
Thu Sep 22 13:47:15 CDT 2005
I have a two node 10gR2 Rac set-up running on Fedora Core 4 with OCFS2
on firewire drives. I am looking to try ASM but am having trouble
getting asmlib to compile. Is this even possible on this OS?
configure and make output:
[agagne at agagne oracleasm-2.0.0]$ ./configure --prefix=/usr
--exec-prefix=/usr
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for ranlib... ranlib
checking for ar... /usr/bin/ar
checking for rpmbuild... rpmbuild
checking absolute rpm file
directory... /home/agagne/download/oracleasm-2.0.0
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for an ANSI C-conforming const... yes
checking build architectures... i686, i386
checking for directory with kernel
source... /lib/modules/2.6.12-1.1447_FC4/build
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for unsigned long... yes
checking size of unsigned long... 4
checking for kernel module symbol versions... yes
checking for kernel version... 2.6.12-1.1447_FC4
checking for directory for kernel
modules... /lib/modules/2.6.12-1.1447_FC4/kernel/fs
checking for gcc include
path... /usr/lib/gcc/i386-redhat-linux/4.0.1/include
checking RPM package version... 1
configure: creating ./config.status
config.status: creating Config.make
config.status: creating include/linux/asm_module_version.h
config.status: creating vendor/common/oracleasm-support.spec
config.status: creating vendor/suse/oracleasm-2.6.5.spec-generic
config.status: creating vendor/redhat/oracleasm-2.6.9-EL.spec-generic
[agagne at agagne oracleasm-2.0.0]$ make
make -C include
make[1]: Entering directory
`/home/agagne/download/oracleasm-2.0.0/include'
make -C linux
make[2]: Entering directory
`/home/agagne/download/oracleasm-2.0.0/include/linux'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory
`/home/agagne/download/oracleasm-2.0.0/include/linux'
make[1]: Leaving directory
`/home/agagne/download/oracleasm-2.0.0/include'
make -C kernel
make[1]: Entering directory
`/home/agagne/download/oracleasm-2.0.0/kernel'
make -C /lib/modules/2.6.12-1.1447_FC4/build
M=/home/agagne/download/oracleasm-2.0.0/kernel modules
make[2]: Entering directory `/usr/src/kernels/2.6.12-1.1447_FC4-i686'
CC [M] /home/agagne/download/oracleasm-2.0.0/kernel/oracleasm.o
/home/agagne/download/oracleasm-2.0.0/kernel/oracleasm.c:290: error:
unknown field ‘memory_backed’ specified in initializer
make[3]: *** [/home/agagne/download/oracleasm-2.0.0/kernel/oracleasm.o]
Error 1
make[2]: *** [_module_/home/agagne/download/oracleasm-2.0.0/kernel]
Error 2
make[2]: Leaving directory `/usr/src/kernels/2.6.12-1.1447_FC4-i686'
make[1]: *** [build-oracleasm] Error 2
make[1]: Leaving directory
`/home/agagne/download/oracleasm-2.0.0/kernel'
make: *** [kernel] Error 2
More information about the Oracleasm-users
mailing list