Bug#492880: Re[4]: Bug#492880: libpqxx-2.6.9ldbl: undefined reference

2008-07-30 Thread Sergey Nivarov
> > Did you rebuild the library after making the change, and if so, are you > sure you're linking against the new library binary? > > Also, after linking to libpqxx, you'll also want to link to libpq. > > > Jeroen > Eugene and Jeroen, thank you for your advices. It was a problem to compile o

Bug#492880: Re[2]: Bug#492880: libpqxx-2.6.9ldbl: undefined reference

2008-07-30 Thread Jeroen Vermeulen
Sergey Nivarov wrote: Thank you. However it didn't help me. I've changed /usr/include/pqxx/result.hxx void freemem_result_data(result_data *) throw (); to void PQXX_LIBEXPORT freemem_result_data(result_data *) throw (); but i get the error still: /usr/bin/g++ testlib.c mipostgres.c -I/usr/in

Bug#492880: Re[2]: Bug#492880: libpqxx-2.6.9ldbl: undefined reference

2008-07-30 Thread Eugene V. Lyubimkin
Sergey Nivarov wrote: > Thank you. However it didn't help me. I've changed > /usr/include/pqxx/result.hxx > void freemem_result_data(result_data *) throw (); > to > void PQXX_LIBEXPORT freemem_result_data(result_data *) throw (); > > but i get the error still: > /usr/bin/g++ testlib.c mipostgre

Bug#492880: Re[2]: Bug#492880: libpqxx-2.6.9ldbl: undefined reference

2008-07-30 Thread Sergey Nivarov
> > This is a known problem in 2.6.9: that function should be declared > PQXX_LIBEXPORT. > > > Jeroen > Thank you. However it didn't help me. I've changed /usr/include/pqxx/result.hxx void freemem_result_data(result_data *) throw (); to void PQXX_LIBEXPORT freemem_result_data(result_data *)

Bug#492880: libpqxx-2.6.9ldbl: undefined reference

2008-07-29 Thread Jeroen Vermeulen
Sergey Nivarov wrote: Package: libpqxx-2.6.9ldbl Version: 2.6.9-6 Severity: serious Architecture: amd64 On compiling any file which uses the library it gives error: undefined reference to `pqxx::internal::freemem_result_data(pqxx::internal::result_data*)' So, i can not build absolutely anythi

Bug#492880: libpqxx-2.6.9ldbl: undefined reference

2008-07-29 Thread Sergey Nivarov
Package: libpqxx-2.6.9ldbl Version: 2.6.9-6 Severity: serious Architecture: amd64 On compiling any file which uses the library it gives error: undefined reference to `pqxx::internal::freemem_result_data(pqxx::internal::result_data*)' So, i can not build absolutely anything with this library any