Help me!!! Pleass

From: "Woohyun,Tak" <whtak(at)asadal(dot)cs(dot)pusan(dot)ac(dot)kr>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Help me!!! Pleass
Date: 1998-05-09 06:22:46
Message-ID: 3553F636.56AF70B4@asadal.cs.pusan.ac.kr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

PGHOME/src/tutorial/funcs.c .....

I compiled it by GCC ,but not excutable

command: gcc -fPIC -c funcs.c
ld -G -Bdynamic -o funcs.so funcs.o

I met errer mesage ==> " stat failed on file /../../../*.so"
++++++++
*******************************************************************************

QUERY: CREATE FUNCTION c_overpaid(EMP, int4) RETURNS bool
AS '/user1/grad/whtak/postgres/src/funcs.so' LANGUAGE 'c';

*******************************************************************************

press return to continue ..

CREATE

*******************************************************************************

QUERY: SELECT add_one(3) AS four;

*******************************************************************************

press return to continue ..

ERROR: stat failed on file /user1/grad/whtak/postgres/src/funcs.so

++++++

Let me know what means errer message.

Good Luck!!
.

Attachment Content-Type Size
funcs.so application/octet-stream 3.5 KB
funcs.o application/octet-stream 1.6 KB
funcs.c application/x-unknown-content-type-c_auto_file 1.9 KB
funcs.sql text/plain 1.9 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Byron Nikolaidis 1998-05-10 00:12:21 Re: [INTERFACES] NEW ODBC DRIVER
Previous Message The Hermit Hacker 1998-05-08 22:41:33 Re: [HACKERS] Your Search Engine Listing (fwd)