On Thu, Feb 18, 2010 at 12:51:04AM +0530, janandith jayawardena wrote: > When building libecpg there are errors like, > > Error 1 error LNK2019: unresolved external symbol _PGTYPESdate_from_asc > referenced in function _ECPGget_data data.obj libecpg > > I see PGTYPESdate_from_asc in src/interface/ecpg/pgtypeslib/timestamp.c > > why isn't this picked up although I add it to source file list.
You need to link against libpgtypes. src/interface/ecpg/pgtypeslib/timestamp.c does not belong into libecpg. Michael -- Michael Meskes Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org) Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot Org ICQ 179140304, AIM/Yahoo/Skype michaelmeskes, Jabber mes...@jabber.org VfL Borussia! Força Barça! Go SF 49ers! Use Debian GNU/Linux, PostgreSQL -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs