Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> oracle 9i database on a aix 4.3.3 server trying to use a 32 bit compiler- error ksms.imp
We are trying to get a new setup to work. We have an Oracle 9.2.0.4
database on AIX 4.3.3. This database is using the 64 bit kernel
extension. We have installed Server Express 2.1 for 4.3.3 (MF cobol
compiler) which is a 32 bit app. We tried to edit the makefile used
for AIX 4.3.3, MF cobol compiler OCDS, Oracle database 8.1.6. We
learned about needing to relink rstora32, and the procob32… that has
been done. We changed out markefile to point to all the 9i oracle 32
bit directories. We are note experienced with makefiles and not sure
our makefile is ok.
We are now having problems with the 32 bit version of ksms.imp. At
first the file was empty. To resolve that problem we:
Generated the ksms.imp as follows..
@ORACLE_HOME/bin/genksms > $ORACLE_HOME/lib32/ksms.imp
and relinked the "genksms" binary:
make –f $ORACLE_HOME/rdbms/lib32/ins_rdbms.mk $ORACLE_HOME/bin/genksms
Do you know if we built this correctly?
We do not seem to be able to compile without using the variable
..please note the error with the variable for ksms.imp and without
that variable….
I hve included the makefile below
Thanks
#LIMPEXP=$(LIBHOME)/ksms.imp
This error is received for every line of code
ld: 0711-418 ERROR: Import or export file /u00/app/oracle/product/9.2.0/lib32/ks
ms.imp at line 4219:
A symbol name may only be followed by an export attribute
or an address. The line is being ignored.
2. Error when makefile does NOT comment out line
LIMPEXP=$(LIBHOME)/ksms.imp
This is a sample of errors noted :
ld: 0711-317 ERROR: Undefined symbol: .lxuStrLen
ld: 0711-317 ERROR: Undefined symbol: naesh1a
ld: 0711-317 ERROR: Undefined symbol: naesh1u
ld: 0711-317 ERROR: Undefined symbol: naemd5v
…. etc
ld: 0711-317 ERROR: Undefined symbol: ._mFg2star
ld: 0711-317 ERROR: Undefined symbol: _mFargt
ld: 0711-317 ERROR: Undefined symbol: _mFentry
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
make: 1254-004 The error code from the last command is 8.
MAKEFILE contents
#
# Makefile - COBOL compiler
#
COBOL=cob32
#
# Some additional Pro*COBOL options
DBMS= dbms=v7
#
include $(ORACLE_HOME)/precomp/lib/env_precomp.mk
#
# Non Standard
PCCINC1 = $(BANNER_HOME)/cob
#######################################################################
# The following macros should not need to be modified for the
# local environment.
#######################################################################
#
# Suffixes pseudo-target
.SUFFIXES: .cob .pco .o .gnt
#
# Compiler flags
COBFLAGS= -xv -PC "IBMCOMP noecho notrunc nobound confirm errlist
assign=external"
GNTFLAGS= -uv -PC "IBMCOMP noecho notrunc nobound confirm errlist
assign=external"
#
# ORACLE library directory
LIBHOME=$(ORACLE_HOME)/lib32
LIBDIR=$(LIBDIR32)
#
# Link flags
#
LDFLAGS=-L$(LIBHOME)
#
# Pro*COBOL precompiler
PROCOB=$(ORACLE_HOME)/bin/procob32
#
# Pro*COBOL include library
PCCINC=$(ORACLE_HOME)/precomp/public
PCCINC2=$(ORACLE_HOME)/precomp/lib32
#
# Pro*COBOL precompiler flags
PCCFLAGS= include=$(PCCINC) include=$(PCCINC2) include=$(PCCINC1) \
ireclen=132 oreclen=132 \ host=Cobol litdelim=apost maxopencursors=50 ltype=none \ hold_cursor=no release_cursor=no select_error=yes maxliteral=160 \ $(COMP5) $(DBMS) $(CHECKOPT) picx=varchar2 unsafe_null=yes
$(BANNER_HOME)/cob/GUASETR.o \ $(BANNER_HOME)/cob/GUAGETP.o
LLIBSQL=-lsql9 LLIBNET= NETLIBS= $(LLIBNET)
LIBPLS9=$(LIBHOME)/libpls9.a LIBPLP9=$(LIBHOME)/libplp9.a LIBWTC9=$(LIBHOME)/libwtc9.a
.cob.o:
$(COBOL) $(COBFLAGS) -c -o $*.o $*.$(COBEXT)
#
.cob$(GNT):
$(COB2GNT_32)
#
# Rules for building a dynamic loadable file (.gnt) from a .pco file
#
.o:
$(COBOL) -x $*.o $(GENOBJS) $(LDFLAGS) $(LLIBS) -o $*
#
.pco.gnt:
$(PROCOB) $(PCCFLAGS) iname=$*.pco oname=$*.$(COBEXT)
$(COBOL) $(GNTFLAGS) $*.$(COBEXT) -o $*.gnt
#
Received on Wed Apr 21 2004 - 12:09:43 CDT