On Wed, Sep 14, 2011 at 6:09 AM, Freddy López <freddy.vat...@gmail.com>wrote:

> I forget attach messages I get.
>

The first few compile errors imply that "some" header(s) (or declarations)
is/are missing, but i can't say which ones.

extension-functions.c:206:17: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘xtra_utf8_bytes’
extension-functions.c: In function ‘sqlite3ReadUtf8’:
extension-functions.c:279:3: error: ‘xtra_utf8_bytes’ undeclared
(first use in this function)


It "could also be" that the first error is caused by a C89/C99
incompatibility and that the remaining errors are side effects of that.

Can you try:

  gcc -std=c99 -fPIC -lm -shared extension-functions.c -o
libsqlitefunctions.so

to see if that works around the problem? (If not, please post the errors
again if they are notably different from the ones you already posted.)

-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to