HyPhy message board | |
http://www.hyphy.org/cgi-bin/hyphy_forums/YaBB.pl
HYPHY Package >> HyPhy bugs >> building on AIX http://www.hyphy.org/cgi-bin/hyphy_forums/YaBB.pl?num=1132850787 Message started by konrad on Nov 24th, 2005 at 8:46am |
Title: building on AIX Post by konrad on Nov 24th, 2005 at 8:46am
Hi Sergei,
I'm trying to build hyphy (SP) on an AIX cluster. sh on this cluster invokes ksh, which has a problem with the syntax in build.sh, so I used bash: > bash build.sh SP AIX COMPILER=xlC, xlc COMPILER_FLAGS= -c -qchar=signed -O5 -D__HYPHY_NO_CURL__ +--------------------------------------+ |Building a single threaded HYPHYKernel| +--------------------------------------+ Building HYNetInterface.cpp 1500-036: (I) The NOSTRICT option (default at OPT(3)) has the potential to alter the semantics of a program. Please refer to documentation on the STRICT/NOSTRICT option for more information. I get the above warning several times, then: Building likefunc.cpp "likefunc.cpp", line 6291.45: 1540-1102 (W) "D" might be used before it is set. "likefunc.cpp", line 6552.45: 1540-1102 (W) "D" might be used before it is set. "likefunc.cpp", line 11426.44: 1540-0274 (S) The name lookup for "round" did not find a declaration. Error during compilation Any suggestions? thanks, Konrad |
Title: Re: building on AIX Post by avilella on Nov 26th, 2005 at 1:08am
You can try with:
COMPILER_FLAGS=" -c -qchar=signed -O3 -D__HYPHY_NO_CURL__ -qstrict"; COMPILER_LINK_FLAGS=" -qchar=signed -D__HYPHY_NO_CURL__ -bmaxdata:0x80000000"; |
Title: Re: building on AIX Post by Sergei on Nov 27th, 2005 at 2:40pm
Hey Konrad,
It sounds like the math.h on your AIX distro does not contain the round function. I suggest perhaps doing a grep on the include directory to find the file which has round in it and then adding the appropriate "include" statement in the 'likefunc.h'. Alternatively, you can edit the call to round(x) to instead be (long)(x+0.5). Cheers, Sergei |
HyPhy message board » Powered by YaBB 2.5.2! YaBB Forum Software © 2000-2024. All Rights Reserved. |