<div>On a 64-bit Slackware 13.1 system, the Chicken (Scheme compiler) slackbuild fails if you specify ARCH=x86_64:</div><div><br></div><div><div>chicken-4.6.0/LICENSE</div><div>chicken-4.6.0/srfi-1.c</div><div>make -f ./Makefile.linux CONFIG= all</div>
<div>make[1]: Entering directory `/tmp/SBo/chicken-4.6.0'</div><div>make[1]: *** No rule to make target `apply-hack.x86_64.S', needed by `apply-hack.x86_64.o'. Stop.</div><div>make[1]: Leaving directory `/tmp/SBo/chicken-4.6.0'</div>
<div>make: *** [all] Error 2</div></div><div><br></div><div>If you don't specify ARCH, it fails differently:</div><div><br></div><div><div>gcc -shared -Wl,-soname,libchicken.so \</div><div> -o libchicken.so library.o eval.o data-structures.o ports.o files.o extras.o lolevel.o utils.o tcp.o srfi-1.o srfi-4.o srfi-13.o srfi-14.o srfi-18.o srfi-69.o posixunix.o regex.o scheduler.o profiler.o stub.o expand.o chicken-syntax.o chicken-ffi-syntax.o runtime.o apply-hack.x86-64.o -lm -ldl</div>
<div>gcc -L. -shared -Wl,-R"." setup-download.o -o setup-download.so \</div><div> -lchicken \</div><div> -lm -ldl</div><div>./libchicken.so: file not recognized: File format not recognized</div>
<div>collect2: ld returned 1 exit status</div><div>make[1]: *** [setup-download.so] Error 1</div><div>make[1]: *** Waiting for unfinished jobs....</div><div>ln -sf libchicken.so libchicken.so.5</div><div>make[1]: Leaving directory `/tmp/SBo/chicken-4.6.0'</div>
<div>make: *** [all] Error 2</div></div><div><br></div><div>/Don Allen</div><div><br></div><div><br></div>