Error building sendmail on 5.0.7 w/MP4 - SCO

This is a discussion on Error building sendmail on 5.0.7 w/MP4 - SCO ; No answers from c.u.s.m, so I thought I'd try here: "Bob Bailin" wrote in message news:... > 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 ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: Error building sendmail on 5.0.7 w/MP4

  1. Error building sendmail on 5.0.7 w/MP4

    No answers from c.u.s.m, so I thought I'd try here:

    "Bob Bailin" <72027.3605@compuserve.com> wrote in message news:...
    > 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,
    > I get the following error: with ./Build -c :
    >
    > [...]
    > Making all in:
    > /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
    > UX:i386acomp: ERROR: "/usr/include/db.h", line 102: error: formal parameter lacks name:
    > param #1
    > UX:i386acomp: ERROR: "/usr/include/db.h", line 102: error: formal parameter lacks name:
    > param #2
    > UX:i386acomp: ERROR: "/usr/include/db.h", line 102: error: Syntax error before or at:
    > db_seq_t
    > UX:i386acomp: WARNING: "/usr/include/db.h", line 102: warning: declaration missing
    > specifiers: assuming "int"
    > UX:i386acomp: ERROR: "/usr/include/db.h", line 1038: error: Syntax error before or at:
    > 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)
    >
    >
    > /usr/include/db.h lines 99-102:
    >
    > /*
    > * Sequences are only available on machines with 64-bit integral types.
    > */
    > typedef int64_t db_seq_t;
    >
    > and lines 1028-1041:
    >
    > /*
    > * 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
    >




  2. Re: Error building sendmail on 5.0.7 w/MP4

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    > No answers from c.u.s.m, so I thought I'd try here:


    I had to update my version of Berkeley DB to the latest with all patches.

    > "Bob Bailin" <72027.3605@compuserve.com> wrote in message news:...
    > > 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,
    > > I get the following error: with ./Build -c :
    > >
    > > [...]
    > > Making all in:
    > > /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
    > > UX:i386acomp: ERROR: "/usr/include/db.h", line 102: error: formal parameter lacks name:
    > > param #1
    > > UX:i386acomp: ERROR: "/usr/include/db.h", line 102: error: formal parameter lacks name:
    > > param #2
    > > UX:i386acomp: ERROR: "/usr/include/db.h", line 102: error: Syntax error before or at:
    > > db_seq_t
    > > UX:i386acomp: WARNING: "/usr/include/db.h", line 102: warning: declaration missing
    > > specifiers: assuming "int"
    > > UX:i386acomp: ERROR: "/usr/include/db.h", line 1038: error: Syntax error before or at:
    > > 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)
    > >
    > >
    > > /usr/include/db.h lines 99-102:
    > >
    > > /*
    > > * Sequences are only available on machines with 64-bit integral types.
    > > */
    > > typedef int64_t db_seq_t;
    > >
    > > and lines 1028-1041:
    > >
    > > /*
    > > * 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 1042 East Fort Union #135, Midvale Utah 84047
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.2 (GNU/Linux)
    Comment: For info see http://quantumlab.net/pine_privacy_guard/

    iD8DBQFEaIqFVtBjDid73eYRAtRTAJ9OOfKAxGPVrrWvxHaiUR 6Ds+ISzwCeKml9
    OyPesBo5o62dR+5KzMfaSMg=
    =9dUa
    -----END PGP SIGNATURE-----

+ Reply to Thread