[cvsacl-users] RE: cvs-1.11.17-cvsacl-1.2.0-patched compile error
Brought to you by:
sbaris
From: Mortensen, M. <mar...@th...> - 2004-06-22 19:46:52
|
Alex, I pulled down the patch and applied it to find the same issue. We are building on Solaris. We are also finding out that the patch doesn't seem to work. But that is for another post. Mark I ran into a compile error on the acl.c source file: Making all in src make[2]: Entering directory `/usr/src/cvs-1.11.17-cvsacl-1.2.0-patched/src" if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../diff -I../zlib -I/usr/kerberos /include -g -O2 -MT acl.o -MD -MP -MF ".deps/acl.Tpo" \ -c -o acl.o `test -f "acl.c" || echo "./"`acl.c; \ then mv -f ".deps/acl.Tpo" ".deps/acl.Po"; \ else rm -f ".deps/acl.Tpo"; exit 1; \ fi acl.c: In function `access_allowed": acl.c:269: parse error before `int" acl.c:277: `x" undeclared (first use in this function) acl.c:277: (Each undeclared identifier is reported only once acl.c:277: for each function it appears in.) make[2]: *** [acl.o] Error 1 make[2]: Leaving directory `/usr/src/cvs-1.11.17-cvsacl-1.2.0-patched/src" make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/cvs-1.11.17-cvsacl-1.2.0-patched" make: *** [all] Error 2 To solve the problem I simply moved the declaration of int x; on line 269 of acl.c to the beginning of the access_allowed function. Did anyone else run into this problem? Alex ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ |