[odb-users] Building odb-tests-2.2.0 on Mac with gcc-4.8.0: make errors

Boris Kolpackov boris at codesynthesis.com
Sun May 12 17:15:49 EDT 2013


skh <skh1002 at gmail.com> writes:

> I don't really know why time-mapping-odb.hxx seems to get included in
> your builds and not in mine.

Yes, this is very strange. I just re-tested it on my Debian box with
GCC 4.8 and the include is definitely there. So it works for me with
GCC 4.8 on Debian and with GCC 4.7 on OS X. I don't have GCC 4.8 on
OS X readily available, so can't test that right now.

Could you therefore run this test for me:


After unpacking, compile all the headers with the ODB compiler (may
need to add -I for libodb):

odb -d sqlite *.hxx

After that, can you check the beginning of the test-odb.hxx file?
It should contain #include directives for v1-odb.hxx, v2-odb.hxx,
and v3-odb.hxx. Also, if you could send me all the generated files
(*-odb.?xx), then that would be great!

> When I compiled some of the packages, I vaguely remember that there was a
> warning message that sqlite3 library (the system one on Mac) was compiled
> without some concurrency option and that would limit multi-thread
> capabilities. I don't know if this may be the reason of failed test.

Yes, that's the reason. If SQLite was built without unlock notify
support, then it cannot be used from multiple threads simultaneously.


More information about the odb-users mailing list