[Ocfs2-users] Compile error on RedHat EL5

Kristiansen Morten Morten.Kristiansen at hn-ikt.no
Wed May 5 01:34:39 PDT 2010


Hi,

I'm trying to compile ocfs2-tools 1.2.7 on a RedHat EL5 kernel 2.6.18-194.el5, but it fails during the make command:

make[1]: Entering directory `/home/oracle/software/ocfs2/build/build_129/ocfs2-tools-1.2.7/debugfs.ocfs2'
gcc -Wall -O2  -o debugfs.ocfs2 main.o commands.o dump.o utils.o journal.o find_block_inode.o find_inode_paths.o dump_fs_locks.o -L/usr/local/lib -lglib-2.0   -L../libocfs2 -locfs2 -L../libo2cb -lo2cb -lcom_err   -lreadline -lncurses
main.o: In function `main':
main.c:(.text+0x4b6): undefined reference to `ocfs2_get_lock_type_string'
utils.o: In function `read_whole_file':
utils.c:(.text+0x4a8): undefined reference to `ocfs2_extent_map_init'
utils.o: In function `dump_file':
utils.c:(.text+0x689): undefined reference to `ocfs2_extent_map_init'
journal.o: In function `read_journal':
journal.c:(.text+0x10a): undefined reference to `ocfs2_extent_map_init'
collect2: ld returned 1 exit status
make[1]: *** [debugfs.ocfs2] Error 1
make[1]: Leaving directory `/home/oracle/software/ocfs2/build/build_129/ocfs2-tools-1.2.7/debugfs.ocfs2'
make: *** [debugfs.ocfs2] Error 2

Can anybody tell me what's wrong?

The reason to install 1.2.9, is that we are currently running RHEL4 and ocfs2-1.2.4. Now we want to reinstall the servers with RHEL5 and ocfs2-1.2.9, install Oracle with clusterware and then upgrade ocfs2 from 1.2.9 to 1.4.7.

Regards
Morten K



More information about the Ocfs2-users mailing list