[tac_plus] Problems compiling tac_plus F5.0.0a1
Michael.Walters at sungard.com
Michael.Walters at sungard.com
Fri Sep 30 00:27:23 UTC 2011
Got it to compile. Thanks.
NOTES:
* the "#endif" must go after the second "return(0);" in maxsessint.c (not the first, which is implied in the email)
* I also had to check for the MAXESS declaration in the parse.c file:
#ifdef MAXSESS
declare("maxsess", S_maxsess);
#endif
-michael
-----Original Message-----
From: john heasley [mailto:heas at shrubbery.net]
Sent: Thursday, September 29, 2011 7:26 PM
To: Walters, Michael; heas at shrubbery.net
Cc: tac_plus at shrubbery.net
Subject: Re: [tac_plus] Problems compiling tac_plus F5.0.0a1
Thu, Sep 29, 2011 at 10:15:14PM +0000, Michael.Walters at sungard.com:
> Hello,
>
> I think this problem has been reported before, but I'm wondering if there's a resolution?
>
Index: maxsessint.c
===================================================================
--- maxsessint.c (revision 3424)
+++ maxsessint.c (revision 3426)
@@ -48,6 +48,7 @@
/*
* See if this user can have more sessions.
*/
+#ifdef MAXSESS
int
maxsess_check_count(char *user, struct author_data *data)
{
@@ -107,3 +108,4 @@
}
return(0);
}
+#endif
More information about the tac_plus
mailing list