Rocky,
/usr/ucb/cc isn't really a C compiler. It is a shell script for compiling
BSD-compatible C code using Sun's Forte C (formerly Sun Workshop
Professional C) compiler. Relinking the Oracle executables doesn't usually
require a C compiler, only make and ld.
Instead of "which cc", try pkginfo and grep for cc.
hth
Regards,
Chuck
-----Original Message-----
Sent: Friday, February 23, 2001 2:40 PM
To: Multiple recipients of list ORACLE-L
Thanks, Ross.
I issued the command you suggested (the which cc comand) and it found the
compiler just fine. If I relink the oracle executables it works fine.
Any other thoughts?
- "Mohan, Ross" <MohanR_at_STARS-SMI.com> wrote:
> did you install the c compiler?
>
> ( You'd think Scott would put one there, but
> he might be too busy getting fitted for a custom
> Hannibal mask to cover his fat mouth yapping about
> Microsoft.)
>
> If so, which one? where is it located?
> Do a "which cc" and if it doesn't find your
> compiler, you need to either install it, or
> edit the mk file to redirect to an extant compiler.
>
> solaris seems to know about, but doesn't appear
> to find /usr/ucb/cc
>
> amazing.....the "dot in dot com"
>
>
> -----Original Message-----
> Sent: Friday, February 23, 2001 1:36 PM
> To: Multiple recipients of list ORACLE-L
>
>
> Hi Gang,
> I'm trying to compile the callout shared library under Solaris 2.8 and
> Oracle 8.1.6. I'm receiving the message below. Any ideas?
>
> TIA,
>
> Rocky
>
>
> ptcprodb> cd $ORACLE_HOME/plsql/demo
> ptcprodb> cp $ORACLE_HOME/rdbms/demo/demo_rdbms.mk
> $ORACLE_HOME/plsql/demo
> ptcprodb> make -f demo_rdbms.mk extproc_callback \
> > SHARED_LIBNAME=extproc.so OBJS=extproc.o
> /export/oracle/product/8.1.6/bin/echodo cc -c -K PIC
> -I/export/oracle/product/8.1.6/rdbms/demo
> -I/export/oracle/product/8.1.6/rdbmsc
> cc -c -K PIC -I/export/oracle/product/8.1.6/rdbms/demo
> -I/export/oracle/product/8.1.6/rdbms/public
> -I/export/oracle/product/8.1.6/pc
> /usr/ucb/cc: language optional software package not installed
> *** Error code 1
> make: Fatal error: Command failed for target `extproc.o'
> ptcprodb>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Auctions - Buy the things you want at great prices!
> http://auctions.yahoo.com/
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Rocky Welch
> INET: rockyw_99_at_yahoo.com
>
> Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> San Diego, California -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from). You may
> also send the HELP command for other information (like subscribing).
>
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices!
http://auctions.yahoo.com/
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Rocky Welch
INET: rockyw_99_at_yahoo.com
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
San Diego, California -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Wolfe, Charles
INET: charles.wolfe_at_digex.com
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
San Diego, California -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).
Received on Fri Feb 23 2001 - 14:41:53 CST