Search Postgresql Archives

Re: ecpg -C INFORMIX

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux