Error in invoking target ntcontab.o During CRS installation [ID 443675.1] | ||
| Modified 01-AUG-2008 Type PROBLEM Status PUBLISHED |
|
In this Document
Symptoms Changes Cause Solution
Applies to:
Oracle Server - Enterprise Edition - Version: 10.2.0.1
Linux x86-64
Symptoms
When installing CRS using runInstaller, get an error when doing "linking oracle net required
support files 10.2.0.1":
error in invoking target 'ntcontab.o' of makefile
'/u01/app/oracle/product/10.2.0/crs/network/lib/ins_net_client.mk'.
make.log shows:
/usr/bin/make -f ins_net_client.mk mkldflags ORACLE_HOME=
/u01/app/oracle/product/10.2.0/crs//usr/bin/make -f ins_net_client.mk ntcontab.o ORACLE_HOME=/u01/app/oracle/product/10.2.0/crs/rm -f ntcontab.*
(if [ "compile" = "compile" ] ; then /
/u01/app/oracle/product/10.2.0/crs/bin/gennttab > ntcontab.c ;/
gcc -c ntcontab.c ;/
rm -f /u01/app/oracle/product/10.2.0/crs/lib/ntcontab.o ;/
mv ntcontab.o /u01/app/oracle/product/10.2.0/crs/lib/ ;/
/usr/bin/ar rv /u01/app/oracle/product/10.2.0/crs/lib/libn10.a
/u01/app/oracle/product/10.2.0/crs/lib/ntcontab.o ; fi)
ntcontab.c:7:23: sys/types.h: No such file or directory
mv: cannot stat `ntcontab.o': No such file or directory
/usr/bin/ar: /u01/app/oracle/product/10.2.0/crs/lib/ntcontab.o: No such file or directory
make: *** [ntcontab.o] Error 1
Changes
New installation.
Cause
The output of the link command shows that the compiler is looking for sys/types.h.
Package glibc-headers-* is not installed which cause header file (/usr/include/sys/types.h) missing on the system.
Solution
Install the missing package glibc-headers-* (ie, glibc-headers-2.3.4-2.13).
Reinstall CRS (recommended) after clean up existing installation per Note 239998.1 10g RAC: How to Clean Up After a Failed CRS Install
or
Execute commands in $ORA_CRS_HOME/install/make.log manually for client relink.