impossible to statically link wxsqlite
Status: Beta
Brought to you by:
blackpaw
In Mandrake 10 you can't statically link wxsqlite. I have
removed all dynamic parts of the library (basically
commeting out everything between line 25 and 101.
And removing completely the InitDLL method. I was told
that it works fine under windows. Unfortunately with
mandrake 10, the link fails with this kind of message :
wxSqlite.o(.text+0xb8f): In function
`wxSQLiteQueryBase::InitCols(char const**, int)':
/[snip]/wxSqlite.h:46: undefined reference to
`wxSQLiteQueryBase::ColNamesMap_wxImplementation_HashTable::DeleteNode(_wxHashTable_NodeBase*)'
It is to say, it fails in wxSqlite.h at this line :
WX_DECLARE_STRING_HASH_MAP(int, ColNamesMap);
Otherwise, if i link dynamically it works correctly.