Discussion:
Error building sendmail on 5.0.7 w/MP4
(too old to reply)
Bob Bailin
2006-05-15 13:44:16 UTC
Permalink
I'm trying to build sendmail 8.11.7 on OSR 5.0.7 with MP4
(and all other patches) installed. With no configuration changes
to the standard tar archive, installed in /usr/local/sendmail-8.11.7,
[...]
/usr/local/sendmail-8.11.7/libsmdb
Configuration: pfx=, os=SCO, rel=5.0.7, rbase=5, rroot=5.0, arch=i386, sfx=, var
iant=optimized
Clearing out existing ../obj.SCO.5.0.7.i386/libsmdb tree
Using M4=/bin/m4
Creating ../obj.SCO.5.0.7.i386/libsmdb using ../devtools/OS/SCO.5.x
Making dependencies in ../obj.SCO.5.0.7.i386/libsmdb
Making in ../obj.SCO.5.0.7.i386/libsmdb
cc -b
elf -O -I. -I../../sendmail -I../../include -DNEWDB -DMAP_REGEX -DNDBM -DNOT_SENDMAIL
-c smdb.c
UX:i386acomp: ERROR: "/usr/include/db.h", line 102: error: syntax error, probably
missing ",", ";" or "="
UX:i386acomp: WARNING: "/usr/include/db.h", line 102: warning: "typedef" valid only for
function declaration
param #1
param #2
db_seq_t
UX:i386acomp: WARNING: "/usr/include/db.h", line 102: warning: declaration missing
specifiers: assuming "int"
db_seq_t
UX:i386acomp: ERROR: "/usr/include/db.h", line 1038: error: cannot recover fromprevious
errors
*** Error code 1 (bu21)
*** Error code 1 (bu21)
/*
* Sequences are only available on machines with 64-bit integral types.
*/
typedef int64_t db_seq_t;
/*
* The storage record for a sequence.
*/
struct __db_seq_record {
u_int32_t seq_version; /* Version size/number. */
#define DB_SEQ_DEC 0x00000001 /* Decrement sequence. */
#define DB_SEQ_INC 0x00000002 /* Increment sequence. */
#define DB_SEQ_RANGE_SET 0x00000004 /* Range set (internal). */
#define DB_SEQ_WRAP 0x00000008 /* Wrap sequence at min/max. */
u_int32_t flags; /* Flags. */
db_seq_t seq_value; /* Current value. */
db_seq_t seq_max; /* Max permitted. */
db_seq_t seq_min; /* Min permitted. */
};
(db.h is part of the Berkeley DB, which was updated to version 4.3.28 in MP4.)
I'm not proficient in C. Is there something wrong with the syntax of line 102?
I'm using the standard SCO 5.0.7 Development System.
Bob
Boyd Lynn Gerber
2006-05-15 14:04:48 UTC
Permalink
I had to update my version of Berkeley DB to the latest with all patches.
I'm trying to build sendmail 8.11.7 on OSR 5.0.7 with MP4
(and all other patches) installed. With no configuration changes
to the standard tar archive, installed in /usr/local/sendmail-8.11.7,
[...]
/usr/local/sendmail-8.11.7/libsmdb
Configuration: pfx=, os=SCO, rel=5.0.7, rbase=5, rroot=5.0, arch=i386, sfx=, var
iant=optimized
Clearing out existing ../obj.SCO.5.0.7.i386/libsmdb tree
Using M4=/bin/m4
Creating ../obj.SCO.5.0.7.i386/libsmdb using ../devtools/OS/SCO.5.x
Making dependencies in ../obj.SCO.5.0.7.i386/libsmdb
Making in ../obj.SCO.5.0.7.i386/libsmdb
cc -b
elf -O -I. -I../../sendmail -I../../include -DNEWDB -DMAP_REGEX -DNDBM -DNOT_SENDMAIL
-c smdb.c
UX:i386acomp: ERROR: "/usr/include/db.h", line 102: error: syntax error, probably
missing ",", ";" or "="
UX:i386acomp: WARNING: "/usr/include/db.h", line 102: warning: "typedef" valid only for
function declaration
param #1
param #2
db_seq_t
UX:i386acomp: WARNING: "/usr/include/db.h", line 102: warning: declaration missing
specifiers: assuming "int"
db_seq_t
UX:i386acomp: ERROR: "/usr/include/db.h", line 1038: error: cannot recover fromprevious
errors
*** Error code 1 (bu21)
*** Error code 1 (bu21)
/*
* Sequences are only available on machines with 64-bit integral types.
*/
typedef int64_t db_seq_t;
/*
* The storage record for a sequence.
*/
struct __db_seq_record {
u_int32_t seq_version; /* Version size/number. */
#define DB_SEQ_DEC 0x00000001 /* Decrement sequence. */
#define DB_SEQ_INC 0x00000002 /* Increment sequence. */
#define DB_SEQ_RANGE_SET 0x00000004 /* Range set (internal). */
#define DB_SEQ_WRAP 0x00000008 /* Wrap sequence at min/max. */
u_int32_t flags; /* Flags. */
db_seq_t seq_value; /* Current value. */
db_seq_t seq_max; /* Max permitted. */
db_seq_t seq_min; /* Min permitted. */
};
(db.h is part of the Berkeley DB, which was updated to version 4.3.28 in MP4.)
I'm not proficient in C. Is there something wrong with the syntax of line 102?
I'm using the standard SCO 5.0.7 Development System.
Bob
- --
Boyd Gerber <***@zenez.com>
ZENEZ 1042 East Fort Union #135, Midvale Utah 84047

Loading...