[odb-users] ODB doesn't generate classes when glibc version >=
timo at rothenpieler.org
Mon Feb 12 10:15:56 EST 2018
Am 12.02.2018 um 12:53 schrieb Роман Лазарев:
> I have glibc 2.26 and ODB doesnt generate classes for working with
> roman at RomanUB:~/Eclipse-Projects/MyPr/src/Model$ odb -d mssql
> --generate-query CallTask.h
> In file included from
> from <standard-odb-prologue>:7:
> fatal error: xlocale.h: No such file or directory
> # include <xlocale.h>
> compilation terminated.
> Does anyone have a workaround?
If I remember the change in glibc correctly, you can just remove/comment
out the include for xlocale.h, and things should work as-is.
Stuff was moved to stdlib.h and xlocale.h was dropped.
Alternatively create an empty xlocale.h somewhere in your include path.
If that causes errors, fill the empty xlocale.h with an include for
stdlib.h, but that should normally already be included elsewhere.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3994 bytes
Desc: S/MIME Cryptographic Signature
Url : https://codesynthesis.com/pipermail/odb-users/attachments/20180212/4c6cb9a7/smime.bin
More information about the odb-users