This discussion is archived
1 2 Previous Next 18 Replies Latest reply: Feb 22, 2013 4:27 PM by 992874 RSS

error in invoking target 'ntcontab.o' of make file.

546111 Newbie
Currently Being Moderated
Hi,
Operating System:Enterprise Linux Release 5 Update 2 for x86 (32 Bit)
Database:Oracle Database 10g Release 2 (10.2.0.1.0) for Linux x86
When I am trying to installt database on the VMware virtaul machine i am getting the following error durig the linking phase of installation(at 62%)

error in invoking target 'ntcontab.o' of make file.

I have googled for this error,but i didn't find any solution which fits my requirement.

I am hoping a expert advice from this forum for my problem.

Thank You all..
  • 1. Re: error in invoking target 'ntcontab.o' of make file.
    damorgan Oracle ACE Director
    Currently Being Moderated
    Installation in a supported environment works better because it works. VMWare is not supported.
  • 2. Re: error in invoking target 'ntcontab.o' of make file.
    546111 Newbie
    Currently Being Moderated
    that means it is not possible to install oracle 10g r2 on oracle virtual machine with OS Oracle enterprise LINUX?
  • 3. Re: error in invoking target 'ntcontab.o' of make file.
    IvanKartik Oracle ACE
    Currently Being Moderated
    Don't be confused by Daniel's post. Your problem is not because you are running unsuported OS (VMware is not supported but this is not relevant to this case) but you missing some of important packages.
    Check for presence of all packages required for installation of Oracle. List of these packages are you can find in official installation guide.
    Anyway you can use following command to determine which packages are and which packages aren't installed on your system.
    rpm -q binutils compat-db compat-libstdc++-33 glibc glibc-devel glibc-headers gcc gcc-c++ libstdc++ cpp make libaio ksh elfutils-libelf sysstat libaio libaio-devel setarch --qf '%{name}.%{arch}\n'|sort
    In case you have all packages installed on your system and the error will still persist then post last 20 lines from $ORACLE_HOME/install/make.log file here.
  • 4. Re: error in invoking target 'ntcontab.o' of make file.
    545858 Newbie
    Currently Being Moderated
    Hi , I have all rpms installed on RHEL 5 but still getting below error...


    /usr/bin/make -f ins_net_client.mk mkldflags ORACLE_HOME=/11gdb/app/db11gee/product/11.1.0/db_1//usr/bin/make -f ins_net_client.mk ntcontab.o ORACLE_HOME=/11gdb/app/db11gee/product/11.1.0/db_1/rm -f ntcontab.*
    (if [ "compile" = "compile" ] ; then \
    /11gdb/app/db11gee/product/11.1.0/db_1/bin/gennttab > ntcontab.c ;\
    /usr/bin/gcc -c ntcontab.c ;\
    rm -f /11gdb/app/db11gee/product/11.1.0/db_1/lib/ntcontab.o ;\
    mv ntcontab.o /11gdb/app/db11gee/product/11.1.0/db_1/lib/ ;\
    /usr/bin/ar rv /11gdb/app/db11gee/product/11.1.0/db_1/lib/libn11.a /11gdb/app/db11gee/product/11.1.0/db_1/lib/ntcontab.o ; fi)
    In file included from /usr/include/sys/types.h:31,
    from ntcontab.c:7:
    /usr/include/bits/types.h:31:20: error: stddef.h: No such file or directory
    mv: cannot stat `ntcontab.o': No such file or directory
    /usr/bin/ar: /11gdb/app/db11gee/product/11.1.0/db_1/lib/ntcontab.o: No such file or directory
    make: *** [ntcontab.o] Error 1
    /usr/bin/make -f ins_net_client.mk ntcontab.o ORACLE_HOME=/11gdb/app/db11gee/product/11.1.0/db_1/rm -f ntcontab.*
    (if [ "compile" = "compile" ] ; then \
    /11gdb/app/db11gee/product/11.1.0/db_1/bin/gennttab > ntcontab.c ;\
    /usr/bin/gcc -c ntcontab.c ;\
    rm -f /11gdb/app/db11gee/product/11.1.0/db_1/lib/ntcontab.o ;\
    mv ntcontab.o /11gdb/app/db11gee/product/11.1.0/db_1/lib/ ;\
    /usr/bin/ar rv /11gdb/app/db11gee/product/11.1.0/db_1/lib/libn11.a /11gdb/app/db11gee/product/11.1.0/db_1/lib/ntcontab.o ; fi)
    In file included from /usr/include/sys/types.h:31,
    from ntcontab.c:7:
    /usr/include/bits/types.h:31:20: error: stddef.h: No such file or directory
    mv: cannot stat `ntcontab.o': No such file or directory
    /usr/bin/ar: /11gdb/app/db11gee/product/11.1.0/db_1/lib/ntcontab.o: No such file or directory
    make: *** [ntcontab.o] Error 1
    /usr/bin/make -f ins_net_client.mk ntcontab.o ORACLE_HOME=/11gdb/app/db11gee/product/11.1.0/db_1/rm -f ntcontab.*
    (if [ "compile" = "compile" ] ; then \
    /11gdb/app/db11gee/product/11.1.0/db_1/bin/gennttab > ntcontab.c ;\
    /usr/bin/gcc -c ntcontab.c ;\
    rm -f /11gdb/app/db11gee/product/11.1.0/db_1/lib/ntcontab.o ;\
    mv ntcontab.o /11gdb/app/db11gee/product/11.1.0/db_1/lib/ ;\
    /usr/bin/ar rv /11gdb/app/db11gee/product/11.1.0/db_1/lib/libn11.a /11gdb/app/db11gee/product/11.1.0/db_1/lib/ntcontab.o ; fi)
    In file included from /usr/include/sys/types.h:31,
    from ntcontab.c:7:
    /usr/include/bits/types.h:31:20: error: stddef.h: No such file or directory
    mv: cannot stat `ntcontab.o': No such file or directory
    /usr/bin/ar: /11gdb/app/db11gee/product/11.1.0/db_1/lib/ntcontab.o: No such file or directory
    make: *** [ntcontab.o] Error 1
    /usr/bin/make -f ins_net_client.mk ntcontab.o ORACLE_HOME=/11gdb/app/db11gee/product/11.1.0/db_1/rm -f ntcontab.*
    (if [ "compile" = "compile" ] ; then \
    /11gdb/app/db11gee/product/11.1.0/db_1/bin/gennttab > ntcontab.c ;\
    /usr/bin/gcc -c ntcontab.c ;\
    rm -f /11gdb/app/db11gee/product/11.1.0/db_1/lib/ntcontab.o ;\
    mv ntcontab.o /11gdb/app/db11gee/product/11.1.0/db_1/lib/ ;\
    /usr/bin/ar rv /11gdb/app/db11gee/product/11.1.0/db_1/lib/libn11.a /11gdb/app/db11gee/product/11.1.0/db_1/lib/ntcontab.o ; fi)
    In file included from /usr/include/sys/types.h:31,
    from ntcontab.c:7:
    /usr/include/bits/types.h:31:20: error: stddef.h: No such file or directory
    mv: cannot stat `ntcontab.o': No such file or directory
    /usr/bin/ar: /11gdb/app/db11gee/product/11.1.0/db_1/lib/ntcontab.o: No such file or directory
    make: *** [ntcontab.o] Error 1
  • 5. Re: error in invoking target 'ntcontab.o' of make file.
    IvanKartik Oracle ACE
    Currently Being Moderated
    I have all rpms installed on RHEL 5 but still getting below error..
    Just to be sure post output for command as following:
    rpm -q binutils compat-db compat-libstdc++-33 glibc glibc-devel glibc-headers gcc gcc-c++ libstdc++ cpp make libaio ksh elfutils-libelf sysstat libaio libaio-devel setarch --qf '%{name}-%{version}.%{arch}\n'|sort
  • 6. Re: error in invoking target 'ntcontab.o' of make file.
    688600 Newbie
    Currently Being Moderated
    Hope you all don't mind, as I'm trying to do the same thing (well, kinda.. I"m installing the 10g client on RHEL 5) and getting the same issue, posted my output on this site, which is basically the same as this post, so I'm interested..
  • 7. Re: error in invoking target 'ntcontab.o' of make file.
    427906 Explorer
    Currently Being Moderated
    as we can see from the output of the above

    when the make tries to fire the compiler to build ntcontab.o
    it looks for

    In file included from /usr/include/sys/types.h:31,
    from ntcontab.c:7:
    /usr/include/bits/types.h:31:20: error: stddef.h: No such file or directory

    stddef.h and can't find it

    stddef.h is a standard C header file that's installed as part of the list of prerequisite packages already given to you

    Therefore Ivan etc. is correct.


    You're missing something.
  • 8. Re: error in invoking target 'ntcontab.o' of make file.
    688600 Newbie
    Currently Being Moderated
    Chris, here is what I have from the output of Ivan's command:

    itmtest tmp]# rpm -q binutils compat-db compat-libstdc++-33 glibc glibc-devel glibc-headers gcc gcc-c++ libstdc++ cpp make libaio ksh elfutils-libelf sysstat libaio libaio-devel setarch --qf '%{name}.%{arch}\n'|sort
    binutils.i386
    compat-db.i386
    compat-libstdc++-33.i386
    cpp.i386
    elfutils-libelf.i386
    gcc-c++.i386
    gcc.i386
    glibc-devel.i386
    glibc-headers.i386
    glibc.i686
    libaio-devel.i386
    libaio.i386
    libaio.i386
    libstdc++.i386
    make.i386
    package ksh is not installed
    setarch.i386
    sysstat.i386

    I thought about the ksh package, but remembered that I DO have pdksh installed:

    itmtest tmp]# rpm -qa pdksh
    pdksh-5.2.14-30.6


    So, what am I missing?

    Thanx
  • 9. Re: error in invoking target 'ntcontab.o' of make file.
    IvanKartik Oracle ACE
    Currently Being Moderated
    I'm little bit confused you said you have the same problem but you are installing 10g client (OP is installing 11g database).
    Also you mentioned that you are using RHEL5 but since RHEL 5 there is no pdksh package as there is ksh package.
    Anyway can you post relevant messages from $ORACLE_HOME/install/make.log file?
  • 10. Re: error in invoking target 'ntcontab.o' of make file.
    688600 Newbie
    Currently Being Moderated
    Ivan, what I meant is that I'm getting the same error as the individual making this post, so I was interested in seeing what the resolution might be. I will await the original user to respond (my apologies for stepping in), and see where this post goes.

    I did post my output from the make.log on my initial post.

    Thanx Ivan.
  • 11. Re: error in invoking target 'ntcontab.o' of make file.
    427906 Explorer
    Currently Being Moderated
    It's likely that ntcontab is required for both the client and the DB for both versions.

    However a simple check on google for sys/types.h and rpm reveals it is part of glibc-headers which IIRC is a prereq for one of the glibc rpms that is required for the install


    in the linux machine issue

    find / -name types.h

    Is it there ? If not you have an rpm issue.

    Edited by: Chris slattery on Mar 9, 2009 2:44 PM
  • 12. Re: error in invoking target 'ntcontab.o' of make file.
    IvanKartik Oracle ACE
    Currently Being Moderated
    I did post my output from the make.log on my initial post.
    Sorry I didn't know that user542855 and mikemillion2000 are one person because output from make.log is in user542855 post which is output for 11g. And later mikemillion2000 posted that he is installing 10g.
    So I was and still I'm little confused by these posts.
    Anway did you check what Chris suggested?

    Can you post som additional outputs for acommand as following?:
    cat /etc/redhat-release
    uname -m
    gcc -v
  • 13. Re: error in invoking target 'ntcontab.o' of make file.
    279370 Newbie
    Currently Being Moderated
    I really appreciate it.I had a same problem. Now, It works! I mean I finished installation of Oracle 10g on Vmware succesfully. Thanx.
  • 14. Re: error in invoking target 'ntcontab.o' of make file.
    700630 Newbie
    Currently Being Moderated
    Thanks a lot Ivan,

    You resolved my problem.
    When I installed all the rpms checked by your command, the installation is successfully finished.

    Thanks again.
1 2 Previous Next

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points