Attempts to rebuild the IBM Rational ClearCase 7.x MVFS Linux kernel module result in the error "objdump: invalid option -- h".
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.
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
- Change the $PATH variable order to have /usr/bin before /usr/local/bin.
- Rebuild the MVFS kernel module
Rate this page:
Copyright and trademark information
IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.