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

Re: Sarge Kernel 2.6.9 kompilieren



Am 2004-12-02 15:48:06 schrieb(en) Zlatko Medibach:
Hallo,
hi!

[...]
Was ist da falsch ?   Ist 2.6.9 so buggy ?


2.6.9 funkt hier gut.
was sagt deine .config?
zum fehler siehe weiter unten...

Danke

Zlatko

sl ritch.


  LD      drivers/ide/built-in.o
  CC [M]  drivers/ide/ide.o
drivers/ide/ide.c: In function `init_hwif_data':
drivers/ide/ide.c:223: error: structure has no member named `atapi'
drivers/ide/ide.c:223: error: `__i' undeclared (first use in this
function)
drivers/ide/ide.c:223: error: (Each undeclared identifier is reported
[...]
make[2]: *** [drivers/ide/ide.o] Error 1
make[1]: *** [drivers/ide] Error 2
make: *** [drivers] Error 2

..aus der source.../driver/ide/ide.c

/*
* Do not even *think* about calling this!
*/
static void init_hwif_data(ide_hwif_t *hwif, unsigned int index)
{
       unsigned int unit;

       /* bulk initialize hwif & drive info with zeros */
       memset(hwif, 0, sizeof(ide_hwif_t));

       /* fill in any non-zero initial values */
       hwif->index     = index;
       hwif->major     = ide_hwif_to_major[index];

       hwif->name[0]   = 'i';
       hwif->name[1]   = 'd';
       hwif->name[2]   = 'e';
       hwif->name[3]   = '0' + index;

       hwif->bus_state = BUSSTATE_ON;

       hwif->atapi_dma = 0;            /* disable all atapi dma */
       hwif->ultra_mask = 0x80;        /* disable all ultra */
203,2 8%




Reply to: