[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#278589: kernel-source-2.6.8: fails to compile w/ aic7xxx firmware option selected



Package: kernel-source-2.6.8
Version: 2.6.8-7
Severity: important

The stock Debian 2.6.8 kernel does not run on systems w/ require the aic7xxx module; apparently some kernel 
changes have broken the driver. Anyway, I tried to compile the 2.6.8 kernel while rebuilding the aic7xxx 
firmware, in the belief that this might fix the underlying problem. I have bison, lex, db4.2-dev, etc. 
installed. The compile craps out with this:

<cut>
gcc -I/usr/include -I. aicasm.c aicasm_symbol.c aicasm_gram.c aicasm_macro_gram.c aicasm_scan.c 
aicasm_macro_scan.c -o aicasm -ldb
aicasm_gram.y:1933: warning: type mismatch with previous implicit declaration
aicasm_gram.tab.c:3055: warning: previous implicit declaration of `yyerror'
aicasm_gram.y:1933: warning: `yyerror' was previously implicitly declared to return `int'
aicasm_macro_gram.y:162: warning: type mismatch with previous implicit declaration
aicasm_macro_gram.tab.c:1275: warning: previous implicit declaration of `mmerror'
aicasm_macro_gram.y:162: warning: `mmerror' was previously implicitly declared to return `int'
aicasm_scan.l: In function `expand_macro':
aicasm_scan.l:532: error: `yytext_ptr' undeclared (first use in this function)
aicasm_scan.l:532: error: (Each undeclared identifier is reported only once
aicasm_scan.l:532: error: for each function it appears in.)
make[5]: *** [aicasm] Error 1
make[4]: *** [drivers/scsi/aic7xxx/aicasm/aicasm] Error 2
make[3]: *** [drivers/scsi/aic7xxx] Error 2
make[2]: *** [drivers/scsi] Error 2
make[1]: *** [drivers] Error 2
make[1]: Leaving directory `/usr/local/src/kernel-source-2.6.8'
make: *** [stamp-build] Error 2


I have no idea how to fix this compile problem.


-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing'), (300, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.7-1-k7-smp
Locale: LANG=en_US, LC_CTYPE=en_US

Versions of packages kernel-source-2.6.8 depends on:
ii  binutils                      2.15-4     The GNU assembler, linker and bina
ii  bzip2                         1.0.2-1    A high-quality block-sorting file 
ii  coreutils [fileutils]         5.2.1-2    The GNU core utilities

-- no debconf information



Reply to: