Aha, thanks! Didn't know that I could use ocfs2-tools 1.4.4 together with ocfs2-1.2.9 binaries. Compiled 1.2.9 without troubles and now I can mount the ocfs2 disks :)
Thanks again, regards Morten K -----Opprinnelig melding----- Fra: ocfs2-users-boun...@oss.oracle.com [mailto:ocfs2-users-boun...@oss.oracle.com] På vegne av Tao Ma Sendt: 5. mai 2010 11:18 Til: Kristiansen Morten Kopi: ocfs2-users@oss.oracle.com Emne: Re: [Ocfs2-users] Compile error on RedHat EL5 Hi Kristiansen, On 05/05/2010 04:34 PM, Kristiansen Morten wrote: > 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? where do you get the src? > > 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. I don't get your point of installing 1.2.9. 1.4.7 does work with a old format volume. that's no problem with it. Regards, Tao _______________________________________________ Ocfs2-users mailing list Ocfs2-users@oss.oracle.com http://oss.oracle.com/mailman/listinfo/ocfs2-users _______________________________________________ Ocfs2-users mailing list Ocfs2-users@oss.oracle.com http://oss.oracle.com/mailman/listinfo/ocfs2-users