Hi Reza, [EMAIL PROTECTED] wrote: > Thanks for fast reply. > > I did that change, and tried the "nmake /f libpqxx.mak ALL > x.txt" and got:
[...build output deleted...] > link.exe @C:\DOCUME~1\Daniel\LOCALS~1\Temp\nm16C.tmp > Creating library lib\libpqxx.lib and object lib\libpqxx.exp > except.obj : warning LNK4217: locally defined symbol > [EMAIL PROTECTED]@@6B <mailto:[EMAIL PROTECTED]@@6B>@ > (const pqxx::broken_connection::`vftable') imported in function "public: > __thiscall pqxx::broken_connection::broken_connection(void)" ( > [EMAIL PROTECTED]@@[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]@@[EMAIL PROTECTED]>) > except.obj : warning LNK4217: locally defined symbol > [EMAIL PROTECTED]@@6B <mailto:[EMAIL PROTECTED]@@6B>@ (const > pqxx::sql_error::`vftable') imported in function "public: __thiscall > pqxx::sql_error::sql_error(void)" ( [EMAIL PROTECTED]@@[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]@@[EMAIL PROTECTED]>) > except.obj : warning LNK4217: locally defined symbol > [EMAIL PROTECTED]@@6B <mailto:[EMAIL PROTECTED]@@6B>@ (const > pqxx::in_doubt_error::`vftable') imported in function "public: > __thiscall pqxx::in_doubt_error::in_doubt_error(class > std::basic_string<char,struct std::char_traits<char>,class > std::allocator<char> > const &)" ( > [EMAIL PROTECTED]@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@std@@[EMAIL PROTECTED]@2@@std@@@Z > <mailto:[EMAIL PROTECTED]@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@std@@[EMAIL PROTECTED]@2@@std@@@Z>) > except.obj : warning LNK4217: locally defined symbol > [EMAIL PROTECTED]@@6B <mailto:[EMAIL PROTECTED]@@6B>@ (const > pqxx::internal_error::`vftable') imported in function "public: > __thiscall pqxx::internal_error::internal_error(class > std::basic_string<char,struct std::char_traits<char>,class > std::allocator<char> > const &)" ( > [EMAIL PROTECTED]@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@std@@[EMAIL PROTECTED]@2@@std@@@Z > <mailto:[EMAIL PROTECTED]@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@std@@[EMAIL PROTECTED]@2@@std@@@Z>) These are harmless. They will be gone in the next release, if you want to get rid of them now you can add this line as the first line of except.cxx: #include "pqxx/compiler-internal.hxx" > subtransaction.obj : error LNK2019: unresolved external symbol "public: > void __thiscall pqxx::connection_base::set_capability(enum > pqxx::connection_base::capability)" ( > [EMAIL PROTECTED]@pqxx@@[EMAIL PROTECTED]@@Z > <mailto:[EMAIL PROTECTED]@pqxx@@[EMAIL PROTECTED]@@Z>) > referenced in function "private: virtual void __thiscall > pqxx::subtransaction::do_begin(void)" ( > [EMAIL PROTECTED]@pqxx@@EAEXXZ > <mailto:[EMAIL PROTECTED]@pqxx@@EAEXXZ>) > lib\libpqxx.dll : fatal error LNK1120: 1 unresolved externals Interestingly, connection_base.cxx was not listed in the build output, so I think it was not rebuilt. I expect that doing "NMAKE /f libpqxx.mak CLEAN" and then doing your build again might help to solve these errors. (In general, when you make changes to a program and then it doesn't compile, it's always a good idea to try it again with a "clean" build!) --Bart _______________________________________________ Libpqxx-general mailing list Libpqxx-general@gborg.postgresql.org http://gborg.postgresql.org/mailman/listinfo/libpqxx-general