Solved

Oracle installation problem with ntcontab.o creation.

Posted on 2001-08-07
6
982 Views
Last Modified: 2007-11-27
Hi There,

Maybe you know the answer to this.
I'm trying to install Oracle 8.0.6 on Sun Solaris 2.6.
During installation, got one error from the Oracle  installation menu regarding this ntcontab file :(see below)

Error during action 'Creating ntcontab.o'.
 make -f /opt/oracle/network/lib/ins_network.mk ntcontab.o
(if [ "assemble" = "compile" ] ; then \
  /opt/oracle/bin/gennttab > ntcontab.c ;\
  cc  -c ntcontab.c ;\
  rm -f /opt/oracle/lib/ntcontab.o ;\
  mv ntcontab.o /opt/oracle/lib ; fi)
(if [ "assemble" = "assemble" ] ; then \
  /opt/oracle/bin/gennttab > ntcontab.s ;\
  /usr/ccs/bin/as -P -o ntcontab.o ntcontab.s ;\
  rm -f /opt/oracle/lib/ntcontab.o ;\
  mv ntcontab.o /opt/oracle/lib ; fi)
mv: cannot access ntcontab.o
make: *** [ntcontab.o] Error 2

I suspect it has to do with the cc compiler in the Solaris. So I downloaded the FOrte C/C++ compiler from Sun.
But still the problem persist.

In order to capture the actual error I ran the command (based on the error given ) manualy at command line.
I run the command manually :
1.  /opt/oracle/bin/gennttab > ntcontab.c
OK. the script managed to create ntcontab.c
run the second script
2.  cc  -c ntcontab.c
I got this error :

"ntcontab.c", line 137: cannot dereference non-pointer type
"ntcontab.c", line 139: undefined struct/union member: section
"ntcontab.c", line 139: warning: left operand of "." must be struct/union object
"ntcontab.c", line 140: syntax error before or at: ntconent
"ntcontab.c", line 140: warning: old-style declaration or incorrect type for: global
"ntcontab.c", line 141: warning: old-style declaration or incorrect type for: ntconent
...................


So my assumption is that Oracle 8.0.6 is looking for the right compiler to install and generate this ntcontab file.
If that is so, do you by any chance know what is the correct compiler version do we need to install in Solaris 2.6 in order to install Oracle 8.0.6.


Please let me know if you have any idea on this.



Regards
0
Comment
Question by:roismail
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
6 Comments
 
LVL 14

Expert Comment

by:AlexVirochovsky
ID: 6362626
From
http://cthulhu.ale.org/ale-archive/ale-1999-05/msg00247.html
...
     Judging by the error message, it looks like you probably don't
have the standard header files.  It's looking for what would normally
be `/usr/include/sys/types.h'.  Check if you've got files in your
/usr/include directory (there should be bunches of them that end with
`.h'), that your compiler is installed correctly and can find said
headers (try the shell script below).  If you're on a RedHat box, try
the command `rpm --verify glibc-devel' and make sure that that package
is installed and nothing's missing from it.
....
0
 

Author Comment

by:roismail
ID: 6362642
Alex,

You're so right. My include files are missing.
Thanks.
0
 
LVL 14

Accepted Solution

by:
AlexVirochovsky earned 50 total points
ID: 6362736
O,funny, I was happy to help you. Alex
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:roismail
ID: 6366589
This problem had bug for the past one weeks.
So it is a big relieve when someone just told me what the solution are, in just 5 minutes after I posted my question.

Thanks
0
 
LVL 14

Expert Comment

by:AlexVirochovsky
ID: 6366824
Ok, roismail, now you must evaluate my reply :
A: exellent
B: good
C: bad.
0
 

Author Comment

by:roismail
ID: 6366837
I am fairly new to this. So tell me if this is not appropriate.
o.k.
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Written by John Humphreys C++ Threading and the POSIX Library This article will cover the basic information that you need to know in order to make use of the POSIX threading library available for C and C++ on UNIX and most Linux systems.   [s…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question