| Summary: | Can't compile on Nexenta Core 3 | ||
|---|---|---|---|
| Product: | [Community] GlusterFS | Reporter: | Sergey M <msergeyb> |
| Component: | build | Assignee: | Amar Tumballi <amarts> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 3.1.3 | CC: | gluster-bugs, lakshmipathi, vraman |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Other | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | --- | |
| Regression: | RTNR | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Sergey M
2011-04-05 18:51:13 UTC
this may be because of '-m64' flag for solaris gcc.
amar@supernova:~/work/glusterfs$ git grep -n '\-m64'
configure.ac:409: GF_CFLAGS="${ARGP_STANDALONE_CPPFLAGS} -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -O0 -m64"
Try removing '-m64' in the above line. and do './autogen.sh' and do the ./configure && make, it should work.
Thanks!
CFLAGS="$CFLAGS -m64 -Wall -W
in argp-standalone/configure.ac
then './autogen.sh'
GF_CFLAGS="${ARGP_STANDALONE_CPPFLAGS} -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -O0 -m64"
in configure.ac
then './autogen.sh'
./configure
make clean && make
it works!
|