?
Solved

Oracle installation problem with ntcontab.o creation.

Posted on 2001-08-07
6
Medium Priority
?
994 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 200 total points
ID: 6362736
O,funny, I was happy to help you. Alex
0
Industry Leaders: 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Article by: SunnyDark
This article's goal is to present you with an easy to use XML wrapper for C++ and also present some interesting techniques that you might use with MS C++. The reason I built this class is to ease the pain of using XML files with C++, since there is…
Introduction This article is the first in a series of articles about the C/C++ Visual Studio Express debugger.  It provides a quick start guide in using the debugger. Part 2 focuses on additional topics in breakpoints.  Lastly, Part 3 focuses on th…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.
Suggested Courses

770 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