Re: [HACKERS] pginterface compiling
От | Bruce Momjian |
---|---|
Тема | Re: [HACKERS] pginterface compiling |
Дата | |
Msg-id | 199804231519.LAA24260@candle.pha.pa.us обсуждение исходный текст |
Ответ на | pginterface compiling ("Jose' Soares Da Silva" <sferac@proxy.bazzanese.com>) |
Список | pgsql-hackers |
> > Hi, all > > I have this message when I try to compile pginterface... > Please help... > > $ make all > cc -c -g -Wall -I/usr/local/pgsql/include pginterface.c halt.c > cc -g -Wall -I/usr/local/pgsql/include -L/usr/local/pgsql/lib -lpq -o .c > /usr/lib/crt1.o: In function `_start': > /usr/lib/crt1.o(.text+0x5a): undefined reference to `main' > make: *** [.c] Error 1 > verde:~/pgsql/contrib/pginterface$ > Jose' Someone has been playing with the Makefile. Basically it is complaining because you have only specified libraries in the compile line. You need a function to call the pginterface, with a main. Try one of the sample *.c files. -- Bruce Momjian | 830 Blythe Avenue maillist@candle.pha.pa.us | Drexel Hill, Pennsylvania 19026 + If your life is a hard drive, | (610) 353-9879(w) + Christ can be your backup. | (610) 853-3000(h)
В списке pgsql-hackers по дате отправления: