Index:
[thread]
[date]
[subject]
[author]
From: Marcus Sundberg <mackan@stacken.kth.se>
To : ggi-develop@eskimo.com
Date: Sat, 12 Sep 1998 17:43:10 +0000
Re: Kernel Makefile
James A Simmons wrote:
>
> Well I have upgraded the linux kernel makefile version of kgicon. It will
> compile for the cyrix card. It will try to compile for the matrox
> millenium card but I get the follwoing errors. Any ideas here why?
>
> make -C chipset
> make[4]: Entering directory `/usr/src/linux-2.1.119/drivers/video/kgi/chipset'
> gcc -D__KERNEL__ -I/usr/src/linux-2.1.119/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -c -o Matrox/mga2x64_main.o Matrox/mga2x64_main.c
> Matrox/mga2x64_main.c:24: warning: `/*' within comment
> Matrox/mga2x64_main.c:24: warning: `/*' within comment
> In file included from Matrox/mga2x64_main.c:76:
> Matrox/../../include/Matrox/mga_common_regs.h:410: warning: #warning !!! include the headerfile for the new Matrox card here
Did you actually look at the offending line??
This is the problematic section:
/* Card specific includes */
#if defined(DRIVER_mga1064)
#include "Matrox/mga1064_regs.h"
#elif defined(DRIVER_mga2064) || defined(DRIVER_mga2164)
#else
#warning !!! include the headerfile for the new Matrox card here
#endif
So the problem is that you're not defining which driver you wish to
compile.
Good job so far btw!
//Marcus
--
-------------------------------+------------------------------------
Marcus Sundberg | http://www.stacken.kth.se/~mackan/
Royal Institute of Technology | Phone: +46 707 295404
Stockholm, Sweden | E-Mail: mackan@stacken.kth.se
Index:
[thread]
[date]
[subject]
[author]