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

kernel-2.6.0-test9 compile issue



Hello, I am running a system where my main hdd is an external SCSI HDD on an Adaptec AIC7881-U. In the 2.4.xx series kernel, I haven't had any problems compiling, installing, or booting this hard drive. Recently, I decided to give the 2.6.0-test series a try, so I downloaded the source (via apt, of course), and tried to compile the kernel with these options:

<M> Adaptec AIC7xxx Fast -> U160 support (New Driver)
? ?(32) Maximum number of TCQ commands per device
? ?(15000) Initial bus reset delay in milli-seconds
? ?[*] Probe for EISA and VL AIC7XXX Adapters
? ?[*] Build Adapter Firmware with Kernel Build
? ?[*] Compile in Debugging Code
? ?(0) Debug code enable mask (2047 for all debugging)
? ?[*] Decode registers during diagnostics
? ?<M> Adaptec AIC7xxx support (old driver)

Which yields this error:

make[2]: `arch/i386/kernel/asm-offsets.s' is up to date.
/usr/bin/make -C drivers/scsi/aic7xxx/aicasm
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
In file included from aicasm_symbol.c:48:
aicdb.h:1:20: db_185.h: No such file or directory
aicasm_symbol.c:63: error: parse error before '*' token
aicasm_symbol.c:63: warning: data definition has no type or storage class
aicasm_symbol.c: In function `symbol_delete':
aicasm_symbol.c:87: error: `DBT' undeclared (first use in this function)
aicasm_symbol.c:87: error: (Each undeclared identifier is reported only once
aicasm_symbol.c:87: error: for each function it appears in.)
aicasm_symbol.c:87: error: parse error before "key"
aicasm_symbol.c:89: error: `key' undeclared (first use in this function)
aicasm_symbol.c:91: error: request for member `del' in something not a structure or union
aicasm_symbol.c: In function `symtable_open':
aicasm_symbol.c:134: error: `DB_HASH' undeclared (first use in this function) aicasm_symbol.c:135: warning: assignment makes pointer from integer without a cast
aicasm_symbol.c: In function `symtable_close':
aicasm_symbol.c:148: error: `DBT' undeclared (first use in this function)
aicasm_symbol.c:148: error: parse error before "key"
aicasm_symbol.c:151: error: request for member `seq' in something not a structure or union
aicasm_symbol.c:151: error: `key' undeclared (first use in this function)
aicasm_symbol.c:151: error: `data' undeclared (first use in this function)
aicasm_symbol.c:151: error: `R_FIRST' undeclared (first use in this function) aicasm_symbol.c:157: error: request for member `close' in something not a structure or union
aicasm_symbol.c: In function `symtable_get':
aicasm_symbol.c:169: error: `DBT' undeclared (first use in this function)
aicasm_symbol.c:169: error: parse error before "key"
aicasm_symbol.c:173: error: `key' undeclared (first use in this function)
aicasm_symbol.c:176: error: request for member `get' in something not a structure or union
aicasm_symbol.c:176: error: `data' undeclared (first use in this function)
aicasm_symbol.c:188: error: request for member `put' in something not a structure or union
aicasm_symbol.c: In function `symtable_dump':
aicasm_symbol.c:472: error: `DBT' undeclared (first use in this function)
aicasm_symbol.c:472: error: parse error before "key"
aicasm_symbol.c:486: error: `R_FIRST' undeclared (first use in this function) aicasm_symbol.c:487: error: request for member `seq' in something not a structure or union
aicasm_symbol.c:487: error: `key' undeclared (first use in this function)
aicasm_symbol.c:487: error: `data' undeclared (first use in this function)
aicasm_symbol.c:524: error: `R_NEXT' undeclared (first use in this function)
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:522: error: `yytext_ptr' undeclared (first use in this function)
aicasm_scan.l:522: error: (Each undeclared identifier is reported only once
aicasm_scan.l:522: 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/src/kernel-source-2.6.0-test9'
make: *** [stamp-build] Error 2

I have tried several different options and can't figure out which option is causing the compile error. On the random occasion when one of my configurations yields a compiled kernel, I end up with a kernel panic on boot stating that the kernel cannot locate / (on device 8,1 or 85,1 or something similar...).

Is anyone having a similar/same problem? Any suggestions on how to actually get these options to compile? What am I doing wrong here?

Thanks in Advance.

Peace,
DAVE



Reply to: