Solved

Oracle installation problem with ntcontab.o creation.

Posted on 2001-08-07
6
920 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
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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…
  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 …
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

746 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now