2002-08-07 13:07:43

by Stephane Wirtel

[permalink] [raw]
Subject: compile error 2-4.20-pre1-ac1 -- AIC7xxx

here is a compile error with 2.4.20-pre1-ac1

<M> Adaptec AIC7xxx support

CONFIG_SCSI_AIC7XXX=m
CONFIG_AIC7XXX_CMDS_PER_DEVICE=253
CONFIG_AIC7XXX_RESET_DELAY_MS=15000
CONFIG_AIC7XXX_PROBE_EISA_VL=y
CONFIG_AIC7XXX_BUILD_FIRMWARE=y
CONFIG_SCSI_AIC7XXX_OLD=m
CONFIG_AIC7XXX_OLD_TCQ_ON_BY_DEFAULT=y
CONFIG_AIC7XXX_OLD_CMDS_PER_DEVICE=8
CONFIG_AIC7XXX_OLD_PROC_STATS=y

certainly an error with the previous driver of this scsi card

make[3]: Entering directory `/root/linux-2.4.20-pre1-ac1/drivers/scsi/aic7xxx'
make -C aicasm
make[4]: Entering directory `/root/linux-2.4.20-pre1-ac1/drivers/scsi/aic7xxx/aicasm'
yacc -d -b aicasm_gram aicasm_gram.y
make[4]: yacc: Command not found
make[4]: *** [aicasm_gram.h] Error 127
make[4]: Leaving directory `/root/linux-2.4.20-pre1-ac1/drivers/scsi/aic7xxx/aicasm'
make[3]: *** [aicasm/aicasm] Error 2
make[3]: Leaving directory `/root/linux-2.4.20-pre1-ac1/drivers/scsi/aic7xxx'
make[2]: *** [_modsubdir_aic7xxx] Error 2
make[2]: Leaving directory `/root/linux-2.4.20-pre1-ac1/drivers/scsi'
make[1]: *** [_modsubdir_scsi] Error 2
make[1]: Leaving directory `/root/linux-2.4.20-pre1-ac1/drivers'
make: *** [_mod_drivers] Error 2
bash-2.05a#


St?phane Wirtel


2002-08-07 14:12:48

by Alan

[permalink] [raw]
Subject: Re: compile error 2-4.20-pre1-ac1 -- AIC7xxx

On Wed, 2002-08-07 at 13:28, Stephane Wirtel wrote:
> here is a compile error with 2.4.20-pre1-ac1

You chose to recompile the firmware

> make[4]: Entering directory `/root/linux-2.4.20-pre1-ac1/drivers/scsi/aic7xxx/aicasm'
> yacc -d -b aicasm_gram aicasm_gram.y
> make[4]: yacc: Command not found
> make[4]: *** [aicasm_gram.h] Error 127

on a box without the right tools installed.

Either install yacc or use the firmware prebuilt in the driver