2003-05-05 16:26:59

by Martin J. Bligh

[permalink] [raw]
Subject: [Bug 658] New: compile failure in drivers/video/aty/mach64_gx.c

http://bugme.osdl.org/show_bug.cgi?id=658

Summary: compile failure in drivers/video/aty/mach64_gx.c
Kernel Version: 2.5.68-bk11
Status: NEW
Severity: low
Owner: [email protected]
Submitter: [email protected]


Distribution: Gentoo 1.4rc4
Hardware Environment: Abit KG7-RAID, AMD AthlonXP 2100+ Palomino
Software Environment: gcc 3.2.2, glibc 2.3.1, ld 2.13.90.0.18
Problem Description:

gcc -Wp,-MD,drivers/video/aty/.mach64_gx.o.d -D__KERNEL__ -Iinclude -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-pipe -mpreferred-stack-boundary=2 -march=athlon
-Iinclude/asm-i386/mach-default -nostdinc -iwithprefix include
-DKBUILD_BASENAME=mach64_gx
-DKBUILD_MODNAME=atyfb -c -o drivers/video/aty/.tmp_mach64_gx.o
drivers/video/aty/mach64_gx.c
drivers/video/aty/mach64_gx.c:497: redefinition of `vclk_per'
drivers/video/aty/mach64_gx.c:496: `vclk_per' previously declared here
drivers/video/aty/mach64_gx.c: In function `aty_var_to_pll_1703':
drivers/video/aty/mach64_gx.c:496: redeclaration of `vclk_per'
drivers/video/aty/mach64_gx.c:497: `vclk_per' previously declared here
drivers/video/aty/mach64_gx.c: At top level:
drivers/video/aty/mach64_gx.c:602: warning: initialization from incompatible
pointer type
drivers/video/aty/mach64_gx.c:613: redefinition of `vclk_per'
drivers/video/aty/mach64_gx.c:612: `vclk_per' previously declared here
drivers/video/aty/mach64_gx.c: In function `aty_var_to_pll_8398':
drivers/video/aty/mach64_gx.c:612: redeclaration of `vclk_per'
drivers/video/aty/mach64_gx.c:613: `vclk_per' previously declared here
drivers/video/aty/mach64_gx.c: At top level:
drivers/video/aty/mach64_gx.c:726: warning: initialization from incompatible
pointer type
make[3]: *** [drivers/video/aty/mach64_gx.o] Error 1
make[2]: *** [drivers/video/aty] Error 2
make[1]: *** [drivers/video] Error 2
make: *** [drivers] Error 2


Steps to reproduce:

Graphics support --->
[*] Mach64 GX support

CONFIG_FB_ATY_GX=y


2003-05-05 18:03:26

by Ben Collins

[permalink] [raw]
Subject: Re: [Bug 658] New: compile failure in drivers/video/aty/mach64_gx.c

On Mon, May 05, 2003 at 09:37:35AM -0700, Martin J. Bligh wrote:
> http://bugme.osdl.org/show_bug.cgi?id=658
>
> Summary: compile failure in drivers/video/aty/mach64_gx.c
> Kernel Version: 2.5.68-bk11
> Status: NEW
> Severity: low
> Owner: [email protected]
> Submitter: [email protected]
>
>
> Distribution: Gentoo 1.4rc4
> Hardware Environment: Abit KG7-RAID, AMD AthlonXP 2100+ Palomino
> Software Environment: gcc 3.2.2, glibc 2.3.1, ld 2.13.90.0.18
> Problem Description:

This is fixed in 2.5.69, with a patch that reverted all of video/aty to
2.5.68-stock.

--
Debian - http://www.debian.org/
Linux 1394 - http://www.linux1394.org/
Subversion - http://subversion.tigris.org/
Deqo - http://www.deqo.com/