mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: 2.4.13-pre1: sonypi.c compile error
@ 2001-10-15 16:08 Sander van Geloven
  2001-10-15 10:55 ` Peter T. Breuer
  2001-10-15 11:58 ` Alan Cox
  0 siblings, 2 replies; 9+ messages in thread
From: Sander van Geloven @ 2001-10-15 16:08 UTC (permalink / raw)
  To: linux-kernel; +Cc: vgeloven

>
> I won't submit a patch to Linus for now, I'm pretty sure that Alan will take care of this for -pre2.
>
> Stelian.

Hi,

I did a build with the patch-2.4.13-pre2.pz applied but it didn't fixed
the problem. Your suggestion to add a line in sonypi.c however did work.

Now I also have the same problem as Eyal Lebedinskynew:

make -C i2o modules
make[2]: Entering directory `/home/src/linux-2.4.12/drivers/i2o'
gcc -D__KERNEL__ -I/home/src/linux-2.4.12/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer
-fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2
-march=i686 -DMODULE -DMODVERSIONS -include
/home/src/linux-2.4.12/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 `/home/src/linux-2.4.12/drivers/i2o'
make[1]: *** [_modsubdir_i2o] Error 2
make[1]: Leaving directory `/home/src/linux-2.4.12/drivers'
make: *** [_mod_drivers] Error 2

Has anyone a suggestion?

Thanks,

Sander

^ permalink raw reply	[flat|nested] 9+ messages in thread
* 2.4.13-pre1: sonypi.c compile error
@ 2001-10-11 23:03 Eyal Lebedinsky
  2001-10-12  7:50 ` Alan Cox
  2001-10-12  8:34 ` Stelian Pop
  0 siblings, 2 replies; 9+ messages in thread
From: Eyal Lebedinsky @ 2001-10-11 23:03 UTC (permalink / raw)
  To: list linux-kernel

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)
sonypi.c:702: (Each undeclared identifier is reported only once
sonypi.c:702: for each function it appears in.)
make[2]: *** [sonypi.o] Error 1
make[2]: Leaving directory
`/data2/usr/local/src/linux-2.4-pre/drivers/char'

Now this is what we have here, I can not figure the intentions of the
author:

static int __init sonypi_init_module(void) {
        if (is_sony_vaio_laptop)
                return pci_module_init(&sonypi_driver);
        else
                return -ENODEV;
}

--
Eyal Lebedinsky (eyal@eyal.emu.id.au) <http://samba.anu.edu.au/eyal/>

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2001-10-15 11:51 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-15 16:08 2.4.13-pre1: sonypi.c compile error Sander van Geloven
2001-10-15 10:55 ` Peter T. Breuer
2001-10-15 11:18   ` Federico Sevilla III
2001-10-15 11:46   ` Stelian Pop
2001-10-15 11:58 ` Alan Cox
  -- strict thread matches above, loose matches on Subject: below --
2001-10-11 23:03 Eyal Lebedinsky
2001-10-12  7:50 ` Alan Cox
2001-10-12  8:34 ` Stelian Pop
2001-10-12 11:08   ` Eyal Lebedinsky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®