Menu

#4 impossible to statically link wxsqlite

open
nobody
None
5
2004-05-08
2004-05-08
Anonymous
No

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.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.