Open slernst opened 10 years ago
Do you have the sqlite3 dev library installed? If so, which version?
On Jun 18, 2014, at 2:04 PM, slernst notifications@github.com wrote:
Get error in "be13_api/feature_recorder_sql.cpp", See Error: below.
Env: CentOS 6.5 Final, all dev/compile requirement installed. Code did compile in ver 1.4.4. Have performed clean, distclean to re-configure build options. make with no options.
Error: be13_api/feature_recorder_sql.cpp: In member function ‘virtual void feature_recorder::dump_histogram_db(const histogramdef&, void, int ()(void, const feature_recorder&, const histogram_def&, const std::string&, const uint64_t&)) const’: be13_api/feature_recorder_sql.cpp:280: error: ‘sqlite3_create_function_v2’ was not declared in this scope be13_api/feature_recorder_sql.cpp:291: error: ‘sqlite3_create_functionv2’ was not declared in this scope make[2]: ** [be13_api/feature_recorder_sql.o] Error 1
— Reply to this email directly or view it on GitHub.
As reported from "yum list installed | grep sqlite"
sqlite.x86_64 3.6.20-1.el6 @base
sqlite-devel.x86_64 3.6.20-1.el6 @base
Can you try changing:
this line in configure.ac:
AC_CHECK_LIB([sqlite3],[sqlite3_open])
to this:
AC_CHECK_LIB([sqlite3],[sqlite3_create_function_v2])
and see if it works?
On Jun 18, 2014, at 2:04 PM, slernst notifications@github.com wrote:
Get error in "be13_api/feature_recorder_sql.cpp", See Error: below.
Env: CentOS 6.5 Final, all dev/compile requirement installed. Code did compile in ver 1.4.4. Have performed clean, distclean to re-configure build options. make with no options.
Error: be13_api/feature_recorder_sql.cpp: In member function ‘virtual void feature_recorder::dump_histogram_db(const histogramdef&, void, int ()(void, const feature_recorder&, const histogram_def&, const std::string&, const uint64_t&)) const’: be13_api/feature_recorder_sql.cpp:280: error: ‘sqlite3_create_function_v2’ was not declared in this scope be13_api/feature_recorder_sql.cpp:291: error: ‘sqlite3_create_functionv2’ was not declared in this scope make[2]: ** [be13_api/feature_recorder_sql.o] Error 1
— Reply to this email directly or view it on GitHub.
That did not work. I get the same error.
Looks like you don't have the v2 version of the function. You will need to detect the function in autoconf. I thought the patch I gave you would handle this. Sorry. I won't be able to get to it for a few days.
Sent from my phone. Please Call me at 202-322-8411 if you wish a longer response.
On Jun 18, 2014, at 2:09 PM, slernst notifications@github.com wrote:
As reported from "yum list installed | grep sqlite"
sqlite.x86_64 3.6.20-1.el6 @base
sqlite-devel.x86_64 3.6.20-1.el6 @base
— Reply to this email directly or view it on GitHub.
No worries, I really appreciate the help. I'm out for a few days as well and will check back next week. Again, thanks for the response.
I have a patch I will push. You will need to test.
Sent from my phone. Please Call me at 202-322-8411 if you wish a longer response.
On Jun 18, 2014, at 2:04 PM, slernst notifications@github.com wrote:
Get error in "be13_api/feature_recorder_sql.cpp", See Error: below.
Env: CentOS 6.5 Final, all dev/compile requirement installed. Code did compile in ver 1.4.4. Have performed clean, distclean to re-configure build options. make with no options.
Error: be13_api/feature_recorder_sql.cpp: In member function ‘virtual void feature_recorder::dump_histogram_db(const histogramdef&, void, int ()(void, const feature_recorder&, const histogram_def&, const std::string&, const uint64_t&)) const’: be13_api/feature_recorder_sql.cpp:280: error: ‘sqlite3_create_function_v2’ was not declared in this scope be13_api/feature_recorder_sql.cpp:291: error: ‘sqlite3_create_functionv2’ was not declared in this scope make[2]: ** [be13_api/feature_recorder_sql.o] Error 1
— Reply to this email directly or view it on GitHub.
Get error in "be13_api/feature_recorder_sql.cpp", See Error: below.
Env: CentOS 6.5 Final, all dev/compile requirement installed. Code did compile in ver 1.4.4. Have performed clean, distclean to re-configure build options. make with no options.
Error: be13_api/feature_recorder_sql.cpp: In member function ‘virtual void feature_recorder::dump_histogram_db(const histogramdef&, void, int ()(void, const feature_recorder&, const histogram_def&, const std::string&, const uint64_t&)) const’: be13_api/feature_recorder_sql.cpp:280: error: ‘sqlite3_create_function_v2’ was not declared in this scope be13_api/feature_recorder_sql.cpp:291: error: ‘sqlite3_create_functionv2’ was not declared in this scope make[2]: ** [be13_api/feature_recorder_sql.o] Error 1