Rebuilding ClearCase Linux MVFS module results in "objdump: invalid option -- h" error

Technote (troubleshooting)


Problem(Abstract)

Attempts to rebuild the IBM Rational ClearCase 7.x MVFS Linux kernel module result in the error "objdump: invalid option -- h".

Symptom

You are running ClearCase 7.x on Suse Linux 10 service pack 1.

The MVFS kernel module needs to be rebuilt.

You run the make command per the instructions, this error is seen:

  CC [M]  /var/adm/rational/clearcase/mvfs/mvfs_src/mvfs_vfsops.o  
objdump: invalid option -- h
Try `objdump --help' or `objdump --usage' for more information.    
 CC [M]  /var/adm/rational/clearcase/mvfs/mvfs_src/mvfs_vnodeops.o
objdump: invalid option -- h.txt.

This causes the rebuild to fail every time.

Cause

The $PATH variable having /usr/local/bin before /usr/bin, thus the wrong objdump binary was being called.

Diagnosing the problem

Run the which command on objdump to determine the path being used.

On a working Suse Linux 10 system this should return with /usr/bin/objdump.

Resolving the problem

Procedure:

  1. Change the $PATH variable order to have /usr/bin before /usr/local/bin.
  2. Rebuild the MVFS kernel module

Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

Rational ClearCase
MVFS

Software version:

7.0, 7.0.1, 7.1

Operating system(s):

Linux

Reference #:

1443758

Modified date:

2012-12-11

Translate my page

Machine Translation

Content navigation