You are here

sqlite3.c errors

4 posts / 0 new
Last post
sqlite3.c errors
#1

I've been trying for a while to build Rosetta on a cluster.

I'm getting errors related to sqlite3.c. Does anyone know how to fix this?

external/dbio/sqlite3/sqlite3.c:19305:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
 };
 ^
external/dbio/sqlite3/sqlite3.c:19305:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
external/dbio/sqlite3/sqlite3.c:19305:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
external/dbio/sqlite3/sqlite3.c:19305:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
external/dbio/sqlite3/sqlite3.c:19305:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
external/dbio/sqlite3/sqlite3.c:19305:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
external/dbio/sqlite3/sqlite3.c: In function ‘void strftimeFunc(sqlite3_context*, int, sqlite3_value**)’:
external/dbio/sqlite3/sqlite3.c:19738:40: error: invalid conversion from ‘void*’ to ‘char*’ [-fpermissive]
     z = sqlite3DbMallocRawNN(db, (int)n);

 

Category: 
Post Situation: 
Tue, 2019-03-05 14:13
lah435

Which compiler are you using?  And what compilation command did you use?

Tue, 2019-03-05 17:00
vmulligan

The compiler command is: 

external/scons-local/scons.py bin mode=release extras=mpi -j8

The compilers are:

[ Dalma compute-60-3 ~/apps/Rosetta/main/source ]
$ which mpiCC
/share/apps/NYUAD/openmpi/gcc_4.9.3/1.10.2/bin/mpiCC

[ Dalma compute-60-3 ~/apps/Rosetta/main/source ]
$ which mpicxx
/share/apps/NYUAD/openmpi/gcc_4.9.3/1.10.2/bin/mpicxx

site.settings:

import os
settings = {
    "site" : {
            "prepends" : {
            "program_path" : os.environ["PATH"].split(":"),
#            "include_path" : os.environ["INCLUDE"].split(":"),
            "library_path" : os.environ["LD_LIBRARY_PATH"].split(":"),
        },
        "appends" : {
        },
        "overrides" : {
        },
        "removes" : {
        },
    },
}

user.settings:

import os
settings = {
    "user" : {
        "prepends" : {
        },
        "appends" : {
            #"program_path"  : os.environ["PATH"].split(":"),
            #"defines" : [ 'EXPERIMENTAL_TRACER_FEATURES' ],
        },
        "overrides" : {
            "ENV" : os.environ,
            "cc" : "/share/apps/NYUAD/openmpi/gcc_4.9.3/1.10.2/bin/mpiCC",
            "cxx" : "/share/apps/NYUAD/openmpi/gcc_4.9.3/1.10.2/bin/mpicxx",
        },
        "removes" : {
        },
    }
}

Wed, 2019-03-06 11:11
lah435

Am I the only Rosetta user to run into this problem?

Sat, 2019-03-16 14:23
lah435