Re: ecpg -C INFORMIX

Поиск
Список
Период
Сортировка
От Michael Fuhr
Тема Re: ecpg -C INFORMIX
Дата
Msg-id 20050909214152.GA35054@winnie.fuhr.org
обсуждение исходный текст
Ответ на ecpg -C INFORMIX  ("Van Tress,Michael J - PGPW" <mjvantress@bpa.gov>)
Список pgsql-general
On Fri, Sep 09, 2005 at 02:18:07PM -0700, Van Tress,Michael J - PGPW wrote:
> I'm in the process of porting INFORMIX ESQL/C code to Postgres.
> I've had great success until I've come upon Informix's datetime.h functions.
> The code compiles, but when it comes time to link, I get the following error:
>
> gcc -L/usr/local/postgresql-8.0.3/lib -o temp_fcstPg temp_fcst.o timechar.o stresslib.o -lm -lpq -lecpg
> temp_fcst.o: In function `main':
> temp_fcst.o(.text+0x1fc): undefined reference to `dttoasc'
> collect2: ld returned 1 exit status
> make: *** [temp_fcstPg] Error 1

Try linking with -lecpg_compat instead of -lecpg.

--
Michael Fuhr

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

Предыдущее
От: Bricklen Anderson
Дата:
Сообщение: ERROR: bogus varno
Следующее
От: Michael Fuhr
Дата:
Сообщение: Re: ERROR: bogus varno