Link to home
Start Free TrialLog in
Avatar of roismail
roismail

asked on

Oracle installation problem with ntcontab.o creation.

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
Avatar of AlexVirochovsky
AlexVirochovsky

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.
....
Avatar of roismail

ASKER

Alex,

You're so right. My include files are missing.
Thanks.
ASKER CERTIFIED SOLUTION
Avatar of AlexVirochovsky
AlexVirochovsky

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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
Ok, roismail, now you must evaluate my reply :
A: exellent
B: good
C: bad.
I am fairly new to this. So tell me if this is not appropriate.
o.k.