lkml.org 
[lkml]   [1999]   [Aug]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-03-22 13:53    [W:0.126 / U:0.156 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site