problems compiling sendmail

Ralf Vitasek ralfv at ralfv.de
Sun Jun 3 14:15:10 PDT 2001


----- Original Message -----
From: "Simon Perreault" <nomis80 at videotron.ca>
To: <lfs-apps at linuxfromscratch.org>
Sent: Sunday, June 03, 2001 11:06 PM
Subject: Re: problems compiling sendmail


> On Sunday 03 June 2001 17:04, Ralf Vitasek wrote:
> > all README's and DOC`s from sendmail don`t really give hints about such
a
> > problem (or at least nothing i could understand) :-(
>
> Well, it couldn't hurt posting the exact error message. Rumor says that
some
> people around here understand these things... ;)
>

ok ;-) here it comes (actually it`s only the part which comes from makemap,
but have a look)

Configuration: pfx=, os=Linux, rel=2.2.16, rbase=2, rroot=2.2, arch=i686,
sfx=, variant=optimized
Making in ../obj.Linux.2.2.16.i686/makemap
(cd ../../libsmdb; sh Build )
Configuration: pfx=, os=Linux, rel=2.2.16, rbase=2, rroot=2.2, arch=i686,
sfx=, variant=optimized
Making in ../obj.Linux.2.2.16.i686/libsmdb
make[1]: Entering directory
`/usr/src/scratch/sendmail-8.11.4/obj.Linux.2.2.16.i686/libsmdb'
cc -O -I. -I../../sendmail   -I../../include  -DNEWDB  -DNOT_SENDMAIL      -
c -o smdb1.o smdb1.c
smdb1.c:27: parse error before `DB'
smdb1.c:27: warning: no semicolon at end of struct or union
smdb1.c:30: parse error before `}'
smdb1.c:52: parse error before `smdb_type_to_db1_type'
smdb1.c: In function `smdb_type_to_db1_type':
smdb1.c:56: `DB_HASH' undeclared (first use in this function)
smdb1.c:56: (Each undeclared identifier is reported only once
smdb1.c:56: for each function it appears in.)
smdb1.c:62: `DB_BTREE' undeclared (first use in this function)
smdb1.c: In function `smdb_put_flags_to_db1_flags':
smdb1.c:92: `R_NOOVERWRITE' undeclared (first use in this function)
smdb1.c: In function `smdb_cursor_get_flags_to_smdb1':
smdb1.c:118: `R_FIRST' undeclared (first use in this function)
smdb1.c:121: `R_LAST' undeclared (first use in this function)
smdb1.c:124: `R_NEXT' undeclared (first use in this function)
smdb1.c:127: `R_CURSOR' undeclared (first use in this function)
smdb1.c: In function `smdb1_malloc_database':
smdb1.c:139: sizeof applied to an incomplete type
smdb1.c:143: dereferencing pointer to incomplete type
smdb1.c:144: dereferencing pointer to incomplete type
smdb1.c: In function `smdb1_close':
smdb1.c:160: `DB' undeclared (first use in this function)
smdb1.c:160: `db' undeclared (first use in this function)
smdb1.c:160: dereferencing pointer to incomplete type
smdb1.c:162: dereferencing pointer to incomplete type
smdb1.c:163: dereferencing pointer to incomplete type
smdb1.c: In function `smdb1_del':
smdb1.c:177: `DB' undeclared (first use in this function)
smdb1.c:177: `db' undeclared (first use in this function)
smdb1.c:177: dereferencing pointer to incomplete type
smdb1.c:178: `DBT' undeclared (first use in this function)
smdb1.c:178: parse error before `dbkey'
smdb1.c:180: `dbkey' undeclared (first use in this function)
smdb1.c: In function `smdb1_fd':
smdb1.c:191: `DB' undeclared (first use in this function)
smdb1.c:191: `db' undeclared (first use in this function)
smdb1.c:191: dereferencing pointer to incomplete type
smdb1.c: In function `smdb1_lockfd':
smdb1.c:206: dereferencing pointer to incomplete type
smdb1.c: In function `smdb1_get':
smdb1.c:218: `DB' undeclared (first use in this function)
smdb1.c:218: `db' undeclared (first use in this function)
smdb1.c:218: dereferencing pointer to incomplete type
smdb1.c:219: `DBT' undeclared (first use in this function)
smdb1.c:219: parse error before `dbkey'
smdb1.c:221: `dbdata' undeclared (first use in this function)
smdb1.c:222: `dbkey' undeclared (first use in this function)
smdb1.c: In function `smdb1_put':
smdb1.c:245: `DB' undeclared (first use in this function)
smdb1.c:245: `db' undeclared (first use in this function)
smdb1.c:245: dereferencing pointer to incomplete type
smdb1.c:246: `DBT' undeclared (first use in this function)
smdb1.c:246: parse error before `dbkey'
smdb1.c:248: `dbdata' undeclared (first use in this function)
smdb1.c:249: `dbkey' undeclared (first use in this function)
smdb1.c: In function `smdb1_set_owner':
smdb1.c:268: `DB' undeclared (first use in this function)
smdb1.c:268: `db' undeclared (first use in this function)
smdb1.c:268: dereferencing pointer to incomplete type
smdb1.c: In function `smdb1_sync':
smdb1.c:287: `DB' undeclared (first use in this function)
smdb1.c:287: `db' undeclared (first use in this function)
smdb1.c:287: dereferencing pointer to incomplete type
smdb1.c: In function `smdb1_cursor_close':
smdb1.c:299: dereferencing pointer to incomplete type
smdb1.c:302: dereferencing pointer to incomplete type
smdb1.c: In function `smdb1_cursor_del':
smdb1.c:315: `DB' undeclared (first use in this function)
smdb1.c:315: `db' undeclared (first use in this function)
smdb1.c:315: dereferencing pointer to incomplete type
smdb1.c:317: `R_CURSOR' undeclared (first use in this function)
smdb1.c: In function `smdb1_cursor_get':
smdb1.c:331: `DB' undeclared (first use in this function)
smdb1.c:331: `db' undeclared (first use in this function)
smdb1.c:331: dereferencing pointer to incomplete type
smdb1.c:332: `DBT' undeclared (first use in this function)
smdb1.c:332: parse error before `dbkey'
smdb1.c:334: `dbdata' undeclared (first use in this function)
smdb1.c:335: `dbkey' undeclared (first use in this function)
smdb1.c: In function `smdb1_cursor_put':
smdb1.c:359: `DB' undeclared (first use in this function)
smdb1.c:359: `db' undeclared (first use in this function)
smdb1.c:359: dereferencing pointer to incomplete type
smdb1.c:360: `DBT' undeclared (first use in this function)
smdb1.c:360: parse error before `dbkey'
smdb1.c:362: `dbdata' undeclared (first use in this function)
smdb1.c:363: `dbkey' undeclared (first use in this function)
smdb1.c:369: `R_CURSOR' undeclared (first use in this function)
smdb1.c: In function `smdb1_cursor':
smdb1.c:382: dereferencing pointer to incomplete type
smdb1.c:385: dereferencing pointer to incomplete type
smdb1.c: In function `smdb_db_open':
smdb1.c:447: `DB' undeclared (first use in this function)
smdb1.c:447: `db' undeclared (first use in this function)
smdb1.c:448: `HASHINFO' undeclared (first use in this function)
smdb1.c:448: parse error before `hash_info'
smdb1.c:449: `BTREEINFO' undeclared (first use in this function)
smdb1.c:450: `DBTYPE' undeclared (first use in this function)
smdb1.c:459: `db_file_name' undeclared (first use in this function)
smdb1.c:465: `stat_info' undeclared (first use in this function)
smdb1.c:485: dereferencing pointer to incomplete type
smdb1.c:491: `hash_info' undeclared (first use in this function)
smdb1.c:500: `btree_info' undeclared (first use in this function)
smdb1.c:503: `R_DUP' undeclared (first use in this function)
smdb1.c:507: `db_type' undeclared (first use in this function)
smdb1.c:526: dereferencing pointer to incomplete type
smdb1.c:547: dereferencing pointer to incomplete type
make[1]: *** [smdb1.o] Error 1
make[1]: Leaving directory
`/usr/src/scratch/sendmail-8.11.4/obj.Linux.2.2.16.i686/libsmdb'
make: *** [../libsmdb/libsmdb.a] Error 2

-- 
Unsubscribe: send email to lfs-apps-request at linuxfromscratch.org
and put unsubscribe in the subject header of the message




More information about the blfs-support mailing list