Hi Charles,
I'm pretty sure you're using the wrong C compiler. What does 'which cc'
tell you?
The one you want is a paid optional extra, and it installs under (from
memory, so it may not be quite right) /opt/SUNWspro/bin/cc.
See MetaLink Doc ID 43208.1 for more info....
--
Mark J. Bobak
Senior Database Administrator, System & Product Technologies
ProQuest
789 E. Eisenhower, Parkway, P.O. Box 1346
Ann Arbor MI 48106-1346
+1.734.997.4059 or +1.800.521.0600 x 4059
mark.bobak_at_il.proquest.com <mailto:mark.bobak_at_il.proquest.com>
www.proquest.com <http://www.proquest.com>
www.csa.com <http://www.csa.com>
ProQuest...Start here.
From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Charles Schultz
Sent: Wednesday, October 17, 2007 9:29 AM
To: oracle-l
Subject: [SPAM] STRMMON
Importance: Low
Good day, List,
First, I am having issues compiling STRMMON. It is probably the dusty
cobwebs that are causing me to foul something up. I have pasted a
snippet of the output below.
Second, does anyone use it? I found one metalink note ( 290605.1) that
talks about it (also on a wiki
<http://www.google.com/url?sa=t&ct=res&cd=1&url=https%253A%252F%252Ftwik
i.cern.ch%252Ftwiki%252Fbin%252Fviewfile%252FPSSGroup%252FMonitorStreams
%253Frev%253D1.1%253Bfilename%253DSTRMMON.doc&ei=mgEWR4vPA4iUigH62ajZDw&
usg=AFQjCNHANCRauQbq3nWfln0EFsgL4LhMTw&sig2=QAWXw7HNlMOvzjCEmhiYgg> ),
but other than that, it seems rather incognito. Not to mention that
STRMMON was not included in our demo directory at all. Strange how the
internal documentation references " ORACLE 11.1.0.2.0".
<bannerdev> /u01/app/oracle/product/10.2.0.2.Patch/rdbms/demo: make -f
demo_rdbms.mk strmmon
/usr/ccs/bin/make -f
/u01/app/oracle/product/10.2.0.2.Patch/rdbms/demo/demo_rdbms.mk build
EXE=strmmon OBJS=strmmon.o
cc -Xa -xstrconst -dalign -xF -xildoff -errtags=yes -v -xarch=v9
-xchip=ultra3 -W2,-AKNR_S -Wd,-xsafe=unboundsym
-Wc,-Qiselect-funcalign=32 -xcode=abs44 -Wc,-Qgsched-trace_late=1
-Wc,-Qgsched-T5 -xalias_level=weak -D_REENTRANT -DSS_64BIT_SERVER
-DBIT64 -DMACHINE64 -K PIC -c
-I/u01/app/oracle/product/10.2.0.2.Patch/rdbms/demo
-I/u01/app/oracle/product/10.2.0.2.Patch/rdbms/public
-I/u01/app/oracle/product/10.2.0.2.Patch/plsql/public
-I/u01/app/oracle/product/10.2.0.2.Patch/network/public
-I/u01/app/oracle/product/10.2.0.2.Patch/precomp/public strmmon.c
ucbcc: Warning: Option
-YP,:/usr/ucblib/sparcv9:/opterp/ban7/SUNWspro/WS6U2/bin/../lib/sparcv9:
/opterp/ban7/SUNWspro/WS6U2/bin/sparcv9:/usr/ccs/lib/sparcv9:/usr/lib/sp
arcv9 passed to ld, if ld is invoked, ignored otherwise
ucbcc: Warning: "-Xa" redefines compatibility mode from "SunC
transition" to "ANSI"
ucbcc: Warning: Option -errtags=yes passed to ld, if ld is invoked,
ignored otherwise
ucbcc: Warning: Option -W2,-AKNR_S passed to ld, if ld is invoked,
ignored otherwise
ucbcc: Warning: Option -Wd,-xsafe=unboundsym passed to ld, if ld is
invoked, ignored otherwise
ucbcc: Warning: Option -Wc,-Qiselect-funcalign=32 passed to ld, if ld is
invoked, ignored otherwise
ucbcc: Warning: Option -Wc,-Qgsched-trace_late=1 passed to ld, if ld is
invoked, ignored otherwise
ucbcc: Warning: Option -Wc,-Qgsched-T5 passed to ld, if ld is invoked,
ignored otherwise
ucbcc: Warning: Option -xalias_level=weak passed to ld, if ld is
invoked, ignored otherwise
ucbcc: Warning: Option -K passed to ld, if ld is invoked, ignored
otherwise
### command line files and options (expanded):
### -xF -xildoff -dalign -v -xarch=v9 -xchip=ultra3 -xcode=abs44
-D_REENTRANT -DSS_64BIT_SERVER -DBIT64 -DMACHINE64 PIC -c
-I/u01/app/oracle/product/10.2.0.2.Patch/rdbms/demo
-I/u01/app/oracle/product/10.2.0.2.Patch/rdbms/public
-I/u01/app/oracle/product/10.2.0.2.Patch/plsql/public
-I/u01/app/oracle/product/10.2.0.2.Patch/network/public
-I/u01/app/oracle/product/10.2.0.2.Patch/precomp/public strmmon.c
-I/usr/ucbinclude -lucb -lsocket -lnsl -lelf -laio
### ucbcc: Note: LM_LICENSE_FILE = (null)
### ucbcc: Note: NLSPATH =
/opterp/ban7/SUNWspro/WS6U2/bin/../lib/locale/%L/LC_MESSAGES/%N.cat:/opt
erp/ban7/SUNWspro/WS6U2/bin/../../lib/locale/%L/LC_MESSAGES/%N.cat
ucbcc: Invalid input file name PIC, no output generated for this file.
/opterp/ban7/SUNWspro/WS6U2/bin/acomp -Qy -y-o -ystrmmon.o
-I/u01/app/oracle/product/10.2.0.2.Patch/rdbms/demo
-I/u01/app/oracle/product/10.2.0.2.Patch/rdbms/public
-I/u01/app/oracle/product/10.2.0.2.Patch/plsql/public
-I/u01/app/oracle/product/10.2.0.2.Patch/network/public
-I/u01/app/oracle/product/10.2.0.2.Patch/precomp/public
-I/usr/ucbinclude -g "/opterp/ban7/SUNWspro/WS6U2/bin/acc -Xs
-YP,:/usr/ucblib/sparcv9:/opterp/ban7/SUNWspro/WS6U2/bin/../lib/sparcv9:
/opterp/ban7/SUNWspro/WS6U2/bin/sparcv9:/usr/ccs/lib/sparcv9:/usr/lib/sp
arcv9 -Xa -xstrconst -dalign -xF -xildoff -errtags=yes -v -xarch=v9
-xchip=ultra3 -W2,-AKNR_S -Wd,-xsafe=unboundsym
-Wc,-Qiselect-funcalign=32 -xcode=abs44 -Wc,-Qgsched-trace_late=1
-Wc,-Qgsched-T5 -xalias_level=weak -D_REENTRANT -DSS_64BIT_SERVER
-DBIT64 -DMACHINE64 -K -c
-I/u01/app/oracle/product/10.2.0.2.Patch/rdbms/demo
-I/u01/app/oracle/product/10.2.0.2.Patch/rdbms/public
-I/u01/app/oracle/product/10.2.0.2.Patch/plsql/public
-I/u01/app/oracle/product/10.2.0.2.Patch/network/public
-I/u01/app/oracle/product/10.2.0.2.Patch/precomp/public
-I/usr/ucbinclude -c" -b -y-fbe -y/opterp/ban7/SUNWspro/WS6U2/bin/fbe
-y-xarch=v9 -xarch=v9 -y-xmemalign=8s -y-verbose -strconst -Xa
-D__SunOS_5_8 -D__SUNPRO_C=0x510 -Dunix -Dsun -Dsparc -D__unix -D__sun
-D__sparc -D__sparcv9 -D__BUILTIN_VA_ARG_INCR -D__SVR4 -D__RESTRICT
-D__PRAGMA_REDEFINE_EXTNAME -xd -y-dalign -F -y-F
-I/opterp/ban7/SUNWspro/WS6U2/include/cc -D_REENTRANT -DSS_64BIT_SERVER
-DBIT64 -DMACHINE64 -i strmmon.c
"strmmon.c", line 338: warning: invalid white space character in
directive
...
...
*** Error code 10
make: Fatal error: Command failed for target `strmmon.o'
Current working directory
/u01/app/oracle/product/10.2.0.2.Patch/rdbms/demo
make: *** [strmmon] Error 1
--
Charles Schultz
--
http://www.freelists.org/webpage/oracle-l
Received on Wed Oct 17 2007 - 09:44:35 CDT