> On Sep 13, 2015, at 4:57 PM, Heitor Faria <hei...@bacula.com.br> wrote:
> ----- Original Message ----- >> From: "Dan Langille" <d...@langille.org> >> To: "bacula-devel" <bacula-de...@lists.sourceforge.net> >> Cc: "bacula-users" <bacula-users@lists.sourceforge.net> >> Sent: Sunday, September 13, 2015 4:09:52 PM >> Subject: [Bacula-devel] FreeBSD 10.2 & Bacula 7.2 compile errors > >> I tried running regression testing today for Bacula 7.2 on FreeBSD 10.2 and I >> encountered some errors: >> >> Bacula 7.2 compile errors via regression testing on FreeBSD 10.2, not sure if >> this is my configuration or what. >> >> >> ==>Entering directory >> /usr/home/dan/src/Bacula7RegressionTesting-TRUNK/regress/build/src/filed >> Compiling filed.c >> c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is >> deprecated >> Compiling authenticate.c >> c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is >> deprecated >> Compiling acl.c >> c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is >> deprecated >> acl.c:991:4: error: use of undeclared identifier >> 'STREAM_ACL_FREEBSD_ACCESS_ACL' >> STREAM_ACL_FREEBSD_ACCESS_ACL, >> ^ >> acl.c:992:4: error: use of undeclared identifier >> 'STREAM_ACL_FREEBSD_NFS4_ACL' >> STREAM_ACL_FREEBSD_NFS4_ACL >> ^ >> acl.c:995:4: error: use of undeclared identifier >> 'STREAM_ACL_FREEBSD_DEFAULT_ACL' >> STREAM_ACL_FREEBSD_DEFAULT_ACL >> ^ >> acl.c:1068:35: error: use of undeclared identifier >> 'STREAM_ACL_FREEBSD_NFS4_ACL' >> if (send_acl_stream(jcr, STREAM_ACL_FREEBSD_NFS4_ACL) == >> bacl_rtn_fatal) >> ^ >> acl.c:1080:35: error: use of undeclared identifier >> 'STREAM_ACL_FREEBSD_ACCESS_ACL' >> if (send_acl_stream(jcr, STREAM_ACL_FREEBSD_ACCESS_ACL) == >> bacl_rtn_fatal) >> ^ >> acl.c:1091:38: error: use of undeclared identifier >> 'STREAM_ACL_FREEBSD_DEFAULT_ACL' >> if (send_acl_stream(jcr, STREAM_ACL_FREEBSD_DEFAULT_ACL) == >> bacl_rtn_fatal) >> ^ >> acl.c:1116:9: error: use of undeclared identifier >> 'STREAM_ACL_FREEBSD_ACCESS_ACL' >> case STREAM_ACL_FREEBSD_ACCESS_ACL: >> ^ >> acl.c:1118:9: error: use of undeclared identifier >> 'STREAM_ACL_FREEBSD_DEFAULT_ACL' >> case STREAM_ACL_FREEBSD_DEFAULT_ACL: >> ^ >> acl.c:1122:9: error: use of undeclared identifier >> 'STREAM_ACL_FREEBSD_NFS4_ACL' >> case STREAM_ACL_FREEBSD_NFS4_ACL: >> ^ >> acl.c:1162:9: error: use of undeclared identifier >> 'STREAM_ACL_FREEBSD_ACCESS_ACL' >> case STREAM_ACL_FREEBSD_ACCESS_ACL: >> ^ >> acl.c:1165:9: error: use of undeclared identifier >> 'STREAM_ACL_FREEBSD_DEFAULT_ACL' >> case STREAM_ACL_FREEBSD_DEFAULT_ACL: >> ^ >> acl.c:1167:9: error: use of undeclared identifier >> 'STREAM_ACL_FREEBSD_NFS4_ACL' >> case STREAM_ACL_FREEBSD_NFS4_ACL: >> ^ >> 12 errors generated. >> *** Error code 1 >> >> Stop. >> make[2]: stopped in >> /usr/home/dan/src/Bacula7RegressionTesting-TRUNK/regress/build/src/filed >> >> >> ====== Error in >> /usr/home/dan/src/Bacula7RegressionTesting-TRUNK/regress/build/src/filed >> ====== >> >> >> *** Error code 1 >> >> Stop. >> make[1]: stopped in >> /usr/home/dan/src/Bacula7RegressionTesting-TRUNK/regress/build >> Bad exit code giving up >> *** Error code 1 >> >> Stop. >> >> >> >> FYI: >> >> Configuration on Sun Sep 13 18:22:21 UTC 2015: >> >> Host: x86_64-unknown-freebsd10.2 -- freebsd 10.2-RELEASE >> Bacula version: Bacula 7.2.0 (14 August 2015) >> Source code location: . >> Install binaries: >> /usr/home/dan/src/Bacula7RegressionTesting-TRUNK/regress/bin >> Install libraries: >> /usr/home/dan/src/Bacula7RegressionTesting-TRUNK/regress/bin >> Install config files: >> /usr/home/dan/src/Bacula7RegressionTesting-TRUNK/regress/bin >> Scripts directory: >> /usr/home/dan/src/Bacula7RegressionTesting-TRUNK/regress/bin >> Archive directory: >> /usr/home/dan/src/Bacula7RegressionTesting-TRUNK/regress/tmp >> Working directory: >> /usr/home/dan/src/Bacula7RegressionTesting-TRUNK/regress/working >> PID directory: >> /usr/home/dan/src/Bacula7RegressionTesting-TRUNK/regress/working >> Subsys directory: >> /usr/home/dan/src/Bacula7RegressionTesting-TRUNK/regress/working >> Man directory: >> /usr/home/dan/src/Bacula7RegressionTesting-TRUNK/regress/bin >> Data directory: /usr/share >> Plugin directory: >> /usr/home/dan/src/Bacula7RegressionTesting-TRUNK/regress/bin/plugins >> C Compiler: cc version >> C++ Compiler: /usr/bin/c++ version >> Compiler flags: -g -O2 -Wall >> Linker flags: >> Libraries: -lpthread >> Statically Linked Tools: no >> Statically Linked FD: no >> Statically Linked SD: no >> Statically Linked DIR: no >> Statically Linked CONS: no >> Database backends: PostgreSQL >> Database port: >> Database name: regress >> Database user: regress >> >> Job Output Email: dan.langille+p...@gmail.com >> Traceback Email: dan.langille+p...@gmail.com >> SMTP Host Address: localhost >> >> Director Port: 8101 >> File daemon Port: 8102 >> Storage daemon Port: 8103 >> >> Director User: >> Director Group: >> Storage Daemon User: >> Storage DaemonGroup: >> File Daemon User: >> File Daemon Group: >> >> Large file support: yes >> Bacula conio support: yes -ltinfo >> readline support: no >> TCP Wrappers support: yes -lwrap >> TLS support: yes >> Encryption support: yes >> ZLIB support: yes >> LZO support: no >> enable-smartalloc: yes >> enable-lockmgr: yes >> bat support: no >> client-only: no >> build-dird: yes >> build-stored: yes >> Plugin support: yes >> AFS support: no >> ACL support: yes >> XATTR support: yes >> systemd support: no >> Batch insert enabled: PostgreSQL > > Hello Dan, > > Did you try to specify the language (-x) for acl.c just for test purposes? > This solution is described here => > http://stackoverflow.com/questions/19644816/linking-c-from-c-in-os-x-mavericks I only just got back to this today, and I saw Kern's post about Eric's work. I am happy to report: no more compile errors. re: http://www.bacula.org/git/cgit.cgi/bacula/commit/?id=26db75ea69d9f097c5de207d180fd58909c4fbec However, regression tests are not starting. That will be another post. — Dan Langille http://langille.org/ ------------------------------------------------------------------------------ _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users