error in linking

From: "Hicham G(dot) Elmongui" <elmongui(at)cs(dot)purdue(dot)edu>
To: pgsql-hackers(at)postgresql(dot)org
Subject: error in linking
Date: 2004-08-01 16:08:36
Message-ID: cej4i9$5ql$1@news.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,
i am trying to add some functions to postgresql.

I created a file called "...../src/backend/executor/testing.c"
then created a file called "...../src/include/executor/testing.h"
then added "testing.o" to the OBJS in "...../src/backend/executor/Makefile"
I included "executor/testing.h" in execMain.c, and from there, I tried to
make a function call to function which is in testing.c

When I tried to gmake, i got the following error message:
********************************************************
Undefined first referenced
symbol in file
PrintPlan executor/SUBSYS.o
PrintQuery executor/SUBSYS.o
ld: fatal: Symbol referencing errors. No output written to postgres
********************************************************
this is an error during the linking.

Any idea what i am missing?

thanks,
--h

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Christopher Browne 2004-08-01 17:04:06 Re: Version Numbering -- The great debate
Previous Message Bruce Momjian 2004-08-01 13:53:49 Re: Build error in HEAD