env_rdbms.mk producing main conflict with libnzjs8.a
Posted on 2001-07-31
I'm trying to compile on a Sun box an application that directly interfaces with the Oracle 8i RDBMS, and in the makefile for that application, I'm including $ORACLE_HOME/rdbms/lib/env_rdbms.mk However, in $(TTLIBS) (a make variable env_rdbms.mk sets up) is a library include for libnzjs8.a, which I think is probably a necessary library.
For some reason beyond me, libnzjs8.a has a main in it, which is conflicting with my application's main. When I go to the mk file and comment out the references to that library, I get linking errors from both oradb.o (the Oracle RDBMS API object file for the project, which compiled fine) and my main .o file, swmain.o. Any idea how to overcome this? The compile went fine with Oracle 7, but Oracle 8i's giving me trouble.