Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Shared Libraries with Oracle

Shared Libraries with Oracle

From: Juergen Hohmann <hohmann_at_prodv.de>
Date: 1997/06/12
Message-ID: <6c7cd$93a2b.244@mail.prodv.de>#1/1

Hello,

we are using oracle 6 on a IBM AIX 4.2 system with embedded SQL. Now we wan't to create our own shared libraries. Functions in shared libs usings oracle functions.
At link time I'm getting problems with the references to the file osntab.o which is compiled at installation time from oracle and a reference to the symbol "p_xargv" (which is not used at static link time).
A way to create me own libs is to create a lib with the file osntab.o and a file with an entry "char p_xargv[1000];". This works and I can create all libs.

At execution time I'm getting a core. The function call stack is
#0 0xd01c8790 in reset_pthread_kill ()
#1 0xd01c94c4 in sigaction ()
#2 0xd03ae378 in sigvec ()
#3 0xd01dee00 in slsig (=0xf0573a58, =0x1)
#4 0xd01e1f84 in osnsui (=0x0, =0x0, =0x0)
#5 0xd01e4cd4 in osnttt ()
#6 0xd0de2900 in osncon (=0xf0b292e4, =0xc, =0x3, =0xf0b28a58, =0xf0b28a5c,

    =0xf0b28a54, =0xf0b28a38, =0xf0b28a7c)
#7 0xd0dde3a0 in upiini (=0x2002e0f8, =0xdeadbeef, =0xf0b29058)
#8 0xd0ddda6c in upiahs (=0xf055d2ae, =0x20032648, =0xe)
#9 0xd0e00578 in sqllam (=0xf0b28e40, =0x0, =0x2ff22430, =0x22222044,

    =0xd0ddd8d8, =0xf0dc77c0, =0x2ff22430, =0xf055a39c)
#10 0xd0e003ac in sqllo2 (=0xd0f79490, =0x2ff224c8, =0x4e, =0x2002e058, =0x0,

    =0x0, =0x73000000, =0xf06b3058)

Have anyone a idea?

In the future we wan't to go to oracle 7. So any information about shared libs in oracle 7 are welcome.

Bye

        Juergen Hohmann Received on Thu Jun 12 1997 - 00:00:00 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US