|How to connect Oracle database from HP-UX 11i using Pro*C [message #150859]
||Sun, 11 December 2005 07:56
Registered: December 2005
This is RaviKumar.I am working on HP-UX and Oracle 10g.We are using Pro*C for connecting to both.But i am new in this.In our Oracle server there is no demo_proc.mk makefile.So without this makefile how can precompile,compile and link library files.I stuck this work from last two weeks.If u know pls help me.
Actually I have compiled the following code.Its working fine.
Filename is test.pc
I used the following steps,
proc iname=test.pc oname=test.c code=ansi_c
cc -o test test.c
Its precompiled ,compiled and created test executable file.
its working fine.
Then if I try to connect to the database its giving some errors.
I thing these errors are linker errors.Its giving the following error.
sqlcxt(first referenced test.o)(code)
In my Oracle server path there is no demo_proc.mk makefile.Without this file can I perform all these processes.Or can I create our own makefile.If it is possible then pls give me the step by step.Otherwise can I download the demo_proc.mk makefile in Net pls give me the link for download.Actually from last 2 weeks I stuck this problem.This is urgent requirement.Pls reply me asap.
Pls send Reply the following mail ID:firstname.lastname@example.org
[Updated on: Sun, 11 December 2005 08:04]
Report message to a moderator