Bacula-users

[Bacula-users] Minimum version of GCC needed to compile Bacula (5.0.3)?

2010-09-06 17:51:16
Subject: [Bacula-users] Minimum version of GCC needed to compile Bacula (5.0.3)?
From: Sean Clark <smclark AT tamu DOT edu>
To: bacula-users AT lists.sourceforge DOT net
Date: Mon, 06 Sep 2010 16:46:22 -0500
  I'm not finding it in the documentation so far...

I'm attempting to build a storage daemon on a Western Digital "MyBook 
World Edition(tm)" NAS, using the
most recent gcc available from ipkg, which unfortunately is all the way 
back to 3.4.6.  I'm getting some errors
as it tries to compile the bacula libraries, which I assume is why 
subsequent building of file and storage daemons fails.

Is 3.4.6 just too old, am I just doing something wrong, or is this some 
kind of bug?

Excerpt from the compile-time output below:
----------------------------------------------------------------------------------------------------------------
==>Entering directory /shares/internal/temp/bacula-5.0.3/src/lib
make[1]: Entering directory `/shares/internal/temp/bacula-5.0.3/src/lib'
Compiling attr.c
Compiling base64.c
Compiling berrno.c
Compiling bsys.c
Compiling bget_msg.c
Compiling bnet.c
Compiling bnet_server.c
Compiling runscript.c
Compiling bsock.c
bsock.c: In member function `bool BSOCK::despool(void (*)(ssize_t), 
ssize_t)':
bsock.c:591: error: `posix_fadvise' was not declared in this scope
make[1]: *** [bsock.o] Error 1
make[1]: Leaving directory `/shares/internal/temp/bacula-5.0.3/src/lib'


   ====== Error in /shares/internal/temp/bacula-5.0.3/src/lib ======


==>Entering directory /shares/internal/temp/bacula-5.0.3/src/findlib
make[1]: Entering directory `/shares/internal/temp/bacula-5.0.3/src/findlib'
Compiling find.c
Compiling match.c
Compiling find_one.c
Compiling attribs.c
Compiling create_file.c
Compiling bfile.c
bfile.c: In function `int bopen(BFILE*, const char*, int, mode_t)':
bfile.c:939: error: `posix_fadvise' was not declared in this scope
bfile.c: In function `int bclose(BFILE*)':
bfile.c:987: error: `posix_fadvise' was not declared in this scope
make[1]: *** [bfile.o] Error 1
make[1]: Leaving directory `/shares/internal/temp/bacula-5.0.3/src/findlib'


   ====== Error in /shares/internal/temp/bacula-5.0.3/src/findlib ======


==>Entering directory /shares/internal/temp/bacula-5.0.3/src/filed
make[1]: Entering directory `/shares/internal/temp/bacula-5.0.3/src/filed'
Compiling filed.c
Compiling authenticate.c
Compiling acl.c
Compiling backup.c
Compiling estimate.c
Compiling fd_plugins.c
Compiling accurate.c
Compiling filed_conf.c
Compiling heartbeat.c
Compiling job.c
Compiling pythonfd.c
Compiling restore.c
Compiling status.c
Compiling verify.c
Compiling verify_vol.c
Compiling xattr.c
make[1]: *** No rule to make target `../findlib/libbacfind.a', needed by 
`bacula-fd'.  Stop.
make[1]: Leaving directory `/shares/internal/temp/bacula-5.0.3/src/filed'

------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>