kernel-2.6.0-test9 compile issue

From: David Meiser (dmeiser_at_sbcglobal.net)
Date: 11/02/03

  • Next message: Hoyt Bailey: "Re: Fw: X Windos System will not start"
    Date: Sun, 02 Nov 2003 11:17:04 -0600
    To: Debian Users <debian-user@lists.debian.org>
    
    

    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

    -- 
    To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Hoyt Bailey: "Re: Fw: X Windos System will not start"

    Relevant Pages

    • kernel compile procedure
      ... I am wanting to learn how to compile a kernel. ... scripts/basic/fixdep.c:121: warning: implicit ... declaration of function `exit'scripts/basic/fixdep.c: ...
      (Fedora)
    • Kernel build error & how do I fix & compile OK?
      ... make: Leaving directory ... aicasm_gram.y:1933: warning: type mismatch with previous implicit ... declaration of `yyerror' ... aicasm_macro_gram.y:162: warning: type mismatch with previous implicit ...
      (Debian-User)
    • Possible Kernel Bug in tunnel interface and iptables in 2.4.22
      ... Our database slaves panic with a kernel oops when receiving packets via ... Kernel config, ksymoops ... Warning: You did not tell me where to find symbol information. ... # Loadable module support ...
      (Linux-Kernel)
    • 2.4.x oops with X
      ... I'm getting oopses with kernel 2.4.x (kernel ... Warning: You did not tell me where to find symbol information. ... mismatch on symbol vg, lvm-mod says e0905680, ... # Software Suspend support ...
      (Linux-Kernel)
    • kernel warning on list_del corruption
      ... Then I got warning, is there anything wrong on this warning? ... My kernel config is attached, ... Hardware name: OptiPlex 760 ... # CAN Device Drivers ...
      (Linux-Kernel)