Home » Developer & Programmer » Precompilers, OCI & OCCI » Error Creating a makefile
icon8.gif  Error Creating a makefile [message #115873] Thu, 14 April 2005 14:52
Messages: 2
Registered: April 2005
Junior Member

We have just migrated form Oracle 8.0.5 to Oracle
8.1.7 Pro*COBOL 1.8.7 and trying to make a make file
which fails saying -lsqlnet : object not found. I was
wondering if there is any change in the library. Pls
help me figuring this our.

My Make File is as below

CFLAGS = -c -O -I.
OBJECTS = $(ORACLE_HOME)/precomp/lib/cobsqlintf.o

ORALIBES = -lsql -lsqlnet -lncr -lclient -lcommon
-lgeneric -lepc -lnlsrtl3\
-lc3v6 -lcore3 -lm -lclntsh -lm\

LIBES = -lcurses -L $(ORACLE_HOME)/lib $(ORALIBES)

#LIBES = -lcurses -lm -L $(ORACLE_HOME)/lib -lapps
-lc3v6 -lclient -lclntsh\
# -lcog -lcommon -lcore -lcore3 -lcox -lcv6
-lepc -lgeneric \
# -lidl -lknlde -lncr -lnlsrtl -lnlsrtl3 -lpkg
-lpls -lsem \
# -lserver -lslax -lsql -lsqlnet -lsqlplus

cobrun : $(OBJECTS)
cob -xe "" -o cobrun $(LIBES) $(OBJECTS) +B dynamic
+lclntsh +B static +lsql

Pls let me know the details as soon as possible as it
is very critical here.

Previous Topic: Libraries - Trying to find some equivalencies
Next Topic: Who can give me a makefile ?
Goto Forum:

Current Time: Sun Aug 09 04:09:50 CDT 2020