Home » Developer & Programmer » Precompilers, OCI & OCCI » Oracle 8i on Tru64 generates "WARNING libaio" - Urgent Help needed
Oracle 8i on Tru64 generates "WARNING libaio" - Urgent Help needed [message #94471] Thu, 09 December 2004 23:59
Mahesh
Messages: 90
Registered: January 2001
Member
Hi,

We have created an external Oracle Procedure "test_prc". This procedure executes C Language Program "test.so"
When we run the oracle procedure "test_prc", we are getting following warning message.
Can anybody please help us to solve this problem.

WARNING libaio:
        A previous initialization of libaio_raw has been detected.
        The libaio_raw and libaio libraries cannot be linked
        into the same image or undefined behavior will result.
        Only libaio OR libaio_raw should be used.
     
     
Thank you in advance,
Mahesh

Environment Details:
Operating System : Tru64 V5.1
Database : Oracle 8i 8.1.7
C Compiler : Compaq C V6.4-014 on Compaq Tru64 UNIX V5.1A (Rev. 1885) Compiler Driver V6.4-215 (sys) cc Driver

We have created test.so file by excuting following command on the Unix Prompt.
make -f mymake.mk test.so

Contents of mymake.mk file are :
# Start of mymake.mk
include $(ORACLE_HOME)/plsql/lib/env_plsql.mk

.SUFFIXES: .pc .c .o

EXTP_MAKEFILE=$(ORACLE_HOME)/rdbms/demo/demo_rdbms.mk
USERID=
PROCPLSFLAGS= sqlcheck=full userid=$(USERID) CHAR_MAP=VARCHAR2, DBMS=V7

.pc.o:
        $(ORACLE_HOME)/bin/proc $(PROCPLSFLAGS) iname=$*.pc
        $(CC) $(CFLAGS) $(PRECOMPPUBLIC) -c $*.c

test.so:
        $(MAKE) -f $(EXTP_MAKEFILE) extproc_callback SHARED_LIBNAME=test.so OBJS="test.o"

clean:
        $(RMF) examp*.c sample*.c *.o $(PCDEMOS)

# End of mymake.mk
Previous Topic: A Query with objects requires OCI8mode, but OCI7 mode is used
Next Topic: loading data from excel to oracle table
Goto Forum:
  


Current Time: Wed May 25 11:48:47 CDT 2022