Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Building crafty in unix

Author: Matthew Hull

Date: 14:18:04 09/04/02

Go up one level in this thread


On September 04, 2002 at 16:50:48, Russell Reagan wrote:

>Thanks for your reply. Two things happened so far. When I tried make solaris, I
>got:
>
>clyde% make solaris
>make target=SUN \
>        AS=/usr/ccs/bin/as CC=cc CXX='$(CC)' \
>        AFLAGS='-P' \
>        CFLAGS=' -fast -xO5 -xunroll=20' \
>        CXFLAGS='' \
>        LDFLAGS=' -lpthread' \
>        opt=' -DCOMPACT_ATTACKS -DUSE_ATTACK_FUNCTIONS \
>             -DUSE_ASSEMBLY_A -DSMP -DCPUS=4 -DMUTEX -DPOSIX' \
>        asm=Sparc.o \
>        crafty-make
>cc -fast -xO5 -xunroll=20 -DCOMPACT_ATTACKS -DUSE_ATTACK_FUNCTIONS \
>             -DUSE_ASSEMBLY_A -DSMP -DCPUS=4 -DMUTEX -DPOSIX -DSUN -c searchr.c
>/usr/ucb/cc:  language optional software package not installed
>*** Error code 1
>make: Fatal error: Command failed for target `searchr.o'
>Current working directory /std1/rr240/crafty
>*** Error code 1
>make: Fatal error: Command failed for target `crafty-make'
>Current working directory /std1/rr240/crafty
>*** Error code 1
>make: Fatal error: Command failed for target `solaris'
>
>Then I tried make solaris-gcc. It seemed to compile and it created the
>executable, but when I run it, I get:
>
>clyde% crafty
>Segmentation Fault (core dumped)
>
>Any advice from here?
>
>Russell


It's also possible you don't have the Solaris compiler installed (or available
for users).  If it can't find cc (CC looks like the C++ compiler perhaps), then
you'll have to use gcc.

You could try "whereis cc" also to see if it's somewhere else on the machine, or
"man cc".



This page took 0.01 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.