On Mon, Aug 13, 2018 at 10:41:22AM +0100, Norman Gray wrote: > The installation of spiffy failed with: > > [...] > /Data/tools/chicken-5.0.0rc1-clang/bin/csc -host -D compiling-extension > -J -s -setup-mode -I > /Users/norman/.chicken-install/cache/memory-mapped-files -C > -I/Users/norman/.chicken-install/cache/memory-mapped-files -O2 -d1 > /Users/norman/.chicken-install/cache/memory-mapped-files/memory-mapped-files.scm > -o > /Users/norman/.chicken-install/cache/memory-mapped-files/memory-mapped-files.so > /Users/norman/.chicken-install/cache/memory-mapped-files/memory-mapped-files.c:395:85: > error: use of undeclared identifier 'MAP_ANONYMOUS' > t11=C_set_block_item(lf[14] /* memory-mapped-files#map/anonymous > */,0,C_fix((C_word)MAP_ANONYMOUS));
This is the memory-mapped-files egg, which is a dependency of spiffy. The MAP_ANON definition is marked as deprecated on GNU systems in favour of MAP_ANONYMOUS, but other systems still hang on to MAP_ANON, sometimes offering an alias as MAP_ANONYMOUS. I've now changed it so that if MAP_ANONYMOUS is undefined but MAP_ANON is defined, it is made an alias. I've published a new release, which should appear on the egg servers shortly. Cheers, Peter
signature.asc
Description: PGP signature
_______________________________________________ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users