Re: /usr/bin/ld: cannot find [...] when compiling

From: "Janek Sendrowski" <janek12(at)web(dot)de>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: /usr/bin/ld: cannot find [...] when compiling
Date: 2013-11-24 19:23:28
Message-ID: trinity-a571ecf3-dc67-4fba-a2e0-ca7984db5110-1385321008461@3capp-webde-bs52
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Now it's working.
My Makefile:

OBJS = test.o
MODULES = test
DATA = test.c

PG_CONFIG = pg_config
PGXS := $(shell $(PG_CONFIG) --pgxs)
include $(PGXS)

Is it possible to execute the code just like this?
I like to do that for Debugging.
I can't execute the .so files, of course and If I just do "gcc filename", I have the issue with the includes.

Janek Sendrowski

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2013-11-24 19:34:56 Re: /usr/bin/ld: cannot find [...] when compiling
Previous Message Tom Lane 2013-11-24 19:05:39 Re: /usr/bin/ld: cannot find [...] when compiling