User`s guide
Chapter 19 Source RPM: Building OVN Host Drivers 367
Example:
Note the first < is part of the command and the <> denotes the file name.
RDMA Headers
To support installing the Oracle Source RPM on RHEL4u4, you might be required to
add source RPM RDMA headers.
▼ Add RDMA Headers
If you need to add the RDMA headers, you can do so by performing the following
steps:
1. Install the matching kernel source RPM.
2. Issue the following command:
3. Issue the following command:
InfiniBand Headers
RHEL4 kernel-devel packages do not include all the requisite InfiniBand headers.
Oracle has included the missing headers in the source-RPM file, which can be
extracted and added to the compiler include path through the XSIGOFLAGS
variable. Or, you can copy them manually:
patch <<ofed-1.2.patch>
rpmbuild -bp --target<i686|x86_64> /usr/src/redhat/SPECS/<kernel spec file>
cp -r /usr/src/redhat/BUILD/drivers/infiniband/include/usr/scr/kernels/<kernel>
/drivers/infiniband/
cp /usr/src/redhat/SOURCES/rhel4_headers.tar /usr/src/kernels/<kernel>/
cd /usr/src/kernels/<kernel>/
tar xvf rhel4_headers.tar
tar zxvf <kernel>.tgz