[Slackbuilds-users] chicken slackbuild issue

Donald Allen donaldcallen at gmail.com
Sat Apr 23 15:04:58 UTC 2011


On Sat, Apr 23, 2011 at 9:54 AM, Donald Allen <donaldcallen at gmail.com>wrote:

> On a 64-bit Slackware 13.1 system, the Chicken (Scheme compiler) slackbuild
> fails if you specify ARCH=x86_64:
>
> chicken-4.6.0/LICENSE
> chicken-4.6.0/srfi-1.c
> make -f ./Makefile.linux CONFIG= all
> make[1]: Entering directory `/tmp/SBo/chicken-4.6.0'
> make[1]: *** No rule to make target `apply-hack.x86_64.S', needed by
> `apply-hack.x86_64.o'.  Stop.
> make[1]: Leaving directory `/tmp/SBo/chicken-4.6.0'
> make: *** [all] Error 2
>
> If you don't specify ARCH, it fails differently:
>
> gcc  -shared -Wl,-soname,libchicken.so \
>           -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
> gcc  -L. -shared -Wl,-R"." setup-download.o -o setup-download.so \
>           -lchicken \
>           -lm -ldl
> ./libchicken.so: file not recognized: File format not recognized
> collect2: ld returned 1 exit status
> make[1]: *** [setup-download.so] Error 1
> make[1]: *** Waiting for unfinished jobs....
> ln -sf libchicken.so libchicken.so.5
> make[1]: Leaving directory `/tmp/SBo/chicken-4.6.0'
> make: *** [all] Error 2
>

I think the second error was caused by my use of parallel make (specifying
-j 4 to make). The chicken README file mentions that parallel make is not
supported and I get the same error when I simply download the 4.6.0 source
tarball and attempt to build it with -j 4. Without -j 4, the slackbuild
works -- builds the slackware package successfully.

/Don


> /Don Allen
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20110423/31902f57/attachment-0001.html>


More information about the SlackBuilds-users mailing list