Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I can't compile oratcl4.1 under solaris 5.8, tcl 8.4.more detail in

Status
Not open for further replies.

zjmeatloaf

Programmer
Sep 11, 2003
2
CN
in oratcl4.1 directory,
os: solaris 5.8 , sparc platform
db: oracle 9i
tcl : 8.4.4.0
oratcl4.1
compiler: sunworkshop6

step 1: succeed
../configure --prefix=/usr/local/ActiveTcl8.4.4.0--enable-stubs --with-oracle-directory=$ORACLE_HOME

step 2: failed
make

the message is as following:


cc -DVERSION=\"4.1\" -DUSE_TCL_STUBS=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_DIRENT64=1 -DHAVE_STRUCT_STAT64=1 -DHAVE_TYPE_OFF64_T=1 -DWORDS_BIGENDIAN=1 -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOLL=1 -DHAVE_STRTOULL=1 -DHAVE_TMPNAM=1 -DHAVE_WAITPID=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_TERMIOS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TZNAME=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TIMEZONE_VAR=1 -DHAVE_ST_BLKSIZE=1 -Dstrtod=fixstrtod -DSTDC_HEADERS=1 -Dsocklen_t=unsigned -DNO_UNION_WAIT=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_LANGINFO=1 -D_REENTRANT=1 -D_POSIX_PTHREAD_SEMANTICS=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_FILIO_H=1 -DORA_MAJOR_VERSION=9 -DORA_MINOR_VERSION=0 -I"/usr/local/ActiveTcl8.4.4.0/include" -I"../generic" -I/opt/oracle/db01/app/oracle/product/9.2.0/rdbms/demo -I/opt/oracle/db01/app/oracle/product/9.2.0/rdbms/public -I/opt/oracle/db01/app/oracle/product/9.2.0/plsql/public -I/opt/oracle/db01/app/oracle/product/9.2.0/network/public -I/opt/oracle/db01/app/oracle/product/9.2.0/oci/include -O -fPIC -c `echo ../generic/oratcl.c` -o oratcl.o
ucbcc: Warning: Option -YP,:/usr/ucblib:/opt/SUNWspro/WS6U2/bin/../lib:/opt/SUNWspro/WS6U2/bin:/usr/ccs/lib:/usr/lib passed to ld, if ld is invoked, ignored otherwise
ucbcc: Warning: Option -fPIC passed to ld, if ld is invoked, ignored otherwise
"/usr/local/ActiveTcl8.4.4.0/include/tclDecls.h", line 444: Tcl_EvalObj: argument mismatch
"/usr/local/ActiveTcl8.4.4.0/include/tclDecls.h", line 444: Tcl_EvalObj: argument mismatch
"/usr/local/ActiveTcl8.4.4.0/include/tclDecls.h", line 586: Tcl_GlobalEvalObj: argument mismatch
"/usr/local/ActiveTcl8.4.4.0/include/tclDecls.h", line 586: Tcl_GlobalEvalObj: argument mismatch
"/usr/local/ActiveTcl8.4.4.0/include/tclDecls.h", line 876: Tcl_DumpActiveMemory: argument mismatch
"/usr/local/ActiveTcl8.4.4.0/include/tclDecls.h", line 879: Tcl_ValidateAllMemory: argument mismatch
"/usr/local/ActiveTcl8.4.4.0/include/tclDecls.h", line 879: Tcl_ValidateAllMemory: argument mismatch


What's wrong with it?
Your help is greately appreciated!
 
Hi, I've tackled it.

Because the default c compiler in Makefile is cc
so I replaced it with gcc.
It's ok now, and I can use oratcl4.1 in tcl8.4.4
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top