Tried to patch up a clean src of qmail-1.03. I get the same error as I get with the already patched up src.
Hope this is right.
Yes. How did you define CHKUSER_STARTING_VARIABLE within chkuser_settings.h?
Tonino
Thanks,
/Aleksander
-
static void first_time_init (void) {
char * temp_string;
#if !defined CHKUSER_ALWAYS_ON && defined CHKUSER_STARTING_VARIABLE
starting_string = env_get (CHKUSER_STARTING_VARIABLE);
if (starting_string) {
if (strcasecmp(starting_string, "ALWAYS") == 0) {
starting_value = 1;
} else if (strcasecmp(starting_string, "DOMAIN") == 0) {
starting_value = 0;
}
} else {
starting_string = "";
}
#endif
-
./load qmail-qmtpd rcpthosts.o control.o constmap.o \
received.o date822fmt.o now.o qmail.o cdb.a fd.a wait.a \
datetime.a open.a getln.a sig.a case.a env.a stralloc.a \
alloc.a substdio.a error.a str.a fs.a auto_qmail.o
./compile qmail-smtpd.c
qmail-smtpd.c: In function `main':
qmail-smtpd.c:1021: warning: return type of `main' is not `int'
./compile spf.c
./compile base64.c
./compile chkuser.c
chkuser.c: In function `first_time_init':
chkuser.c:425: error: syntax error before '/' token
make: *** [chkuser.o] Error 1
On 9/20/05, tonix (Antonio Nati) <[EMAIL PROTECTED]> wrote:
- At 11.26 20/09/2005, you wrote:
- Hi,
- Trying to patch up an already auth+tls+spf patched qmail-smtpd and seems i hit a rock and
- hoping for some guidance.
- I followed the manual patch guide at http://www.interazioni.it/opensource/chkuser/documentation/installation/manual.html and think I somewhat
- fit all the pices in the right places. When i now try to compile it I get this:
- make
- ./compile chkuser.c
- chkuser.c: In function `first_time_init':
- chkuser.c:425: error: syntax error before '/' token
- make: *** [chkuser.o] Error 1
- I have not changed anything directly within the .c file
- Can you pls post ten lines of code surrounding the error?
- Tonino
- Anyone got a clue?
- Thanks!
- /Aleksander