C++ parser: migration from to 8.1.4 
Author Message
 C++ parser: migration from to 8.1.4

Hi folks,
     I'm having a little trouble migrating a C++ database parser on
unix from to 8.1.4 due to my inexperience of using Oracle. The
main problems are due to the order and repetition of the libraries in
the Makefile.

The makefile line is:

#DBLIBS=-lsql $(ORACLE_HOME)/lib/osntab.o -lsqlnet -lora -lsqlnet
-lora -lnlsrtl -lcv6 -lcore -lnlsrtl -lcv6 -lcore


DBLIBS=-lsql -lsqlnet -lncr -lsqlnet -lclient -lcommon -lgeneric
-lsqlnet -lncr -lsqlnet -lclient -lcommon -lgeneric -lepc -lnlsrtl3
-lc3v6 -lcore3 -lnlsrtl3 -lcore3 -lnlsrtl3 -ldl

The first line is commented out and the second used instead, can
anybody explain why? DBLIBS is then used in the C++ compiler call:

DBParser: main.cc DBParse_database.h DBParse_database.o DBParser.o
        $(ACC) $(CFLAGS) -o DBParser $(INCPATH) -I$(DB_INCLUDE)
-L$(DB_LIB_PATH) -L. -L$(GT_HOME)/gt_lib main.cc DBParser.o
DBParse_database.o $(DBLIBS) -lgtbc -lgtgen -lsocket -lnsl

ACC simply points to the CC command. CFLAGS is -g -DORACLE. INCPATH
points to include files. DB_INCLUDE is $(ORACLE_HOME)/precomp/public.
DB_LIB_PATH is $(ORACLE_HOME)/lib. GT_HOME points to our custom

Can anybody tell me the easiest method to build the parser against
8.1.4 or at least point me in the right direction.

Thanks for your help in advance,



Tue, 23 Mar 2004 21:43:54 GMT
 [ 1 post ] 

 Relevant Pages 

1. Oracle XDK Parser (DOM) for C++ does not copy supplied data in Node::setValue()

2. pgsql/src backend/parser/gram.y backend/parser ...

3. pgsql/src backend/parser/gram.y backend/parser ...

4. C++, C++, C++, C++

5. Migration to Oracle8 using Migration Utility

6. C++ Builder versus MS Visual C++

7. C++ .NET V7, standard C++ library, ODBC - conflict

8. DALLAS -- Senior Unix Developer C/C++ - C++,PERL,SQL,UNIX

9. Free Pro*C++ Guide - Essential Pro*C++ (for first 100 replies )

10. Third party C++ objects for Pro*C/C++

11. C++, Visual C++ Analyst Programmers and Senior A/P's, Permanent

12. C, C++, Visual C++, Oracle, SQL, Contract

Powered by phpBB® Forum Software