Messages in this thread | | | Date | Sat, 21 Aug 1999 21:01:08 -0400 | From | Jeff Garzik <> | Subject | Re: Compile error in 2.3.15pre2 |
| |
Rich Baum wrote: > > I get the following error when running make modules. > > make[2]: Entering directory `/usr/src/linux-2.3.14/drivers/video' > gcc -D__KERNEL__ -I/usr/src/linux-2.3.14/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -DCPU=486 -march=i486 -DMODULE -c -o clgenfb.o clgenfb.c > clgenfb.c: In function `get_pci_addrs': > clgenfb.c:2365: `IORESOURCE_IOPORT' undeclared (first use in this function) > clgenfb.c:2365: (Each undeclared identifier is reported only once > clgenfb.c:2365: for each function it appears in.) > make[2]: *** [clgenfb.o] Error 1 > make[2]: Leaving directory `/usr/src/linux-2.3.14/drivers/video' > make[1]: *** [_modsubdir_video] Error 2 > make[1]: Leaving directory `/usr/src/linux-2.3.14/drivers' > make: *** [_mod_drivers] Error 2
From looking at the patch, include/linux/ioport.h changed. I haven't sync'd with the pre2 tree yet, but at first glance you might be able to get by with a simple substitution:
s/IORESOURCE_IOPORT/IORESOURCE_IO/
If you are loading clgenfb as a module you miss the nifty penguin at bootup. ;-)
Regards,
Jeff
-- "Nuclear war can ruin your whole compile." -- Karl Lehenbauer
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |