Re: HELP - Oracle WOW gateway

From: Magnus Lonnroth <mloennro_at_se.oracle.com>
Date: 05 Mar 1995 09:47:26 GMT
Message-ID: <MLOENNRO.95Mar5104726_at_cheops.se.oracle.com>


cg92 related stuff is a FAQ for Oracle on Solaris 2.x. Please see the Installation and User's Guide or other relevant bulletins describing this.

I made the following changes to the Makefile to get it to build under Solaris 2.3 with the SUNWspro C-compiler (I don't have Solaris 2.4 installed yet, so I don't know if this will help). Also, if your machine has a SPARC V7 processor, I think you have to remove the -xcg92 switch from CFLAGS. ORA_SUN5_LIBS = $(ORACLE_HOME)/lib/crti.o $(ORACLE_HOME)/lib/crt1.o \ $(ORACLE_HOME)/lib/__fstd.o -locic $(ORACLE_HOME)/lib/osntab.o -lsqlnet \ -lora -lsqlnet -lnlsrtl -lcv6 -lcore -lnlsrtl -lcv6 \ $(ORACLE_HOME)/lib/crtn.o -lcore

# Solaris 2.3
CC = cc
LD = ld
CFLAGS = -xcg92 $(INCLUDE) -g -DDEBUG
LDFLAGS = -dy -t -Qy -Y P,$(ORACLE_HOME)/lib:/usr/ccs/lib:/usr/lib CLIBS = -laio -lsocket -lnsl -lm -ldl -lc ORALIBS=$(ORA_SUN5_LIBS) thanks,

Magnus

In article <3j800u$rj_at_oac4.hsc.uth.tmc.edu> Shirley <schee_at_rpisun1.mda.uth.tmc.edu> writes:

> Are there anybody out there using Oracle WOW gateway? I encountered some
> problems with compiling the wowstub. We have two unix machines. One of
> them is running the Web server which also has SQL*NET v2 installed on it.
> The other is running Oracle database. This is the error message from the
> makefile:
>
> Undefined Symbol: __cg92_used
> Referenced in file: libocic.a (oci.o)
>
> ld: fatal: Symbol referencing errors. No output written to wowstub
> *** Error code 1
> make: Fatal error: Command failed for target `wowstub'
>
> The operating system is Solaris 2.4
> The database is 7.1.3
>
> Thank you
> Shirley

--

Magnus Lonnroth			E-mail: mloennro_at_se.oracle.com
Product Manager	Europe		Visit : Molndalsvagen 91, Goteborg, Sweden
Internet/Web Products		Office: +46-31-830325 Mobile: +46-70-5916325
Network Products Division	Web   : http://ubik.se.oracle.com (firewall)
Oracle Corp.			Sales, Oracle Sweden
Received on Sun Mar 05 1995 - 10:47:26 CET

Original text of this message