Background:  Synology NAS servers use optware package manager called ipkg, and 
only certain versions of programs are available as precompiled libraries. The 
only version of bacula that they have to offer is the 3.0.3, which is 
precompiled for use with SQlite, which I understand is NOT recommended for use 
with Bacula-5.0.3. I prefer and am more familar with MySQL, so I decided to 
build it from source. This is a 64 bit processor (dual core Intel Atom D510).

In order to get bacula-5.0.3 to compile correctly on my Synology DS411+ NAS 
server, I had to #undef HAVE_CHFLAGS in both attribs.c and in create_file.c, 
both in the bacula-5.0.3/src/findlib directory.

It was being defined, yet nowhere in any of my sources, including all my 
standard .h files, was that a member of the structure "struct stat" that 
contained a member named st_flags.

This was causing compilation of findlib to fail, and subsequently filed, dired, 
stored and tools also failed to compile. Most were related to the fact the 
libbacfind.la was not being built.

Since I'm unfamiliar  the codebase, could someone tell me what effect changing 
HAVE_CHFLAGS to undefined might have on operation of bacula and associated 
programs.

I'm hoping that it's an innocuous change, but I'd like to be reassured before 
deploying.

TIA for all replies,

-- Steve Downie
s...@comcast.net

------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
Bacula-devel mailing list
Bacula-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to