[Ocfs2-users] Compile error on RedHat EL5

Karim Alkhayer kkhayer at gmail.com
Wed May 5 03:12:37 PDT 2010


If you could afford a maintenance downtime, skip the rolling upgrades and do
it in one shot, all together.

 

-----Original Message-----
From: ocfs2-users-bounces at oss.oracle.com
[mailto:ocfs2-users-bounces at oss.oracle.com] On Behalf Of Kristiansen Morten
Sent: Wednesday, May 05, 2010 1:05 PM
To: Tao Ma
Cc: ocfs2-users at oss.oracle.com
Subject: Re: [Ocfs2-users] Compile error on RedHat EL5

 

The source is downloaded from
http://oss.oracle.com/projects/ocfs2-tools/files/source/v1.2/

 

Forgot to tell you that we are reinstalling one node at a time, while the
other nodes is still in the oraclecluster. So you won't be able to mount the
ocfs2 disks on the newly reinstalled node, while the two other nodes have
mounted the disks with ocfs2-1.2.4. Therefor:

<on all nodes>

Reinstall with RHEL5

Install ocfs2-1.2.9

Reinstall oracle with clusterware and submit the cluster

</on all nodes>

 

<on all nodes>

Upgrade ocfs2 from 1.2.9 to 1.4.7

</on all nodes>

 

It's much faster to upgrade only ocfs2, than reinstall all.

 

Morten K

 

-----Opprinnelig melding-----

Fra: ocfs2-users-bounces at oss.oracle.com
[mailto:ocfs2-users-bounces at oss.oracle.com] På vegne av Tao Ma

Sendt: 5. mai 2010 11:18

Til: Kristiansen Morten

Kopi: ocfs2-users at 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 at oss.oracle.com

http://oss.oracle.com/mailman/listinfo/ocfs2-users

 

_______________________________________________

Ocfs2-users mailing list

Ocfs2-users at oss.oracle.com

http://oss.oracle.com/mailman/listinfo/ocfs2-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://oss.oracle.com/pipermail/ocfs2-users/attachments/20100505/7fb07df2/attachment-0001.html 


More information about the Ocfs2-users mailing list