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!!
.
Sat, 09 May 1998 15:22:46 +0900
"Woohyun,Tak" <whtak@asadal.cs.pusan.ac.kr>
Help me!!! Pleass
Woohyun,Tak wrote:
> 
> 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"

Please cut the complete filename in this message (starting at the first
"/") and do an ls -l on it. "Can't stat" means that there is either no
file at the specied location or it is unreadable to the backend which
runs as "postgres".

Gene

Sun, 10 May 1998 10:02:14 +0000
"Eugene Selkov Jr." <selkovjr@mcs.anl.gov>
Re: [HACKERS] Help me!!! Pleass