Hello,

I created a new project to which I included all the source
files SQLITE 3.2.2

I have make a class DATABASE in which I created a method to
create the base of data.

int SqliteDatabase::create(const char *DbName)
{
        int readOnly = 0;
        int rc = 0;
        char *zFullPathname = 0;
        OsFile fd;
        memset(&fd, 0, sizeof(fd));
        if( sqlite3_malloc_failed )
        {
                return SQLITE_NOMEM;
        }       

        zFullPathname = sqlite3OsFullPathname(DbName);
        if( zFullPathname )                                                     
        
        {
                rc = sqlite3OsOpenReadWrite(zFullPathname, &fd, &readOnly);
        }               
        return rc;      
}

When I make an object DATABASE,

Database dbTemp;

Then I make the create,

dbTemp.create("tempoDB");

I receive this error:

ZeroLink: unknown symbol '__Z21sqlite3OsFullPathnamePKc'

Why?
the method must be known because all the source files are
included in the project...

Thank you in advance,

Denis Lurkin.

Reply via email to