Greetings-

Trying to install latest sqwebmail as standalone server on, redhat 7.3 
vanilla kernel, using sendmail.  I first upgraded my gpg installation to 
1.2.2, which I know is not tested.  But it still fails in the same way.  I 
ran the configure script and configure-check with no complaints.  But it 
fails when I try to compile.  I don't know how to fix this.  I have pasted 
the error which stops my compile and a portion of the file, 
"gpglib/gpg.c".  Any assistance is appreciated.

thx

eric


Compiling gpg.c
gpg.c: In function `dogpgsign':
gpg.c:730: parse error before `j'
gpg.c:733: `j' undeclared (first use in this function)
gpg.c:733: (Each undeclared identifier is reported only once
gpg.c:733: for each function it appears in.)
gpg.c:733: `k' undeclared (first use in this function)
make[2]: *** [gpg.o] Error 1
make[2]: Leaving directory 
`/root/TAR/webmail/sqwebmail-3.5.3.20030606/gpglib'
make[1]: *** [all] Error 2
make[1]: Leaving directory 
`/root/TAR/webmail/sqwebmail-3.5.3.20030606/gpglib'
make: *** [all-recursive] Error 1 

########################################################################
FROM: sqwebmail-3.5.3.20030606/gpglib/gpg.c
}
                                             
                                libmail_gpgmime_write(&gpg, p, i);
                                n += i;
                        
                                for (j=k=0; j<i; j++)
                                        if (p[j] != '\r')
                                                p[k++]=p[j];
                        
                                if (k)
                                        (*output_func)(p, k, 
output_func_arg);
                                        
                                p += i;
                        }
                        continue;
                }
                                        
                libmail_gpgmime_write(&gpg, buf, strlen(buf));

# LINE 730      size_t j, k;
                                        
                p=buf;
                for (j=k=0; p[j]; j++)
                        if (p[j] != '\r')
                                p[k++]=p[j];
                                
                if (k)        
                        (*output_func)(p, k, output_func_arg);
        }


Reply via email to