Re: cannot compile latest
- Posted by jimcbrown (admin) Dec 08, 2010
- 1016 views
irv said...
Currently running 4.0.0 development (r3493) Trying to compile the latest from svn gives me the following error:
Translating int.ex to create rm -f /home/irv/eu40/source/build/intobj/{*.c,*.o} (cd /home/irv/eu40/source/build/intobj;eui -i /home/irv/eu40/include /home/irv/eu40/source/ec.ex -nobuild -i /home/irv/eu40/include -gcc /home/irv/eu40/source/int.ex ) /home/irv/eu40/include/std/map.e:708 in procedure put() second argument of hash() must not be a negative integer. ... called from /home/irv/eu40/include/std/flags.e:13
r3493 is too old to compile the latest.
As a workaround, you can manually edit all calls to hash() and replaice HSIEN30 with ALDER32. This will allow you to bootstrap your build to get a version that knows about the newer hash algorithms.