Well I guess that everyone ignorede me, when errors like the following
happens with ld:
main.o:main.cpp:(.text$_ZN7mysqlpp5QueryD1Ev
[mysqlpp::Query::~Query()]+0x32c):
variable 'VTT for mysqlpp::Query' can't be auto-imported. Please read
the documentation for ld's --enable-auto-import for details.
All you need to do is add the --enable-runtime-pseudo-reloc flag to linker
flags (via LDFLAGS on makefiles or passing Wl,--enable-runtime-pseudo-reloc
to compiler when linking).
2006/7/8, owen nirvana <freeespeech@stripped>:
>
> I have try again.
> libmysqlclient.a libmysqlpp.a & libmysql_util.a could be generated
> correctly.
> but it happens to be the same error about --enable-auto-import when I
> compile examples with .\example\Makefile.mingw.
>