problem compiling svgalib_helper

Search this archive.

From: Andy Elmer (elmera@mn.rr.com)
Date: Fri 28 Jun 2002 - 06:48:18 IDT


I am trying to compile svgalib, however it keeps erroring out when it 
gets to the svgalib_helper section ( and I do want to compile the helper 
).  These are the errors when I go into the kernel/svgalib_helper/ 
folder and type "make install":

<snip>
main.c: In function `init_module':
main.c:295: warning: implicit declaration of function `printk'
main.c:295: `KERN_INFO' undeclared (first use in this function)
main.c:295: parse error before string constant
main.c:298: `KERN_WARNING' undeclared (first use in this function)
main.c:298: parse error before string constant
main.c:302: `GFP_KERNEL' undeclared (first use in this function)
main.c:302: warning: assignment makes pointer from integer without a cast
main.c:318: warning: implicit declaration of function `pci_present'
main.c:319: warning: implicit declaration of function `pci_find_class'
main.c:319: warning: assignment makes pointer from integer without a cast
main.c:321: warning: assignment makes pointer from integer without a cast
main.c:329: `KERN_DEBUG' undeclared (first use in this function)
main.c:329: parse error before string constant
main.c:345: parse error before string constant
main.c: At top level:
/usr/include/linux/proc_fs.h:193: warning: `create_proc_read_entry' 
declared `static' but never defined
make: *** [main.o] Error 1


I am running RH 7.3, however, I am using gcc 2.95.3.   Any sugguestions? 
 Thanks!!

Andy


------------------------------------------------------------------
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