With Source of Netqmail: ./compile qmail-smtpd.c qmail-smtpd.c:151: variable `spamt' has initializer but incomplete type qmail-smtpd.c:151: `ssin' undeclared here (not in a function) qmail-smtpd.c: In function `setup': qmail-smtpd.c:188: `spfbehavior' undeclared (first use in this function) qmail-smtpd.c:188: (Each undeclared identifier is reported only once qmail-smtpd.c:188: for each function it appears in.) qmail-smtpd.c:193: `spflocal' undeclared (first use in this function) qmail-smtpd.c:195: `spfguess' undeclared (first use in this function) qmail-smtpd.c:197: `spfexp' undeclared (first use in this function) qmail-smtpd.c:197: `SPF_DEFEXP' undeclared (first use in this function) qmail-smtpd.c:213: `smtps' undeclared (first use in this function) qmail-smtpd.c: In function `bmcheck': qmail-smtpd.c:294: `BMCHECK_BMF' undeclared (first use in this function) qmail-smtpd.c:296: `BMCHECK_BMFNR' undeclared (first use in this function) qmail-smtpd.c:298: `BMCHECK_BMT' undeclared (first use in this function) qmail-smtpd.c:300: `BMCHECK_BMTNR' undeclared (first use in this function) qmail-smtpd.c:302: `BMCHECK_BHELO' undeclared (first use in this function) qmail-smtpd.c: In function `smtp_mail': qmail-smtpd.c:369: `flagsize' undeclared (first use in this function) qmail-smtpd.c:372: `flagbarfbmf' undeclared (first use in this function) qmail-smtpd.c:373: `BMCHECK_BMF' undeclared (first use in this function) qmail-smtpd.c:375: `BMCHECK_BMFNR' undeclared (first use in this function) qmail-smtpd.c:377: `CHKUSER_OK' undeclared (first use in this function) qmail-smtpd.c:378: `flagbarfspf' undeclared (first use in this function) qmail-smtpd.c:379: `spfbehavior' undeclared (first use in this function) qmail-smtpd.c:382: `SPF_OK' undeclared (first use in this function) qmail-smtpd.c:383: `SPF_NONE' undeclared (first use in this function) qmail-smtpd.c:384: `SPF_UNKNOWN' undeclared (first use in this function) qmail-smtpd.c:385: `SPF_NEUTRAL' undeclared (first use in this function) qmail-smtpd.c:386: `SPF_SOFTFAIL' undeclared (first use in this function) qmail-smtpd.c:387: `SPF_FAIL' undeclared (first use in this function) qmail-smtpd.c:388: `SPF_ERROR' undeclared (first use in this function) qmail-smtpd.c:382: warning: unreachable code at beginning of switch statement qmail-smtpd.c:391: `SPF_NOMEM' undeclared (first use in this function) qmail-smtpd.c:406: `spfbarfmsg' undeclared (first use in this function) qmail-smtpd.c:392: warning: unreachable code at beginning of switch statement qmail-smtpd.c:417: `rcptcount' undeclared (first use in this function) qmail-smtpd.c: In function `err_spf': qmail-smtpd.c:424: `spfbarfmsg' undeclared (first use in this function) qmail-smtpd.c: In function `smtp_rcpt': qmail-smtpd.c:443: `flagbarfbhelo' undeclared (first use in this function) qmail-smtpd.c:448: `flagbarfbmf' undeclared (first use in this function) qmail-smtpd.c:453: `flagbarfbmt' undeclared (first use in this function) qmail-smtpd.c:453: `BMCHECK_BMT' undeclared (first use in this function) qmail-smtpd.c:455: `BMCHECK_BMTNR' undeclared (first use in this function) qmail-smtpd.c:462: `flagbarfspf' undeclared (first use in this function) qmail-smtpd.c:465: `CHKUSER_KO' undeclared (first use in this function) qmail-smtpd.c:469: `CHKUSER_RELAYING' undeclared (first use in this function) qmail-smtpd.c:466: warning: unreachable code at beginning of switch statement qmail-smtpd.c:478: `rcptcount' undeclared (first use in this function) qmail-smtpd.c: In function `blast': qmail-smtpd.c:510: `ssin' undeclared (first use in this function) qmail-smtpd.c: In function `spfreceived': qmail-smtpd.c:560: `spfbehavior' undeclared (first use in this function) qmail-smtpd.c: In function `smtp_data': qmail-smtpd.c:600: invalid use of undefined type `struct spam_t' qmail-smtpd.c:600: `rcptcount' undeclared (first use in this function) qmail-smtpd.c: In function `authgetl': qmail-smtpd.c:646: `ssin' undeclared (first use in this function) qmail-smtpd.c: In function `main': qmail-smtpd.c:873: `ssin' undeclared (first use in this function) qmail-smtpd.c:863: warning: return type of `main' is not `int' qmail-smtpd.c: At top level: qmail-smtpd.c:151: storage size of `spamt' isn't known *** Error code 1
Stop in /usr/home/rainhasapa/netqmail-1.05/netqmail-1.05 ----- Original Message ----- From: "Bill Shupp" <[EMAIL PROTECTED]> To: <toaster@shupp.org> Sent: Monday, September 26, 2005 3:22 PM Subject: Re: [toaster] qmail+freebsd+toaster > :magola wrote: > > Hello, i try apply the qmail-toaster-0.8.patch.bz2 (or chkuser 2) but i > > have the follow errors: > > > > ./compile qmail-smtpd.c > > qmail-smtpd.c:139: variable `spamt' has initializer but incomplete type > > qmail-smtpd.c:139: `ssin' undeclared here (not in a function) > > qmail-smtpd.c: In function `setup': > > qmail-smtpd.c:176: `spfbehavior' undeclared (first use in this function) > > qmail-smtpd.c:176: (Each undeclared identifier is reported only once > > qmail-smtpd.c:176: for each function it appears in.) > > qmail-smtpd.c:181: `spflocal' undeclared (first use in this function) > > qmail-smtpd.c:183: `spfguess' undeclared (first use in this function) > > qmail-smtpd.c:185: `spfexp' undeclared (first use in this function) > > qmail-smtpd.c:185: `SPF_DEFEXP' undeclared (first use in this function) > > qmail-smtpd.c:201: `smtps' undeclared (first use in this function) > > qmail-smtpd.c: In function `bmcheck': > > qmail-smtpd.c:282: `BMCHECK_BMF' undeclared (first use in this function) > > qmail-smtpd.c:284: `BMCHECK_BMFNR' undeclared (first use in this function) > > qmail-smtpd.c:286: `BMCHECK_BMT' undeclared (first use in this function) > > qmail-smtpd.c:288: `BMCHECK_BMTNR' undeclared (first use in this function) > > qmail-smtpd.c:290: `BMCHECK_BHELO' undeclared (first use in this function) > > qmail-smtpd.c: In function `smtp_mail': > > qmail-smtpd.c:357: `flagsize' undeclared (first use in this function) > > qmail-smtpd.c:360: `flagbarfbmf' undeclared (first use in this function) > > qmail-smtpd.c:361: `BMCHECK_BMF' undeclared (first use in this function) > > qmail-smtpd.c:363: `BMCHECK_BMFNR' undeclared (first use in this function) > > qmail-smtpd.c:365: `CHKUSER_OK' undeclared (first use in this function) > > qmail-smtpd.c:366: `flagbarfspf' undeclared (first use in this function) > > qmail-smtpd.c:367: `spfbehavior' undeclared (first use in this function) > > qmail-smtpd.c:370: `SPF_OK' undeclared (first use in this function) > > qmail-smtpd.c:371: `SPF_NONE' undeclared (first use in this function) > > qmail-smtpd.c:372: `SPF_UNKNOWN' undeclared (first use in this function) > > qmail-smtpd.c:373: `SPF_NEUTRAL' undeclared (first use in this function) > > qmail-smtpd.c:374: `SPF_SOFTFAIL' undeclared (first use in this function) > > qmail-smtpd.c:375: `SPF_FAIL' undeclared (first use in this function) > > qmail-smtpd.c:376: `SPF_ERROR' undeclared (first use in this function) > > qmail-smtpd.c:370: warning: unreachable code at beginning of switch > > statement > > qmail-smtpd.c:379: `SPF_NOMEM' undeclared (first use in this function) > > qmail-smtpd.c:394: `spfbarfmsg' undeclared (first use in this function) > > qmail-smtpd.c:380: warning: unreachable code at beginning of switch > > statement > > qmail-smtpd.c:405: `rcptcount' undeclared (first use in this function) > > qmail-smtpd.c: In function `err_spf': > > qmail-smtpd.c:412: `spfbarfmsg' undeclared (first use in this function) > > qmail-smtpd.c: In function `smtp_rcpt': > > qmail-smtpd.c:431: `flagbarfbhelo' undeclared (first use in this function) > > qmail-smtpd.c:436: `flagbarfbmf' undeclared (first use in this function) > > qmail-smtpd.c:441: `flagbarfbmt' undeclared (first use in this function) > > qmail-smtpd.c:441: `BMCHECK_BMT' undeclared (first use in this function) > > qmail-smtpd.c:443: `BMCHECK_BMTNR' undeclared (first use in this function) > > qmail-smtpd.c:450: `flagbarfspf' undeclared (first use in this function) > > qmail-smtpd.c:453: `CHKUSER_KO' undeclared (first use in this function) > > qmail-smtpd.c:457: `CHKUSER_RELAYING' undeclared (first use in this > > function) > > qmail-smtpd.c:454: warning: unreachable code at beginning of switch > > statement > > qmail-smtpd.c:466: `rcptcount' undeclared (first use in this function) > > qmail-smtpd.c: In function `blast': > > qmail-smtpd.c:498: `ssin' undeclared (first use in this function) > > qmail-smtpd.c: In function `spfreceived': > > qmail-smtpd.c:548: `spfbehavior' undeclared (first use in this function) > > qmail-smtpd.c: In function `smtp_data': > > qmail-smtpd.c:588: invalid use of undefined type `struct spam_t' > > qmail-smtpd.c:588: `rcptcount' undeclared (first use in this function) > > qmail-smtpd.c: In function `authgetl': > > qmail-smtpd.c:634: `ssin' undeclared (first use in this function) > > qmail-smtpd.c: In function `main': > > qmail-smtpd.c:861: `ssin' undeclared (first use in this function) > > qmail-smtpd.c:851: warning: return type of `main' is not `int' > > qmail-smtpd.c: At top level: > > qmail-smtpd.c:139: storage size of `spamt' isn't known > > *** Error code 1 > > > > Stop in /usr/ports/mail/qmail/work/qmail-1.03. > > > > Only happens in qmail-smtpd.c with auth patch > > Without auth patch the compile works fine, but not send messages. > > > > My server: > > freebsd 4.11+vpopmail 4.10 and qmail patches: > > qmail with: > > Checksum OK for qmail/qmail-1.03.tar.gz. > > => Checksum OK for qmail/qmail-103.patch. > > => Checksum OK for qmail/sendmail-flagf.patch. > > => Checksum OK for qmail/patch-qmail-1.03-rfc2821.diff. > > => Checksum OK for qmail/qmail-maildir++.patch. > > => Checksum OK for qmail/qmail-block-executables.patch. > > => Checksum OK for qmail/qmail-discard-double-bounces.patch. > > => Checksum OK for qmail/qmail-spf-rc5.patch. > > => Checksum OK for qmail/qmailqueue-patch. > > => Checksum OK for qmail/big-todo.103.patch. > > => Checksum OK for qmail/big-concurrency.patch. > > => Checksum OK for qmail/outgoingip.patch. > > => Checksum OK for qmail/qmail-date-localtime.patch. > > and qmail-smtpd-auth-043. > > This toaster doesn't work with the qmail port. Use the source install > as described with the toaster. > > Bill