Re: Failure to Compile AIC7xxx Driver

From: Justin T. Gibbs (gibbs@scsiguy.com)
Date: Fri Aug 17 2001 - 12:39:19 EST


>leroyljr wrote:
>>
>> If nobody has brought this up yet, I want to report this issue.
>>
>> Here is what happened when I tried to build the aic7xxx driver for 2.4.9:
>>
>> aicasm/aicasm_scan.l: In function `yylex':
>> aicasm/aicasm_scan.l:115: `T_VERSION' undeclared (first use in this function
>)
>> aicasm/aicasm_scan.l:115: (Each undeclared identifier is reported only once
>> aicasm/aicasm_scan.l:115: for each function it appears in.)
>> aicasm/aicasm_scan.l:132: `T_STRING' undeclared (first use in this function)
>
>If I remember correctly I got this one when I used bison -y instead of
>yacc -
>although they are supposed to do the same.
>
>It's just a guess - correct me if I'm telling crap

There's a missing dependency somewhere, so the y.tab.h file is stale.
If you go into drivers/scsi/aic7xxx/aicasm and do a make clean, the
build will work for you.

I'm still trying to figure out exactly what I need to put in the Makefile
to force make to run yacc/bison prior to compiling the scan file.

--
Justin
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Aug 23 2001 - 21:00:24 EST