Errors: "..variable 'vtable for pqxx::nullconnection' can't be auto-imported."

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Errors: "..variable 'vtable for pqxx::nullconnection' can't be auto-imported."

Ducky Yazy
I built libpqxx on MinGW successfully, and get a
libpqxx.a and a libpqxx.dll, but it seems that these
two files are not able to be used. When i compiled my
sources related to libpqxx, and tried to link the
object
file (.o), the errors occured as:

test000.o(.text$_ZN4pqxx14nullconnectionC1EPKc[pqxx::nullconnection::nullconnection(char
const*)]+0x1d):test000.cxx: variable 'vtable for
pqxx::nullconnection' can't be auto-imported. Please
read the documentation for ld's --enable-auto-import
for details.
test000.o(.text$_ZN4pqxx14nullconnectionC1Ev[pqxx::nullconnection::nullconnection()]+0x1e):test000.cxx:
variable 'vtable for pqxx::nullconnection' can't be
auto-imported. Please read the documentation for ld's
--enable-auto-import for details.
test000.o(.text$_ZN4pqxx17basic_transactionD2Ev[pqxx::basic_transaction::~basic_transaction()]+0xb):test000.cxx:
variable 'vtable for pqxx::basic_transaction' can't be
auto-imported. Please read the documentation for ld's
--enable-auto-import for details.
nmth000000.o(.idata$4+0x0): undefined reference to
`_nm___ZTVN4pqxx14nullconnectionE'
nmth000001.o(.idata$4+0x0): undefined reference to
`_nm___ZTVN4pqxx17basic_transactionE'


what cause this error? Did i follow the wrong
instructions?







               
___________________________________________________________
雅虎免费G邮箱-中国最强免费防毒反垃圾超大邮箱
http://cn.mail.yahoo.com/?id=77072


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
MinGW-users mailing list
[hidden email]

You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users