-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
elDB fails compile #64
Comments
Did you compile with Elektra installed? |
Of course, elektra-0.9.9. |
Here is the compile log; ++ Mark Compile start : "oyranos" "0.9.6" "Sun, 10 Apr 2022 13:06:47 +0000"
HAVE_LIBRAW_PLUGIN: TRUE
-- Build files have been written to: /usr/src/oyranos-0.9.6/oyranos-oosb
|
[ 74%] Building C object src/modules/color/modules/CMakeFiles/oyranos_elDB_cmm_module.dir/oyranos_cmm_elDB.c.o
/usr/src/oyranos-0.9.6/src/modules/color/modules/oyranos_cmm_elDB.c: In function 'oyGetByName':
/usr/src/oyranos-0.9.6/src/modules/color/modules/oyranos_cmm_elDB.c:134:30: warning: passing argument 1 of 'kdbOpen' from incompatible pointer type [-Wincompatible-pointer-types]
134 | KDB * oy_handle_ = kdbOpen(error_key); oyERRopen(error_key)
| ^~~~~~~~~
| |
| Key * {aka struct _Key *}
In file included from /usr/src/oyranos-0.9.6/src/modules/color/modules/oyranos_cmm_elDB.c:84:
/usr/include/elektra/kdb.h:128:31: note: expected 'const KeySet *' {aka 'const struct KeySet *'} but argument is of type 'Key *' {aka 'struct Key *'}
128 | KDB * kdbOpen (const KeySet * contract, Key *parentKey);
| ~~~~~~~~~~~~~~~^~~~~~~~
/usr/src/oyranos-0.9.6/src/modules/color/modules/oyranos_cmm_elDB.c:134:22: error: too few arguments to function 'kdbOpen'
134 | KDB * oy_handle = kdbOpen(error_key); oyERRopen(error_key)
| ^~~~~~~
In file included from /usr/src/oyranos-0.9.6/src/modules/color/modules/oyranos_cmm_elDB.c:84:
/usr/include/elektra/kdb.h:128:7: note: declared here
128 | KDB * kdbOpen (const KeySet * contract, Key *parentKey);
| ^~~~~~~
/usr/src/oyranos-0.9.6/src/modules/color/modules/oyranos_cmm_elDB.c: In function 'oyGetKey':
/usr/src/oyranos-0.9.6/src/modules/color/modules/oyranos_cmm_elDB.c:172:3: error: too few arguments to function 'keyCopy'
172 | keyCopy( key, result );
| ^~~~~~~
In file included from /usr/src/oyranos-0.9.6/src/modules/color/modules/oyranos_cmm_elDB.c:84:
/usr/include/elektra/kdb.h:147:7: note: declared here
147 | Key * keyCopy (Key *dest, const Key *source, elektraCopyFlags flags);
| ^~~~~~~
/usr/src/oyranos-0.9.6/src/modules/color/modules/oyranos_cmm_elDB.c: In function 'oySetKey':
/usr/src/oyranos-0.9.6/src/modules/color/modules/oyranos_cmm_elDB.c:184:30: warning: passing argument 1 of 'kdbOpen' from incompatible pointer type [-Wincompatible-pointer-types]
184 | KDB * oy_handle = kdbOpen(error_key); oyERRopen(error_key)
| ^~~~~~~~~
| |
| Key * {aka struct _Key *}
In file included from /usr/src/oyranos-0.9.6/src/modules/color/modules/oyranos_cmm_elDB.c:84:
/usr/include/elektra/kdb.h:128:31: note: expected 'const KeySet *' {aka 'const struct _KeySet *'} but argument is of type 'Key *' {aka 'struct Key *'}
128 | KDB * kdbOpen (const KeySet * contract, Key *parentKey);
| ~~~~~~~~~~~~~~~^~~~~~~~
/usr/src/oyranos-0.9.6/src/modules/color/modules/oyranos_cmm_elDB.c:184:22: error: too few arguments to function 'kdbOpen'
184 | KDB * oy_handle = kdbOpen(error_key); oyERRopen(error_key)
| ^~~~~~~
In file included from /usr/src/oyranos-0.9.6/src/modules/color/modules/oyranos_cmm_elDB.c:84:
/usr/include/elektra/kdb.h:128:7: note: declared here
128 | KDB * kdbOpen (const KeySet * contract, Key *parentKey);
| ^~~~~~~
/usr/src/oyranos-0.9.6/src/modules/color/modules/oyranos_cmm_elDB.c:194:17: error: too few arguments to function 'keyDup'
194 | Key * dup = keyDup (key);
| ^~~~~~
In file included from /usr/src/oyranos-0.9.6/src/modules/color/modules/oyranos_cmm_elDB.c:84:
/usr/include/elektra/kdb.h:215:20: note: declared here
215 | static inline Key *keyDup (const Key *source, elektraCopyFlags flags)
| ^~~~~~
/usr/src/oyranos-0.9.6/src/modules/color/modules/oyranos_cmm_elDB.c: In function 'elDB_newFrom':
/usr/src/oyranos-0.9.6/src/modules/color/modules/oyranos_cmm_elDB.c:362:23: warning: passing argument 1 of 'kdbOpen' from incompatible pointer type [-Wincompatible-pointer-types]
362 | db->h = kdbOpen(db->error);
| ~~^~~~~~~
| |
| Key * {aka struct _Key *}
In file included from /usr/src/oyranos-0.9.6/src/modules/color/modules/oyranos_cmm_elDB.c:84:
/usr/include/elektra/kdb.h:128:31: note: expected 'const KeySet *' {aka 'const struct _KeySet *'} but argument is of type 'Key *' {aka 'struct Key *'}
128 | KDB * kdbOpen (const KeySet * contract, Key *parentKey);
| ~~~~~~~~~~~~~~~^~~~~~~~
/usr/src/oyranos-0.9.6/src/modules/color/modules/oyranos_cmm_elDB.c:362:13: error: too few arguments to function 'kdbOpen'
362 | db->h = kdbOpen(db->error);
| ^~~~~~~
In file included from /usr/src/oyranos-0.9.6/src/modules/color/modules/oyranos_cmm_elDB.c:84:
/usr/include/elektra/kdb.h:128:7: note: declared here
128 | KDB * kdbOpen (const KeySet * contract, Key *parentKey);
| ^~~~~~~
/usr/src/oyranos-0.9.6/src/modules/color/modules/oyranos_cmm_elDB.c: In function 'elDBSetString':
/usr/src/oyranos-0.9.6/src/modules/color/modules/oyranos_cmm_elDB.c:601:30: warning: passing argument 1 of 'kdbOpen' from incompatible pointer type [-Wincompatible-pointer-types]
601 | KDB * oy_handle = kdbOpen(error_key); oyERRopen(error_key)
| ^~~~~~~~~
| |
| Key * {aka struct _Key *}
In file included from /usr/src/oyranos-0.9.6/src/modules/color/modules/oyranos_cmm_elDB.c:84:
/usr/include/elektra/kdb.h:128:31: note: expected 'const KeySet *' {aka 'const struct KeySet *'} but argument is of type 'Key *' {aka 'struct Key *'}
128 | KDB * kdbOpen (const KeySet * contract, Key *parentKey);
| ~~~~~~~~~~~~~~~^~~~~~~~
/usr/src/oyranos-0.9.6/src/modules/color/modules/oyranos_cmm_elDB.c:601:22: error: too few arguments to function 'kdbOpen'
601 | KDB * oy_handle = kdbOpen(error_key); oyERRopen(error_key)
| ^~~~~~~
In file included from /usr/src/oyranos-0.9.6/src/modules/color/modules/oyranos_cmm_elDB.c:84:
/usr/include/elektra/kdb.h:128:7: note: declared here
128 | KDB * kdbOpen (const KeySet * contract, Key *parentKey);
| ^~~~~~~
/usr/src/oyranos-0.9.6/src/modules/color/modules/oyranos_cmm_elDB.c: In function 'elDBSearchEmptyKeyname':
/usr/src/oyranos-0.9.6/src/modules/color/modules/oyranos_cmm_elDB.c:692:30: warning: passing argument 1 of 'kdbOpen' from incompatible pointer type [-Wincompatible-pointer-types]
692 | KDB * oy_handle = kdbOpen(error_key); oyERRopen(error_key)
| ^~~~~~~~~
| |
| Key * {aka struct _Key *}
In file included from /usr/src/oyranos-0.9.6/src/modules/color/modules/oyranos_cmm_elDB.c:84:
/usr/include/elektra/kdb.h:128:31: note: expected 'const KeySet *' {aka 'const struct KeySet *'} but argument is of type 'Key *' {aka 'struct Key *'}
128 | KDB * kdbOpen (const KeySet * contract, Key *parentKey);
| ~~~~~~~~~~~~~~~^~~~~~~~
/usr/src/oyranos-0.9.6/src/modules/color/modules/oyranos_cmm_elDB.c:692:22: error: too few arguments to function 'kdbOpen'
692 | KDB * oy_handle = kdbOpen(error_key); oyERRopen(error_key)
| ^~~~~~~
In file included from /usr/src/oyranos-0.9.6/src/modules/color/modules/oyranos_cmm_elDB.c:84:
/usr/include/elektra/kdb.h:128:7: note: declared here
128 | KDB * kdbOpen (const KeySet * contract, Key *parentKey);
| ^~~~~~~
/usr/src/oyranos-0.9.6/src/modules/color/modules/oyranos_cmm_elDB.c: In function 'elDBEraseKey':
/usr/src/oyranos-0.9.6/src/modules/color/modules/oyranos_cmm_elDB.c:745:30: warning: passing argument 1 of 'kdbOpen' from incompatible pointer type [-Wincompatible-pointer-types]
745 | KDB * oy_handle = kdbOpen(error_key); oyERRopen(error_key)
| ^~~~~~~~~
| |
| Key * {aka struct _Key *}
In file included from /usr/src/oyranos-0.9.6/src/modules/color/modules/oyranos_cmm_elDB.c:84:
/usr/include/elektra/kdb.h:128:31: note: expected 'const KeySet *' {aka 'const struct _KeySet *'} but argument is of type 'Key *' {aka 'struct Key *'}
128 | KDB * kdbOpen (const KeySet * contract, Key *parentKey);
| ~~~~~~~~~~~~~~~^~~~~~~~
/usr/src/oyranos-0.9.6/src/modules/color/modules/oyranos_cmm_elDB.c:745:22: error: too few arguments to function 'kdbOpen'
745 | KDB * oy_handle = kdbOpen(error_key); oyERRopen(error_key)
| ^~~~~~~
In file included from /usr/src/oyranos-0.9.6/src/modules/color/modules/oyranos_cmm_elDB.c:84:
/usr/include/elektra/kdb.h:128:7: note: declared here
128 | KDB * kdbOpen (const KeySet * contract, Key *parentKey);
| ^~~~~~~
/usr/src/oyranos-0.9.6/src/modules/color/modules/oyranos_cmm_elDB.c: At top level:
/usr/src/oyranos-0.9.6/src/modules/color/modules/oyranos_cmm_elDB.c:801:42: error: 'KDB_VERSION_MICRO' undeclared here (not in a function); did you mean 'KDB_VERSION_MINOR'?
801 | {KDB_VERSION_MAJOR, KDB_VERSION_MINOR, KDB_VERSION_MICRO}, /**< lib_version */
| ^~~~~~~~~~~~~~~~~
| KDB_VERSION_MINOR
make[2]: *** [src/modules/color/modules/CMakeFiles/oyranos_elDB_cmm_module.dir/build.make:76: src/modules/color/modules/CMakeFiles/oyranos_elDB_cmm_module.dir/oyranos_cmm_elDB.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1443: src/modules/color/modules/CMakeFiles/oyranos_elDB_cmm_module.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
The text was updated successfully, but these errors were encountered: