Compile error: framebuffer on Alpha

From: Jan-Benedict Glaw (jbglaw@lug-owl.de)
Date: Thu May 11 2000 - 16:26:42 EST


Hi!

Here's a compile error with framebuffer on Alpha. It does *not* occur if
fb things are compiled as modules.

gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -mno-fp-regs -ffixed-8 -mcpu=ev4 -Wa,-mev6 -c -o clgenfb.o clgenfb.c
In file included from vga.h:24,
                 from clgenfb.c:72:
/usr/src/linux/include/asm/vga.h:44: warning: `scr_memcpyw_from' redefined
/usr/src/linux/include/linux/vt_buffer.h:29: warning: this is the location of the previous definition
/usr/src/linux/include/asm/vga.h:45: warning: `scr_memcpyw_to' redefined
/usr/src/linux/include/linux/vt_buffer.h:30: warning: this is the location of the previous definition
In file included from vga.h:24,
                 from clgenfb.c:72:
/usr/src/linux/include/asm/vga.h:18: parse error before `volatile'
/usr/src/linux/include/asm/vga.h:26: parse error before `volatile'
/usr/src/linux/include/asm/vga.h:35: redefinition of `scr_memsetw'
/usr/src/linux/include/linux/vt_buffer.h:36: `scr_memsetw' previously defined here
/usr/src/linux/include/asm/vga.h:43: warning: conflicting types for built-in function `__builtin_memcpy'
make[3]: *** [clgenfb.o] Error 1
make[3]: Leaving directory `/usr/src/kernel-sourcen/linux-2.3.99-pre7-9/drivers/video'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/kernel-sourcen/linux-2.3.99-pre7-9/drivers/video'
make[1]: *** [_subdir_video] Error 2
make[1]: Leaving directory `/usr/src/kernel-sourcen/linux-2.3.99-pre7-9/drivers'
make: *** [_dir_drivers] Error 2

MfG, JBG

-- 
Fehler eingestehen, Größe zeigen: Nehmt die Rechtschreibreform zurück!!!
/* Jan-Benedict Glaw <jbglaw@lug-owl.de> -- +49-177-5601720 */
keyID=0x8399E1BB fingerprint=250D 3BCF 7127 0D8C A444 A961 1DBD 5E75 8399 E1BB
	...und aus aktuellem Anlaß:	ILOVEYOU, Linux!


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



This archive was generated by hypermail 2b29 : Mon May 15 2000 - 21:00:18 EST