> 
> 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 *) throw ();
 
but i get the error still:
/usr/bin/g++ testlib.c mipostgres.c -I/usr/include/pqxx -lpqxx
/tmp/ccB4PwMu.o: In function 
`pqxx::internal::PQAlloc<pqxx::internal::result_data>::freemem()':
mipostgres.c:(.text._ZN4pqxx8internal7PQAllocINS0_11result_dataEE7freememEv[pqxx::internal::PQAlloc<pqxx::internal::result_data>::freemem()]+0x14):
 undefined reference to 
`pqxx::internal::freemem_result_data(pqxx::internal::result_data*)'
collect2: ld returned 1 exit status


Best Regards
Sergey Nivarov




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to