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

Поиск
Список
Период
Сортировка
От Janek Sendrowski
Тема Re: /usr/bin/ld: cannot find [...] when compiling
Дата
Msg-id trinity-a571ecf3-dc67-4fba-a2e0-ca7984db5110-1385321008461@3capp-webde-bs52
обсуждение исходный текст
Ответ на Re: /usr/bin/ld: cannot find [...] when compiling  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: /usr/bin/ld: cannot find [...] when compiling  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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


В списке pgsql-general по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: /usr/bin/ld: cannot find [...] when compiling
Следующее
От: Tom Lane
Дата:
Сообщение: Re: /usr/bin/ld: cannot find [...] when compiling