Hide Forgot
multiple link failures in solaris build issue 0: ---------------- ../../contrib/apple/daemon.c:42:19: error: paths.h: No such file or directory ../../contrib/apple/daemon.c: In function 'os_daemon_return': ../../contrib/apple/daemon.c:80: error: '_PATH_DEVNULL' undeclared (first use in this function) ../../contrib/apple/daemon.c:80: error: (Each undeclared identifier is reported only once ../../contrib/apple/daemon.c:80: error: for each function it appears in.) make: Fatal error: Command failed for target `daemon.o' ---------------- issue 1: ---------------- ld: warning: file /glusterfs-3git/rpc/rpc-lib/src/.libs/libgfrpc.so: linked to ../../rpc/rpc-lib/src/.libs/libgfrpc.so: attempted multiple inclusion of file ld: warning: file /glusterfs-3git/libglusterfs/src/.libs/libglusterfs.so: linked to ../../libglusterfs/src/.libs/libglusterfs.so: attempted multiple inclusion of file Undefined first referenced symbol in file os_daemon_return glusterfsd.o ld: fatal: Symbol referencing errors. No output written to .libs/glusterfsd make: Fatal error: Command failed for target `glusterfsd' ---------------- issue 2: ---------------- Undefined first referenced symbol in file mkdtemp cli-rpc-ops.o ld: fatal: Symbol referencing errors. No output written to .libs/gluster make: Fatal error: Command failed for target `gluster' ---------------- This is after I apply the two attached patches.
PATCH: http://patches.gluster.com/patch/7518 in master (build: fixes to work on solaris)
With the committed patch, the build on solaris seems to be working fine.
should be working on latest git commits. (we have nightly solaris builds running)