Hello,
I hope the attached patch will solve your problem. The instructions for
applying it are at the top of the file.
Best regards,
Kern
On Thursday 07 May 2009 12:38:34 Thomas wrote:
> ok, it's a very old solaris,
> but maybe somebody can fix this
>
>
> uname -a
> SunOS 5.9 Generic_112233-08 sun4u sparc SUNW,UltraSPARC-IIi-cEngine
>
> gcc --version
> gcc (GCC) 3.4.1 (OpenPKG-2.1)
>
>
>
> ./configure --enable-client-only
> make
>
>
> ==>Entering directory /root/bacula-3.0.1/src/filed
> Compiling filed.c
> Compiling authenticate.c
> Compiling acl.c
> acl.c:1145: error: expected unqualified-id before '{' token
> acl.c:1145: error: expected `,' or `;' before '{' token
> acl.c:98: warning: 'bool send_acl_stream(JCR*, int)' defined but not used
> acl.c:1124: warning: 'bool acl_is_trivial(int, aclent_t*)' defined but not
> used acl.c:1144: warning: 'bool solaris_build_acl_streams(JCR*, FF_PKT*)'
> declared `static' but never defined *** Error code 1
> make: Fatal error: Command failed for target `acl.o'
> Current working directory /root/bacula-3.0.1/src/filed
>
>
> ====== Error in /root/bacula-3.0.1/src/filed ======
>
>
> configure output can be found at http://fpaste.org/paste/11235
> and make output http://fpaste.org/paste/11234
This patch can be applied to version 3.0.1 and fixes a
syntax error that causes builds on older Solarises to fail.
Apply it to version 3.0.1 with:
cd <bacula-source>
patch -p0 <3.0.1-solaris-acl.patch
./configure <your-options>
make
...
make install
Index: src/filed/acl.c
===================================================================
--- src/filed/acl.c (revision 8810)
+++ src/filed/acl.c (working copy)
@@ -1141,7 +1141,7 @@
/*
* OS specific functions for handling different types of acl streams.
*/
-static bool solaris_build_acl_streams(JCR *jcr, FF_PKT *ff_pkt);
+static bool solaris_build_acl_streams(JCR *jcr, FF_PKT *ff_pkt)
{
int n;
aclent_t *acls;
------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Bacula-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-devel