2 May 2002 02:47
make errors building libpqdll.lib
Rob Butler <robert.butler5 <at> verizon.net>
2002-05-02 00:47:27 GMT
2002-05-02 00:47:27 GMT
Hello all, I'm running into some sort of error building libpq on my machine. I change to /src and run nmake -f win32.mak as directed, but get output showing warning messages. OK fine, warnings are not errors.. BUT the libpqdll.lib does not have an entry for PQescapeString.. Which causes the following error in my project: error LNK2001: unresolved external symbol _PQescapeString fatal error LNK1120: 1 unresolved externals If I comment out PQescapeString, the project compiles fine. Other postgres functions seem to be available and work when called. Is this a bug in the win32 build of libpq? Or is something going wrong on my machine. Either way, all I need is the libpqdll.lib, libpq-fe.h, and libpq.dll files.. If someone else has them for postgres 7.2 already and could send them to me, it would save some time. Help solving the issue so I can build my own libpq.dll would also be greatly appreciated. I'm using VC++ Enterprise Edition, with the August 2001 Edition Microsoft SDK update. Thanks for the help Rob Here is a copy of the build output: cd include if not exist pg_config.h copy pg_config.h.win32 pg_config.h(Continue reading)
RSS Feed