[Gluster-devel] Error building latest tla releases
Mickey Mazarick
mic at digitaltadpole.com
Mon Feb 25 23:30:54 UTC 2008
I saw a previous posting about this but no resolution.
Just an FYI I'm also unable to build the latest release with the
following error:
Thanks!
make[5]: Entering directory
`/addedPackages/gluster/glusterfs/xlators/storage/bdb/src'
if gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -fPIC
-D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DGF_LINUX_HOST_OS -Wall
-I../../../../libglusterfs/src -shared -nostartfiles -g -O2 -MT bdb.o
-MD -MP -MF ".deps/bdb.Tpo" -c -o bdb.o bdb.c; \
then mv -f ".deps/bdb.Tpo" ".deps/bdb.Po"; else rm -f ".deps/bdb.Tpo";
exit 1; fi
In file included from bdb.c:35:
bdb.h:35:16: db.h: No such file or directory
In file included from bdb.c:35:
bdb.h:65: error: syntax error before "DB_ENV"
bdb.h:65: warning: no semicolon at end of struct or union
bdb.h:82: error: syntax error before '}' token
bdb.c: In function `bdb_forget':
bdb.c:194: error: `DB' undeclared (first use in this function)
bdb.c:194: error: (Each undeclared identifier is reported only once
bdb.c:194: error: for each function it appears in.)
bdb.c:194: error: `dbp' undeclared (first use in this function)
bdb.c: In function `bdb_lookup':
bdb.c:216: error: dereferencing pointer to incomplete type
bdb.c:216: error: dereferencing pointer to incomplete type
bdb.c:244: error: `DB' undeclared (first use in this function)
bdb.c:244: error: `dbp' undeclared (first use in this function)
bdb.c:246: error: dereferencing pointer to incomplete type
bdb.c:246: error: dereferencing pointer to incomplete type
bdb.c:248: warning: implicit declaration of function `db_create'
bdb.c:248: error: dereferencing pointer to incomplete type
bdb.c:250: error: `DB_BTREE' undeclared (first use in this function)
bdb.c:250: error: `DB_CREATE' undeclared (first use in this function)
bdb.c: In function `bdb_stat':
bdb.c:278: error: dereferencing pointer to incomplete type
bdb.c:278: error: dereferencing pointer to incomplete type
bdb.c: In function `bdb_opendir':
bdb.c:302: error: dereferencing pointer to incomplete type
bdb.c:302: error: dereferencing pointer to incomplete type
bdb.c: In function `bdb_readlink':
bdb.c:536: error: dereferencing pointer to incomplete type
bdb.c:536: error: dereferencing pointer to incomplete type
bdb.c: In function `bdb_mkdir':
bdb.c:560: error: dereferencing pointer to incomplete type
bdb.c:560: error: dereferencing pointer to incomplete type
bdb.c: In function `bdb_unlink':
bdb.c:586: error: dereferencing pointer to incomplete type
bdb.c:586: error: dereferencing pointer to incomplete type
bdb.c: In function `bdb_rmelem':
bdb.c:614: error: dereferencing pointer to incomplete type
bdb.c:614: error: dereferencing pointer to incomplete type
bdb.c: In function `bdb_rmdir':
bdb.c:636: error: dereferencing pointer to incomplete type
bdb.c:636: error: dereferencing pointer to incomplete type
bdb.c: In function `bdb_symlink':
bdb.c:658: error: dereferencing pointer to incomplete type
bdb.c:658: error: dereferencing pointer to incomplete type
bdb.c: In function `bdb_chmod':
bdb.c:685: error: dereferencing pointer to incomplete type
bdb.c:685: error: dereferencing pointer to incomplete type
bdb.c: In function `bdb_chown':
bdb.c:712: error: dereferencing pointer to incomplete type
bdb.c:712: error: dereferencing pointer to incomplete type
bdb.c: In function `bdb_truncate':
bdb.c:738: error: dereferencing pointer to incomplete type
bdb.c:738: error: dereferencing pointer to incomplete type
bdb.c: In function `bdb_utimens':
bdb.c:766: error: dereferencing pointer to incomplete type
bdb.c:766: error: dereferencing pointer to incomplete type
bdb.c: In function `bdb_statfs':
bdb.c:801: error: dereferencing pointer to incomplete type
bdb.c:801: error: dereferencing pointer to incomplete type
bdb.c: In function `bdb_incver':
bdb.c:821: error: dereferencing pointer to incomplete type
bdb.c:821: error: dereferencing pointer to incomplete type
bdb.c: In function `bdb_setxattr':
bdb.c:848: error: `DB' undeclared (first use in this function)
bdb.c:848: error: `dbp' undeclared (first use in this function)
bdb.c:849: error: `DBT' undeclared (first use in this function)
bdb.c:849: error: syntax error before "key"
bdb.c:846: warning: unused variable `ret'
bdb.c:847: warning: unused variable `trav'
bdb.c: At top level:
bdb.c:850: error: syntax error before "data"
bdb.c:850: warning: type defaults to `int' in declaration of `data'
bdb.c:850: warning: data definition has no type or storage class
bdb.c:852: error: syntax error before "if"
bdb.c:861: error: `frame' undeclared here (not in a function)
bdb.c:861: error: syntax error before '->' token
bdb.c:861: error: syntax error before '->' token
bdb.c:861: warning: type defaults to `int' in declaration of `fn'
bdb.c:861: warning: data definition has no type or storage class
bdb.c:864: warning: type defaults to `int' in declaration of `trav'
bdb.c:864: error: invalid type argument of `->'
bdb.c:864: warning: data definition has no type or storage class
bdb.c:865: error: syntax error before '}' token
bdb.c:869: error: redefinition of '_parent'
bdb.c:861: error: previous definition of '_parent' was here
bdb.c:869: error: syntax error before '->' token
bdb.c:869: error: syntax error before '->' token
bdb.c:869: warning: type defaults to `int' in declaration of `fn'
bdb.c:869: warning: data definition has no type or storage class
bdb.c: In function `bdb_getxattr':
bdb.c:880: error: `DB' undeclared (first use in this function)
bdb.c:880: error: `dbp' undeclared (first use in this function)
bdb.c:881: error: `DBT' undeclared (first use in this function)
bdb.c:881: error: syntax error before "key"
bdb.c:878: warning: unused variable `ret'
bdb.c:879: warning: unused variable `dict'
bdb.c: At top level:
bdb.c:882: error: syntax error before "data"
bdb.c:882: warning: type defaults to `int' in declaration of `data'
bdb.c:882: error: redefinition of 'data'
bdb.c:850: error: previous definition of 'data' was here
bdb.c:882: warning: data definition has no type or storage class
bdb.c:884: error: syntax error before "if"
bdb.c:889: error: redefinition of '_parent'
bdb.c:869: error: previous definition of '_parent' was here
bdb.c:889: error: redefinition of '_parent'
bdb.c:869: error: previous definition of '_parent' was here
bdb.c:889: error: syntax error before '->' token
bdb.c:889: error: syntax error before '->' token
bdb.c:889: warning: type defaults to `int' in declaration of `fn'
bdb.c:889: warning: data definition has no type or storage class
bdb.c:895: error: syntax error before '(' token
bdb.c:898: error: redefinition of '_parent'
bdb.c:889: error: previous definition of '_parent' was here
bdb.c:898: error: redefinition of '_parent'
bdb.c:869: error: previous definition of '_parent' was here
bdb.c:898: error: syntax error before '->' token
bdb.c:898: error: syntax error before '->' token
bdb.c:898: warning: type defaults to `int' in declaration of `fn'
bdb.c:898: warning: data definition has no type or storage class
bdb.c: In function `bdb_removexattr':
bdb.c:915: error: `DB' undeclared (first use in this function)
bdb.c:915: error: `dbp' undeclared (first use in this function)
bdb.c:917: error: `DBT' undeclared (first use in this function)
bdb.c:917: error: syntax error before "key"
bdb.c:922: error: `key' undeclared (first use in this function)
bdb.c: At top level:
bdb.c:929: error: syntax error before '->' token
bdb.c:930: error: redefinition of '_parent'
bdb.c:898: error: previous definition of '_parent' was here
bdb.c:930: error: redefinition of '_parent'
bdb.c:869: error: previous definition of '_parent' was here
bdb.c:930: error: syntax error before '->' token
bdb.c:930: error: syntax error before '->' token
bdb.c:930: warning: type defaults to `int' in declaration of `fn'
bdb.c:930: warning: data definition has no type or storage class
bdb.c: In function `bdb_access':
bdb.c:985: error: dereferencing pointer to incomplete type
bdb.c:985: error: dereferencing pointer to incomplete type
bdb.c: In function `bdb_readdir':
bdb.c:1411: error: `DBT' undeclared (first use in this function)
bdb.c:1411: error: syntax error before "key"
bdb.c:1409: warning: unused variable `this_entry'
bdb.c:1410: warning: unused variable `ret'
bdb.c:1412: error: syntax error before "value"
bdb.c:1413: error: `DBC' undeclared (first use in this function)
bdb.c:1413: error: `dbc' undeclared (first use in this function)
bdb.c:1414: error: `DB' undeclared (first use in this function)
bdb.c:1414: error: `dbp' undeclared (first use in this function)
bdb.c:1417: error: `ret' undeclared (first use in this function)
bdb.c:1418: error: `filled' undeclared (first use in this function)
bdb.c:1419: error: `key' undeclared (first use in this function)
bdb.c:1419: error: `value' undeclared (first use in this function)
bdb.c:1419: error: `DB_NEXT' undeclared (first use in this function)
bdb.c:1426: error: `this_entry' undeclared (first use in this function)
bdb.c:1426: error: `buf' undeclared (first use in this function)
bdb.c: At top level:
bdb.c:1442: error: syntax error before "do"
bdb.c:1442: error: redefinition of '_parent'
bdb.c:930: error: previous definition of '_parent' was here
bdb.c:1442: error: redefinition of '_parent'
bdb.c:869: error: previous definition of '_parent' was here
bdb.c:1442: error: syntax error before '->' token
bdb.c:1442: error: syntax error before '->' token
bdb.c:1442: warning: type defaults to `int' in declaration of `fn'
bdb.c:1442: warning: data definition has no type or storage class
bdb.c:1443: warning: type defaults to `int' in declaration of `free'
bdb.c:1443: warning: parameter names (without types) in function declaration
bdb.c:1443: error: conflicting types for 'free'
/usr/include/stdlib.h:597: error: previous declaration of 'free' was here
bdb.c:1443: error: conflicting types for 'free'
/usr/include/stdlib.h:597: error: previous declaration of 'free' was here
bdb.c:1443: warning: data definition has no type or storage class
bdb.c:1444: error: syntax error before '}' token
bdb.c: In function `bdb_stats':
bdb.c:1468: error: dereferencing pointer to incomplete type
bdb.c:1472: error: dereferencing pointer to incomplete type
bdb.c:1473: error: dereferencing pointer to incomplete type
bdb.c:1482: error: dereferencing pointer to incomplete type
bdb.c:1483: error: dereferencing pointer to incomplete type
bdb.c:1485: error: dereferencing pointer to incomplete type
bdb.c:1486: error: dereferencing pointer to incomplete type
bdb.c:1488: error: dereferencing pointer to incomplete type
bdb.c:1489: error: dereferencing pointer to incomplete type
bdb.c:1490: error: dereferencing pointer to incomplete type
bdb.c:1490: error: dereferencing pointer to incomplete type
bdb.c:1491: error: dereferencing pointer to incomplete type
bdb.c:1491: error: dereferencing pointer to incomplete type
bdb.c:1493: error: dereferencing pointer to incomplete type
bdb.c:1493: error: dereferencing pointer to incomplete type
bdb.c:1494: error: dereferencing pointer to incomplete type
bdb.c:1494: error: dereferencing pointer to incomplete type
bdb.c:1497: error: dereferencing pointer to incomplete type
bdb.c:1498: error: dereferencing pointer to incomplete type
bdb.c:1500: error: dereferencing pointer to incomplete type
bdb.c:1501: error: dereferencing pointer to incomplete type
bdb.c:1502: error: dereferencing pointer to incomplete type
bdb.c: In function `bdb_checksum':
bdb.c:1523: error: dereferencing pointer to incomplete type
bdb.c:1523: error: dereferencing pointer to incomplete type
bdb.c: In function `init':
bdb.c:1601: error: dereferencing pointer to incomplete type
bdb.c:1634: error: `DB_ENV' undeclared (first use in this function)
bdb.c:1634: error: `dbenv' undeclared (first use in this function)
bdb.c:1637: warning: implicit declaration of function `db_env_create'
bdb.c:1645: error: `DB_LOCK_DEFAULT' undeclared (first use in this function)
bdb.c:1652: error: `DB_CREATE' undeclared (first use in this function)
bdb.c:1652: error: `DB_INIT_LOCK' undeclared (first use in this function)
bdb.c:1653: error: `DB_INIT_LOG' undeclared (first use in this function)
bdb.c:1653: error: `DB_INIT_TXN' undeclared (first use in this function)
bdb.c:1653: error: `DB_INIT_MPOOL' undeclared (first use in this function)
bdb.c:1654: error: `DB_RECOVER' undeclared (first use in this function)
bdb.c:1654: error: `DB_THREAD' undeclared (first use in this function)
bdb.c:1662: error: dereferencing pointer to incomplete type
bdb.c:1665: error: dereferencing pointer to incomplete type
bdb.c:1666: error: dereferencing pointer to incomplete type
bdb.c:1666: error: dereferencing pointer to incomplete type
bdb.c:1670: error: dereferencing pointer to incomplete type
bdb.c:1671: error: dereferencing pointer to incomplete type
bdb.c:1672: error: dereferencing pointer to incomplete type
bdb.c:1673: error: dereferencing pointer to incomplete type
bdb.c: In function `fini':
bdb.c:1684: error: dereferencing pointer to incomplete type
make[5]: *** [bdb.o] Error 1
make[5]: Leaving directory
`/addedPackages/gluster/glusterfs/xlators/storage/bdb/src'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory
`/addedPackages/gluster/glusterfs/xlators/storage/bdb'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/addedPackages/gluster/glusterfs/xlators/storage'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/addedPackages/gluster/glusterfs/xlators'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/addedPackages/gluster/glusterfs'
make: *** [all] Error 2
--
-Mickey Mazarick
More information about the Gluster-devel
mailing list