lkml.org 
[lkml]   [2001]   [Oct]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: 2.4.13-pre1: sonypi.c compile error
    Stelian Pop wrote:
    >
    > On Fri, Oct 12, 2001 at 09:03:30AM +1000, Eyal Lebedinsky wrote:
    >
    > > gcc -D__KERNEL__ -I/data2/usr/local/src/linux-2.4-pre/include -Wall
    > > -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer
    > > -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2
    > > -march=i686 -malign-functions=4 -DMODULE -DMODVERSIONS -include
    > > /data2/usr/local/src/linux-2.4-pre/include/linux/modversions.h
    > > -DEXPORT_SYMTAB -c sonypi.c
    > > sonypi.c: In function `sonypi_init_module':
    > > sonypi.c:702: `is_sony_vaio_laptop_R7462d5e4' undeclared (first use in
    > > this function)
    >
    > Just add a
    > extern int is_sony_vaio_laptop; /* set in DMI table parse routines */
    > line somewhere at the beginning of the file drivers/char/sonypi.c

    Good. I am now up to here, which I guess is very possitive relative to
    the
    recent 2.4 releases :-)

    gcc -D__KERNEL__ -I/data2/usr/local/src/linux-2.4-pre/include -Wall
    -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer
    -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2
    -march=i686 -malign-functions=4 -DMODULE -DMODVERSIONS -include
    /data2/usr/local/src/linux-2.4-pre/include/linux/modversions.h
    -DEXPORT_SYMTAB -c i2o_pci.c
    i2o_pci.c: In function `i2o_pci_install':
    i2o_pci.c:165: structure has no member named `pdev'
    make[2]: *** [i2o_pci.o] Error 1
    make[2]: Leaving directory
    `/data2/usr/local/src/linux-2.4-pre/drivers/i2o'

    --
    Eyal Lebedinsky (eyal@eyal.emu.id.au) <http://samba.anu.edu.au/eyal/>
    -
    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/

    \
     
     \ /
      Last update: 2005-03-22 13:08    [W:0.029 / U:0.508 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site