-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 sub sk79 wrote: > I followed the exact instructions ( > http://www.sqlite.org/cvstrac/wiki?p=LoadableExtensions) on SQLite wiki for > loadable extensions and still have run into this issue. > Can someone help me here?
The instructions are how to make a loadable extension in C, but you are using C++. > /home/sk/utils/sqlite/sqlite-3.6.17/half.so: undefined symbol: > sqlite3_extension_init You need to declare sqlite3_extension_init as extern "C". If you do not then the name gets mangled according to normal C++ symbol mangling rules. Roger -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkqUfT4ACgkQmOOfHg372QS/xQCfVwBrbNLGlX6/cliQiLDY2yrJ YvoAoMb7d+pA4KJauvBREa8CWfSkkSwB =tyLu -----END PGP SIGNATURE----- _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users