You are not logged in.
I'm trudging through a mess of compile errors on old code for Likewise Open. Source code is:
https://github.com/pmorton/likewise-open
While running configure, i got a bunch of errors stating Could not check endienness (or something there abouts). I traced that down to 5 ish config files. All with lines like:
mk_check_endian
case "$ENDIANNESS" in
big) mk_define LW_BIG_ENDIAN;;
little) mk_define LW_LITTLE_ENDIAN;;
esac
I'm not sure why, but mk_check_endian doesnt return results or it doesnt return results that the config expects. I changed the configs to
mk_define ENDIANESS "LW_LITTLE_ENDIAN"
that got me through the config process, but it now fails on make. I get:
/lwbase/src/../include/lw/swab.h:67:2: error: #error One of LW_BIG_ENDIAN or LW_LITTLE_ENDIAN must be defined to use this header
#error One of LW_BIG_ENDIAN or LW_LITTLE_ENDIAN must be defined to use this header
so mk_check_endian is doing more than setting a local variable. Im not sure what SHOULD be in there, assuming my machine is Little. Anyone help out? I think this is the last hurdle to compiling this POS.
thx
Last edited by shelbydz (2014-07-31 18:10:08)
Offline
Did some additional digging and found this:
https://bkoropoff.github.io/makekit/man … ndian.html
It appears that it checks, then sets ENDIANNESS to "little" or "big". I commented out all of the mk_check_endian but left in the case statements. Then ran
export ENDIANESS=little
make clean
configure
make
that seems to have gotten me around this particular problem. Code still wont build though.
Offline