Bug 764734 (GLUSTER-3002) - build issues on solaris
Summary: build issues on solaris
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: GLUSTER-3002
Product: GlusterFS
Classification: Community
Component: build
Version: mainline
Hardware: x86_64
OS: Solaris
medium
medium
Target Milestone: ---
Assignee: Amar Tumballi
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-06-08 11:20 UTC by Amar Tumballi
Modified: 2013-12-19 00:06 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Regression: RTNR
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:


Attachments (Terms of Use)
fixing build issues on mac/solaris (7.18 KB, patch)
2011-06-08 08:20 UTC, Amar Tumballi
no flags Details | Diff

Description Amar Tumballi 2011-06-08 11:20:24 UTC
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.

Comment 1 Anand Avati 2011-06-17 02:01:58 UTC
PATCH: http://patches.gluster.com/patch/7518 in master (build: fixes to work on solaris)

Comment 2 Amar Tumballi 2011-06-17 02:14:00 UTC
With the committed patch, the build on solaris seems to be working fine.

Comment 3 Lakshmipathi G 2011-08-19 06:12:01 UTC
should be working on latest git commits. (we have nightly solaris builds running)


Note You need to log in before you can comment on or make changes to this bug.