Solved

Oracle installation problem with ntcontab.o creation.

Posted on 2001-08-07
6
960 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
  • 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
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

  Included as part of the C++ Standard Template Library (STL) is a collection of generic containers. Each of these containers serves a different purpose and has different pros and cons. It is often difficult to decide which container to use and …
Many modern programming languages support the concept of a property -- a class member that combines characteristics of both a data member and a method.  These are sometimes called "smart fields" because you can add logic that is applied automaticall…
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

829 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