[OpenAFS-devel] minor bug in sparc linux build

Dean Anderson dean@av8.com
Wed, 10 Sep 2003 16:15:34 -0400 (EDT)


Building in directory: MODLOAD-2.4.20-2.3sparc-MP
gmake[4]: Entering directory
`/usr/local/src/openafs-1.2.10/src/libafs/MODLOAD-2.4.20-2.3sparc-MP'
sparc64-linux-gcc   -O2 -fomit-frame-pointer -fno-strength-reduce
-fno-strict-aliasing -fno-common -pipe -mcpu=ultrasparc -m64 -mno-fpu
-mcmodel=medlow -ffixed-g4 -fcall-used-g5 -fcall-used-g7 -Wno-sign-compare
-D__KERNEL__  -DCPU=sparc64 -DKERNEL -D_KERNEL -DMODULE -DAFS_SMP
-D__BOOT_KERNEL_UP=0 -D__BOOT_KERNEL_SMP=1  -I. -I../
-I/usr/local/src/openafs-1.2.10/src/config -c ../afs/afs_atomlist.c;
/bin/sh: sparc64-linux-gcc: command not found

You have to remove the line:

CC = sparc64-linux-gcc

from src/libafs/MakefileProto.LINUX and MakefileProto.LINUX.in

Probably, the lines like

CC = gcc
LD = ld

etc should be replaced by variables set by configure:

CC = @CC@


		--Dean