Trying to compile sendmail 8.11.6 from source, I get:
In file included from smdb.c:20:
../../include/libsmdb/smdb.h:23: parse error before `NDBM'
../../include/libsmdb/smdb.h:69: parse error before `*'
../../include/libsmdb/smdb.h:86: parse error before `*'
../../include/libsmdb/smdb.h:102: parse error before `*'
../../include/libsmdb/smdb.h:120: parse error before `*'
../../include/libsmdb/smdb.h:142: parse error before `*'
../../include/libsmdb/smdb.h:158: parse error before `*'
../../include/libsmdb/smdb.h:173: parse error before `*'
../../include/libsmdb/smdb.h:189: parse error before `*'
../../include/libsmdb/smdb.h:192: parse error before `*'
../../include/libsmdb/smdb.h:345: parse error before `*'
../../include/libsmdb/smdb.h:345: warning: data definition has no type or storage class
../../include/libsmdb/smdb.h:346: parse error before `*'
../../include/libsmdb/smdb.h:347: parse error before `*'
../../include/libsmdb/smdb.h:371: parse error before `*'
../../include/libsmdb/smdb.h:372: parse error before `*'
smdb.c:33: parse error before `*'
smdb.c: In function `smdb_malloc_database':
smdb.c:36: `SMDB_DATABASE' undeclared (first use in this function)
smdb.c:36: (Each undeclared identifier is reported only once
smdb.c:36: for each function it appears in.)
smdb.c:36: `db' undeclared (first use in this function)
smdb.c:38: parse error before `)'
smdb.c: At top level:
smdb.c:59: parse error before `SMDB_DATABASE'
smdb.c:59: warning: data definition has no type or storage class
smdb.c:60: parse error before `{'
smdb.c:201: parse error before `SMDB_DATABASE'
smdb.c:201: conflicting types for `database'
smdb.c:59: previous declaration of `database'
smdb.c:201: warning: data definition has no type or storage class
smdb.c:209: parse error before `{'
smdb.c:213: parse error before `if'
smdb.c:228: parse error before `&&'
smdb.c:228: warning: data definition has no type or storage class
smdb.c:228: parse error before `}'
smdb.c:228: conflicting declarations of `__result'
smdb.c:228: `__result' previously declared here
smdb.c:228: `__s2' undeclared here (not in a function)
smdb.c:228: initializer element is not constant
smdb.c:228: parse error before `if'
smdb.c:228: conflicting declarations of `__result'
smdb.c:228: `__result' previously defined here
smdb.c:228: warning: data definition has no type or storage class
smdb.c:228: parse error before `}'
smdb.c:228: warning: data definition has no type or storage class
smdb.c:228: parse error before `}'
smdb.c:228: redefinition of `__result'
smdb.c:228: `__result' previously defined here
smdb.c:228: `__s1' undeclared here (not in a function)
smdb.c:228: initializer element is not constant
smdb.c:228: parse error before `if'
smdb.c:228: conflicting declarations of `__result'
smdb.c:228: `__result' previously defined here
smdb.c:228: warning: data definition has no type or storage class
smdb.c:228: parse error before `}'
smdb.c:229: parse error before `&&'
smdb.c:229: warning: data definition has no type or storage class
smdb.c:229: parse error before `}'
smdb.c:229: redefinition of `__result'
smdb.c:228: `__result' previously defined here
smdb.c:229: `__s2' undeclared here (not in a function)
smdb.c:229: initializer element is not constant
smdb.c:229: parse error before `if'
smdb.c:229: conflicting declarations of `__result'
smdb.c:229: `__result' previously defined here
smdb.c:229: warning: data definition has no type or storage class
smdb.c:229: parse error before `}'
smdb.c:229: warning: data definition has no type or storage class
smdb.c:229: parse error before `}'
smdb.c:229: redefinition of `__result'
smdb.c:229: `__result' previously defined here
smdb.c:229: `__s1' undeclared here (not in a function)
smdb.c:229: initializer element is not constant
smdb.c:229: parse error before `if'
smdb.c:229: conflicting declarations of `__result'
smdb.c:229: `__result' previously defined here
smdb.c:229: warning: data definition has no type or storage class
smdb.c:229: parse error before `}'
smdb.c:245: parse error before `&&'
smdb.c:245: warning: data definition has no type or storage class
smdb.c:245: parse error before `}'
smdb.c:245: redefinition of `__result'
smdb.c:229: `__result' previously defined here
smdb.c:245: `__s2' undeclared here (not in a function)
smdb.c:245: initializer element is not constant
smdb.c:245: parse error before `if'
smdb.c:245: conflicting declarations of `__result'
smdb.c:245: `__result' previously defined here
smdb.c:245: warning: data definition has no type or storage class
smdb.c:245: parse error before `}'
smdb.c:245: warning: data definition has no type or storage class
smdb.c:245: parse error before `}'
smdb.c:245: redefinition of `__result'
smdb.c:245: `__result' previously defined here
smdb.c:245: `__s1' undeclared here (not in a function)
smdb.c:245: initializer element is not constant
smdb.c:245: parse error before `if'
smdb.c:245: conflicting declarations of `__result'
smdb.c:245: `__result' previously defined here
smdb.c:245: warning: data definition has no type or storage class
smdb.c:245: parse error before `}'
smdb.c:386: parse error before `SMDB_DATABASE'
smdb.c:386: conflicting types for `database'
smdb.c:201: previous declaration of `database'
smdb.c:386: warning: data definition has no type or storage class
smdb.c:387: conflicting types for `type'
smdb.c:206: previous declaration of `type'
smdb.c:388: parse error before `{'
smdb.c:391: request for member `smdb_lockfd' in something not a structure or union
smdb.c:391: warning: data definition has no type or storage class
smdb.c:392: parse error before `if'
smdb.c:411: parse error before `SMDB_DATABASE'
smdb.c:411: warning: data definition has no type or storage class
smdb.c:412: parse error before `{'
smdb.c:415: redefinition of `fd'
smdb.c:391: `fd' previously defined here
smdb.c:415: request for member `smdb_lockfd' in something not a structure or union
smdb.c:415: warning: data definition has no type or storage class
smdb.c:416: parse error before `if'
make[1]: *** [smdb.o] Error 1
In file included from smdb.c:20:
../../include/libsmdb/smdb.h:23: parse error before `NDBM'
../../include/libsmdb/smdb.h:69: parse error before `*'
../../include/libsmdb/smdb.h:86: parse error before `*'
../../include/libsmdb/smdb.h:102: parse error before `*'
../../include/libsmdb/smdb.h:120: parse error before `*'
../../include/libsmdb/smdb.h:142: parse error before `*'
../../include/libsmdb/smdb.h:158: parse error before `*'
../../include/libsmdb/smdb.h:173: parse error before `*'
../../include/libsmdb/smdb.h:189: parse error before `*'
../../include/libsmdb/smdb.h:192: parse error before `*'
../../include/libsmdb/smdb.h:345: parse error before `*'
../../include/libsmdb/smdb.h:345: warning: data definition has no type or storage class
../../include/libsmdb/smdb.h:346: parse error before `*'
../../include/libsmdb/smdb.h:347: parse error before `*'
../../include/libsmdb/smdb.h:371: parse error before `*'
../../include/libsmdb/smdb.h:372: parse error before `*'
smdb.c:33: parse error before `*'
smdb.c: In function `smdb_malloc_database':
smdb.c:36: `SMDB_DATABASE' undeclared (first use in this function)
smdb.c:36: (Each undeclared identifier is reported only once
smdb.c:36: for each function it appears in.)
smdb.c:36: `db' undeclared (first use in this function)
smdb.c:38: parse error before `)'
smdb.c: At top level:
smdb.c:59: parse error before `SMDB_DATABASE'
smdb.c:59: warning: data definition has no type or storage class
smdb.c:60: parse error before `{'
smdb.c:201: parse error before `SMDB_DATABASE'
smdb.c:201: conflicting types for `database'
smdb.c:59: previous declaration of `database'
smdb.c:201: warning: data definition has no type or storage class
smdb.c:209: parse error before `{'
smdb.c:213: parse error before `if'
smdb.c:228: parse error before `&&'
smdb.c:228: warning: data definition has no type or storage class
smdb.c:228: parse error before `}'
smdb.c:228: conflicting declarations of `__result'
smdb.c:228: `__result' previously declared here
smdb.c:228: `__s2' undeclared here (not in a function)
smdb.c:228: initializer element is not constant
smdb.c:228: parse error before `if'
smdb.c:228: conflicting declarations of `__result'
smdb.c:228: `__result' previously defined here
smdb.c:228: warning: data definition has no type or storage class
smdb.c:228: parse error before `}'
smdb.c:228: warning: data definition has no type or storage class
smdb.c:228: parse error before `}'
smdb.c:228: redefinition of `__result'
smdb.c:228: `__result' previously defined here
smdb.c:228: `__s1' undeclared here (not in a function)
smdb.c:228: initializer element is not constant
smdb.c:228: parse error before `if'
smdb.c:228: conflicting declarations of `__result'
smdb.c:228: `__result' previously defined here
smdb.c:228: warning: data definition has no type or storage class
smdb.c:228: parse error before `}'
smdb.c:229: parse error before `&&'
smdb.c:229: warning: data definition has no type or storage class
smdb.c:229: parse error before `}'
smdb.c:229: redefinition of `__result'
smdb.c:228: `__result' previously defined here
smdb.c:229: `__s2' undeclared here (not in a function)
smdb.c:229: initializer element is not constant
smdb.c:229: parse error before `if'
smdb.c:229: conflicting declarations of `__result'
smdb.c:229: `__result' previously defined here
smdb.c:229: warning: data definition has no type or storage class
smdb.c:229: parse error before `}'
smdb.c:229: warning: data definition has no type or storage class
smdb.c:229: parse error before `}'
smdb.c:229: redefinition of `__result'
smdb.c:229: `__result' previously defined here
smdb.c:229: `__s1' undeclared here (not in a function)
smdb.c:229: initializer element is not constant
smdb.c:229: parse error before `if'
smdb.c:229: conflicting declarations of `__result'
smdb.c:229: `__result' previously defined here
smdb.c:229: warning: data definition has no type or storage class
smdb.c:229: parse error before `}'
smdb.c:245: parse error before `&&'
smdb.c:245: warning: data definition has no type or storage class
smdb.c:245: parse error before `}'
smdb.c:245: redefinition of `__result'
smdb.c:229: `__result' previously defined here
smdb.c:245: `__s2' undeclared here (not in a function)
smdb.c:245: initializer element is not constant
smdb.c:245: parse error before `if'
smdb.c:245: conflicting declarations of `__result'
smdb.c:245: `__result' previously defined here
smdb.c:245: warning: data definition has no type or storage class
smdb.c:245: parse error before `}'
smdb.c:245: warning: data definition has no type or storage class
smdb.c:245: parse error before `}'
smdb.c:245: redefinition of `__result'
smdb.c:245: `__result' previously defined here
smdb.c:245: `__s1' undeclared here (not in a function)
smdb.c:245: initializer element is not constant
smdb.c:245: parse error before `if'
smdb.c:245: conflicting declarations of `__result'
smdb.c:245: `__result' previously defined here
smdb.c:245: warning: data definition has no type or storage class
smdb.c:245: parse error before `}'
smdb.c:386: parse error before `SMDB_DATABASE'
smdb.c:386: conflicting types for `database'
smdb.c:201: previous declaration of `database'
smdb.c:386: warning: data definition has no type or storage class
smdb.c:387: conflicting types for `type'
smdb.c:206: previous declaration of `type'
smdb.c:388: parse error before `{'
smdb.c:391: request for member `smdb_lockfd' in something not a structure or union
smdb.c:391: warning: data definition has no type or storage class
smdb.c:392: parse error before `if'
smdb.c:411: parse error before `SMDB_DATABASE'
smdb.c:411: warning: data definition has no type or storage class
smdb.c:412: parse error before `{'
smdb.c:415: redefinition of `fd'
smdb.c:391: `fd' previously defined here
smdb.c:415: request for member `smdb_lockfd' in something not a structure or union
smdb.c:415: warning: data definition has no type or storage class
smdb.c:416: parse error before `if'
make[2]: *** [smdb.o] Error 1
make[1]: *** [../libsmdb/libsmdb.a] Error 2
In file included from smdb.c:20:
../../include/libsmdb/smdb.h:23: parse error before `NDBM'
../../include/libsmdb/smdb.h:69: parse error before `*'
../../include/libsmdb/smdb.h:86: parse error before `*'
../../include/libsmdb/smdb.h:102: parse error before `*'
../../include/libsmdb/smdb.h:120: parse error before `*'
../../include/libsmdb/smdb.h:142: parse error before `*'
../../include/libsmdb/smdb.h:158: parse error before `*'
../../include/libsmdb/smdb.h:173: parse error before `*'
../../include/libsmdb/smdb.h:189: parse error before `*'
../../include/libsmdb/smdb.h:192: parse error before `*'
../../include/libsmdb/smdb.h:345: parse error before `*'
../../include/libsmdb/smdb.h:345: warning: data definition has no type or storage class
../../include/libsmdb/smdb.h:346: parse error before `*'
../../include/libsmdb/smdb.h:347: parse error before `*'
../../include/libsmdb/smdb.h:371: parse error before `*'
../../include/libsmdb/smdb.h:372: parse error before `*'
smdb.c:33: parse error before `*'
smdb.c: In function `smdb_malloc_database':
smdb.c:36: `SMDB_DATABASE' undeclared (first use in this function)
smdb.c:36: (Each undeclared identifier is reported only once
smdb.c:36: for each function it appears in.)
smdb.c:36: `db' undeclared (first use in this function)
smdb.c:38: parse error before `)'
smdb.c: At top level:
smdb.c:59: parse error before `SMDB_DATABASE'
smdb.c:59: warning: data definition has no type or storage class
smdb.c:60: parse error before `{'
smdb.c:201: parse error before `SMDB_DATABASE'
smdb.c:201: conflicting types for `database'
smdb.c:59: previous declaration of `database'
smdb.c:201: warning: data definition has no type or storage class
smdb.c:209: parse error before `{'
smdb.c:213: parse error before `if'
smdb.c:228: parse error before `&&'
smdb.c:228: warning: data definition has no type or storage class
smdb.c:228: parse error before `}'
smdb.c:228: conflicting declarations of `__result'
smdb.c:228: `__result' previously declared here
smdb.c:228: `__s2' undeclared here (not in a function)
smdb.c:228: initializer element is not constant
smdb.c:228: parse error before `if'
smdb.c:228: conflicting declarations of `__result'
smdb.c:228: `__result' previously defined here
smdb.c:228: warning: data definition has no type or storage class
smdb.c:228: parse error before `}'
smdb.c:228: warning: data definition has no type or storage class
smdb.c:228: parse error before `}'
smdb.c:228: redefinition of `__result'
smdb.c:228: `__result' previously defined here
smdb.c:228: `__s1' undeclared here (not in a function)
smdb.c:228: initializer element is not constant
smdb.c:228: parse error before `if'
smdb.c:228: conflicting declarations of `__result'
smdb.c:228: `__result' previously defined here
smdb.c:228: warning: data definition has no type or storage class
smdb.c:228: parse error before `}'
smdb.c:229: parse error before `&&'
smdb.c:229: warning: data definition has no type or storage class
smdb.c:229: parse error before `}'
smdb.c:229: redefinition of `__result'
smdb.c:228: `__result' previously defined here
smdb.c:229: `__s2' undeclared here (not in a function)
smdb.c:229: initializer element is not constant
smdb.c:229: parse error before `if'
smdb.c:229: conflicting declarations of `__result'
smdb.c:229: `__result' previously defined here
smdb.c:229: warning: data definition has no type or storage class
smdb.c:229: parse error before `}'
smdb.c:229: warning: data definition has no type or storage class
smdb.c:229: parse error before `}'
smdb.c:229: redefinition of `__result'
smdb.c:229: `__result' previously defined here
smdb.c:229: `__s1' undeclared here (not in a function)
smdb.c:229: initializer element is not constant
smdb.c:229: parse error before `if'
smdb.c:229: conflicting declarations of `__result'
smdb.c:229: `__result' previously defined here
smdb.c:229: warning: data definition has no type or storage class
smdb.c:229: parse error before `}'
smdb.c:245: parse error before `&&'
smdb.c:245: warning: data definition has no type or storage class
smdb.c:245: parse error before `}'
smdb.c:245: redefinition of `__result'
smdb.c:229: `__result' previously defined here
smdb.c:245: `__s2' undeclared here (not in a function)
smdb.c:245: initializer element is not constant
smdb.c:245: parse error before `if'
smdb.c:245: conflicting declarations of `__result'
smdb.c:245: `__result' previously defined here
smdb.c:245: warning: data definition has no type or storage class
smdb.c:245: parse error before `}'
smdb.c:245: warning: data definition has no type or storage class
smdb.c:245: parse error before `}'
smdb.c:245: redefinition of `__result'
smdb.c:245: `__result' previously defined here
smdb.c:245: `__s1' undeclared here (not in a function)
smdb.c:245: initializer element is not constant
smdb.c:245: parse error before `if'
smdb.c:245: conflicting declarations of `__result'
smdb.c:245: `__result' previously defined here
smdb.c:245: warning: data definition has no type or storage class
smdb.c:245: parse error before `}'
smdb.c:386: parse error before `SMDB_DATABASE'
smdb.c:386: conflicting types for `database'
smdb.c:201: previous declaration of `database'
smdb.c:386: warning: data definition has no type or storage class
smdb.c:387: conflicting types for `type'
smdb.c:206: previous declaration of `type'
smdb.c:388: parse error before `{'
smdb.c:391: request for member `smdb_lockfd' in something not a structure or union
smdb.c:391: warning: data definition has no type or storage class
smdb.c:392: parse error before `if'
smdb.c:411: parse error before `SMDB_DATABASE'
smdb.c:411: warning: data definition has no type or storage class
smdb.c:412: parse error before `{'
smdb.c:415: redefinition of `fd'
smdb.c:391: `fd' previously defined here
smdb.c:415: request for member `smdb_lockfd' in something not a structure or union
smdb.c:415: warning: data definition has no type or storage class
smdb.c:416: parse error before `if'
make[2]: *** [smdb.o] Error 1
make[1]: *** [../libsmdb/libsmdb.a] Error 2
In file included from smdb.c:20:
../../include/libsmdb/smdb.h:23: parse error before `NDBM'
../../include/libsmdb/smdb.h:69: parse error before `*'
../../include/libsmdb/smdb.h:86: parse error before `*'
../../include/libsmdb/smdb.h:102: parse error before `*'
../../include/libsmdb/smdb.h:120: parse error before `*'
../../include/libsmdb/smdb.h:142: parse error before `*'
../../include/libsmdb/smdb.h:158: parse error before `*'
../../include/libsmdb/smdb.h:173: parse error before `*'
../../include/libsmdb/smdb.h:189: parse error before `*'
../../include/libsmdb/smdb.h:192: parse error before `*'
../../include/libsmdb/smdb.h:345: parse error before `*'
../../include/libsmdb/smdb.h:345: warning: data definition has no type or storage class
../../include/libsmdb/smdb.h:346: parse error before `*'
../../include/libsmdb/smdb.h:347: parse error before `*'
../../include/libsmdb/smdb.h:371: parse error before `*'
../../include/libsmdb/smdb.h:372: parse error before `*'
smdb.c:33: parse error before `*'
smdb.c: In function `smdb_malloc_database':
smdb.c:36: `SMDB_DATABASE' undeclared (first use in this function)
smdb.c:36: (Each undeclared identifier is reported only once
smdb.c:36: for each function it appears in.)
smdb.c:36: `db' undeclared (first use in this function)
smdb.c:38: parse error before `)'
smdb.c: At top level:
smdb.c:59: parse error before `SMDB_DATABASE'
smdb.c:59: warning: data definition has no type or storage class
smdb.c:60: parse error before `{'
smdb.c:201: parse error before `SMDB_DATABASE'
smdb.c:201: conflicting types for `database'
smdb.c:59: previous declaration of `database'
smdb.c:201: warning: data definition has no type or storage class
smdb.c:209: parse error before `{'
smdb.c:213: parse error before `if'
smdb.c:228: parse error before `&&'
smdb.c:228: warning: data definition has no type or storage class
smdb.c:228: parse error before `}'
smdb.c:228: conflicting declarations of `__result'
smdb.c:228: `__result' previously declared here
smdb.c:228: `__s2' undeclared here (not in a function)
smdb.c:228: initializer element is not constant
smdb.c:228: parse error before `if'
smdb.c:228: conflicting declarations of `__result'
smdb.c:228: `__result' previously defined here
smdb.c:228: warning: data definition has no type or storage class
smdb.c:228: parse error before `}'
smdb.c:228: warning: data definition has no type or storage class
smdb.c:228: parse error before `}'
smdb.c:228: redefinition of `__result'
smdb.c:228: `__result' previously defined here
smdb.c:228: `__s1' undeclared here (not in a function)
smdb.c:228: initializer element is not constant
smdb.c:228: parse error before `if'
smdb.c:228: conflicting declarations of `__result'
smdb.c:228: `__result' previously defined here
smdb.c:228: warning: data definition has no type or storage class
smdb.c:228: parse error before `}'
smdb.c:229: parse error before `&&'
smdb.c:229: warning: data definition has no type or storage class
smdb.c:229: parse error before `}'
smdb.c:229: redefinition of `__result'
smdb.c:228: `__result' previously defined here
smdb.c:229: `__s2' undeclared here (not in a function)
smdb.c:229: initializer element is not constant
smdb.c:229: parse error before `if'
smdb.c:229: conflicting declarations of `__result'
smdb.c:229: `__result' previously defined here
smdb.c:229: warning: data definition has no type or storage class
smdb.c:229: parse error before `}'
smdb.c:229: warning: data definition has no type or storage class
smdb.c:229: parse error before `}'
smdb.c:229: redefinition of `__result'
smdb.c:229: `__result' previously defined here
smdb.c:229: `__s1' undeclared here (not in a function)
smdb.c:229: initializer element is not constant
smdb.c:229: parse error before `if'
smdb.c:229: conflicting declarations of `__result'
smdb.c:229: `__result' previously defined here
smdb.c:229: warning: data definition has no type or storage class
smdb.c:229: parse error before `}'
smdb.c:245: parse error before `&&'
smdb.c:245: warning: data definition has no type or storage class
smdb.c:245: parse error before `}'
smdb.c:245: redefinition of `__result'
smdb.c:229: `__result' previously defined here
smdb.c:245: `__s2' undeclared here (not in a function)
smdb.c:245: initializer element is not constant
smdb.c:245: parse error before `if'
smdb.c:245: conflicting declarations of `__result'
smdb.c:245: `__result' previously defined here
smdb.c:245: warning: data definition has no type or storage class
smdb.c:245: parse error before `}'
smdb.c:245: warning: data definition has no type or storage class
smdb.c:245: parse error before `}'
smdb.c:245: redefinition of `__result'
smdb.c:245: `__result' previously defined here
smdb.c:245: `__s1' undeclared here (not in a function)
smdb.c:245: initializer element is not constant
smdb.c:245: parse error before `if'
smdb.c:245: conflicting declarations of `__result'
smdb.c:245: `__result' previously defined here
smdb.c:245: warning: data definition has no type or storage class
smdb.c:245: parse error before `}'
smdb.c:386: parse error before `SMDB_DATABASE'
smdb.c:386: conflicting types for `database'
smdb.c:201: previous declaration of `database'
smdb.c:386: warning: data definition has no type or storage class
smdb.c:387: conflicting types for `type'
smdb.c:206: previous declaration of `type'
smdb.c:388: parse error before `{'
smdb.c:391: request for member `smdb_lockfd' in something not a structure or union
smdb.c:391: warning: data definition has no type or storage class
smdb.c:392: parse error before `if'
smdb.c:411: parse error before `SMDB_DATABASE'
smdb.c:411: warning: data definition has no type or storage class
smdb.c:412: parse error before `{'
smdb.c:415: redefinition of `fd'
smdb.c:391: `fd' previously defined here
smdb.c:415: request for member `smdb_lockfd' in something not a structure or union
smdb.c:415: warning: data definition has no type or storage class
smdb.c:416: parse error before `if'
make[2]: *** [smdb.o] Error 1
make[1]: *** [../libsmdb/libsmdb.a] Error 2
make: *** [all] Error 2

Using gcc:
Reading specs from /usr/lib/gcc-lib/i486-suse-linux/2.95.3/specs
gcc version 2.95.3 20010315 (SuSE)

on:
SuSE Linux 7.2 (i386)

with:
db-3.1.17-56


Help?
_______________________________________________
http://linux.nf -- [EMAIL PROTECTED]
Archives, Subscribe, Unsubscribe, Digest, Etc 
->http://linux.nf/mailman/listinfo/linux-users

Reply via email to