Trying to build on Solaris 10 x64, using GCC 5.2.0.
As expected:
Compiling bsys.c
bsys.c: In function 'int baccept(int, sockaddr*, socklen_t*)':
bsys.c:1219:7: error: expected ',' or ';' before 'if'
if (fcntl(fd, F_SETFD, fcntl(fd, F_GETFD) | FD_CLOEXEC) < 0) {
^
Fix, and continue:
Linking bacula-sd ...
.../BETA/bacula-7.9.2/libtool --silent --tag=CXX --mode=link
/opt/csw/bin/g++ -Lpath_to_mysql/lib/mysql -Rpath_to_mysql/lib/mysql
-L/opt/csw/lib -R/opt/csw/lib -L. -L../lib -o bacula-sd stored.o
append.o authenticate.o dircmd.o fd_cmds.o job.o hello.o status.o
vbackup.o stored_conf.o global.o -lz \
-lbacsd -lbaccfg -lbac -lm -lpthread -lresolv -lnsl
-lsocket -lxnet -lintl -lresolv -lrt \
/opt/csw/lib/libintl.so -R/opt/csw/lib -lssl -lcrypto
ld: warning: file /opt/csw/lib/libintl.so: attempted multiple
inclusion of file
ld: warning: file /opt/csw/lib/libstdc++.so: attempted multiple
inclusion of file
Undefined first referenced
symbol in file
bcrc32_bad(unsigned char*, int)
/home/garys/src/bacula/BETA/bacula-7.9.2/src/stored/.libs/libbacsd.so
ld: fatal: Symbol referencing errors. No output written to
.libs/bacula-sd
Interesting, bcrc32_bad is in ./src/lib/protos.h, but not defined
anywhere.
Cheers,
Gary B-)
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|