module compilation problems

Search this archive.

From: George Carless (kafka@antichri.st)
Date: Wed 19 Jun 2002 - 19:44:05 IDT


Hi there,

I'm having problems getting svgalib 1.9.15 to compile on my machine, which
is running kernel 2.5.18, RedHat 7.3 ...
I'm seeing the following:

cc -D__KERNEL__ -DMODULE -Wall -O2 -I/usr/src/linux/include
-DSVGALIB_HELPER_MAJOR=209   -c -o main.o main.c
main.c: In function `svgalib_helper_ioctl':
main.c:71: invalid operands to binary &
main.c: In function `svgalib_helper_open':
main.c:206: invalid operands to binary &
main.c: In function `svgalib_helper_mmap':
main.c:224: invalid operands to binary &
main.c:242: warning: passing arg 1 of `remap_page_range' makes pointer
from integer without a cast
main.c:242: incompatible type for argument 4 of `remap_page_range'
main.c:242: too few arguments to function `remap_page_range'
main.c:257: warning: passing arg 1 of `remap_page_range' makes pointer
from integer without a cast
main.c:257: incompatible type for argument 4 of `remap_page_range'
main.c:257: too few arguments to function `remap_page_range'
main.c:272: warning: passing arg 1 of `remap_page_range' makes pointer
from integer without a cast
main.c:272: incompatible type for argument 4 of `remap_page_range'
main.c:272: too few arguments to function `remap_page_range'
make[1]: *** [main.o] Error 1

This is with gcc 3.1

Any help would be much appreciated -- or any advice on using rpms
instead...

Thanks,
--George

-- 
-------------------------------------------------------------
<doctorb> goth clubs should serve coffee. ice cold coffee. 
with nails and broken glass. and call then 'depresso's


------------------------------------------------------------------
Unsubscribe:  To:   listbot@svgalib.org
              Body: unsubscribe linux-svgalib


This archive was generated by hypermail 2.1.4 : Wed 21 Jan 2004 - 22:10:25 IST