- From: Frank Mori Hess <fmhess_at_users.sourceforge.net>
- Date: Thu, 12 Jun 2003 10:56:25 -0500
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thursday 12 June 2003 06:58 am, root wrote: > I compile comedi-0.7.66 under redhat9.0 with gcc-3.2.2, get the > following error message: > > comedi_fops.c: In function `comedi_mmap_v22': > comedi_fops.c:1269: warning: passing arg 1 of `remap_page_range' makes > pointer from integer without a cast > comedi_fops.c:1269: incompatible type for argument 4 of > `remap_page_range' > comedi_fops.c:1269: too few arguments to function `remap_page_range' > make[1]: *** [comedi_fops.o] Error 1 > make[1]: Leaving directory `/root/work/comedi/comedi-0.7.66/comedi' > > How to solve it? thanks! > Redhat apparantly backported the linux 2.5 version of remap_page_range() to their 2.4 kernel. You could compile your own kernel from the vanilla 2.4 sources. For comedi to work around it would probably require compiling a little test program to see which version of remap_page_range() your kernel sources are using. - -- Frank -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE+6KKp5vihyNWuA4URAlQdAJ9+ztfhm4E6kzn+Wj0ZVqcOIGtlCwCg0npv mImnuQWzIovphfRimrrKHsY= =IALf -----END PGP SIGNATURE-----
Received on 2003-06-12Z14:56:25