[Jack-Devel] jack1 git FTBFS

Adrian Knoth adi at drcomp.erfurt.thur.de
Mon Apr 20 12:48:36 CEST 2015


On 04/20/15 12:26, Jörn Nettingsmeier wrote:

> metadata.c:202:15: error: 'DB' has no member named 'exists'
>           if (db->exists (db, NULL, &d_key, 0) == DB_NOTFOUND) {
>                 ^

Weird. Should be there. Did you check db.h (the system-wide file)? Mine
clearly has it.

> metadata.c:322:29: error: 'DBC' has no member named 'get'
>           while ((ret = cursor->get(cursor, &key, &data, DB_NEXT)) == 0) {
>                               ^

Same here:

struct __dbc {
[..]
         /* DBC PUBLIC HANDLE LIST BEGIN */
         int (*close) __P((DBC *));
}

It's clearly there.

So either your include file is broken or it's not taken into
consideration.

You can pass -E to the gcc call (manually) and redirect the output to a
file, so you get the preprocessor out. Maybe as simple as this:

/* foo.c */
#include <db.h>


gcc - E foo.c

And there, you should see all the expanded struct __db{,c,t} things.


Good luck with hunting this down. ;)



More information about the Jackaudio mailing list