Skip to contentSkip to conversation

Linux-kernel-digest digest, Vol 1 #4001 - 23 msgs

DISCUSSION Kyrian 2 participants 2 messages Oct 17, 2002 – Oct 18, 2002 1 message not in the archive Framebuffer layer

lore
Share & tools
lore

Kyrian

author
#1 lore raw
In reply to a message not in the archive

Assuming this is a better place to post fbdev issues than the kernel devel list (someone let me know if not please? and/or point me to a more appropriate place to post?)

Basically I still can't get the aty128fb.c driver to compile, for what still look like API change reasons, even having downloaded the kernel from BitKeeper again after receiving the below announcement from James...

gcc -Wp,-MD,drivers/video/.aty128fb.o.d -D__KERNEL__ -Iinclude -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=k6 -Iarch/i386/mach-generic -nostdinc -iwithprefix include
-DKBUILD_BASENAME=aty128fb -c -o drivers/video/aty128fb.o
drivers/video/aty128fb.c
drivers/video/aty128fb.c:85:30: video/fbcon-cfb8.h: No such file or directory
drivers/video/aty128fb.c:86:31: video/fbcon-cfb16.h: No such file or directory
drivers/video/aty128fb.c:87:31: video/fbcon-cfb24.h: No such file or directory
drivers/video/aty128fb.c:88:31: video/fbcon-cfb32.h: No such file or directory
drivers/video/aty128fb.c:397: unknown field `fb_set_var' specified in initializer
drivers/video/aty128fb.c:397: `gen_set_var' undeclared here (not in a function)
drivers/video/aty128fb.c:397: initializer element is not constant drivers/video/aty128fb.c:397: (near initialization for `aty128fb_ops.fb_open')
drivers/video/aty128fb.c:400: unknown field `fb_get_cmap' specified in initializer
drivers/video/aty128fb.c:400: gen_get_cmap' undeclared here (not in a function)drivers/video/aty128fb.c:400: initializer element is not constant drivers/video/aty128fb.c:400: (near initialization for aty128fb_ops.fb_cursor')drivers/video/aty128fb.c:401: unknown field fb_set_cmap' specified in initializer drivers/video/aty128fb.c:401: gen_set_cmap' undeclared here (not in a function)drivers/video/aty128fb.c:401: initializer element is not constant drivers/video/aty128fb.c:401: (near initialization for `aty128fb_ops.fb_setcolreg')
drivers/video/aty128fb.c:403: warning: initialization from incompatible pointer
type
drivers/video/aty128fb.c:405: warning: initialization from incompatible pointer
type
drivers/video/aty128fb.c: In function `aty128_init':
drivers/video/aty128fb.c:1510: structure has no member named modename' drivers/video/aty128fb.c:1513: structure has no member named fontname' drivers/video/aty128fb.c:1514: structure has no member named changevar' drivers/video/aty128fb.c:1515: structure has no member named switch_con' drivers/video/aty128fb.c:1515: `gen_switch' undeclared (first use in this function)
drivers/video/aty128fb.c:1515: (Each undeclared identifier is reported only oncedrivers/video/aty128fb.c:1515: for each function it appears in.) drivers/video/aty128fb.c:1516: structure has no member named updatevar' drivers/video/aty128fb.c:1516: gen_update_var' undeclared (first use in this function)
drivers/video/aty128fb.c:1594: warning: implicit declaration of function `gen_set_disp'
drivers/video/aty128fb.c:1597: warning: implicit declaration of function `gen_set_var'
drivers/video/aty128fb.c: In function `aty128_pci_register':
drivers/video/aty128fb.c:1694: structure has no member named disp' drivers/video/aty128fb.c:1730: too many arguments to function aty128find_ROM'
drivers/video/aty128fb.c:1736: warning: passing arg 1 of `aty128_get_pllinfo' from incompatible pointer type drivers/video/aty128fb.c: At top level:
drivers/video/aty128fb.c:1402: warning: `aty128fb_rasterimg' defined but not used
make[2]: *** [drivers/video/aty128fb.o] Error 1
make[1]: *** [drivers/video] Error 2
make: *** [drivers] Error 2
[root@marius linux-20021017]#

Err... help?

Yours,

Kev.

Quoted 13 lines

Message: 17
Date: Thu, 17 Oct 2002 11:42:27 -0700 (PDT)
From: James Simmons <[email protected]>
To: Russell King <[email protected]>
cc: Linux Fbdev development list
<[email protected]>,
Linux Kernel Mailing List <[email protected]>, Linux console project <[email protected]>
Subject: Re: [Linux-fbdev-devel] Re: [ANNOUCE] fbdev changes finished.

Quoted 3 lines
Quoted 3 lines

Give it a try. For people who want a diff it is avaiable at

http://phoenix.infradead.org/~jsimmons/fbdev.diff.gz

--
Kev Green, aka Kyrian. Email: kyrian&#64;ore.org Web: http://kyrian.ore.org/
[ Looking for ISP contract work, CV at http://kyrian.ore.org/cv.html ]
"Be excellent to each other" -- Bill & Ted.

-------------------------------------------------------
This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us.
http://ad.doubleclick.net/clk;4749864;7604308;v?
http://www.viaverio.com/consolidator/osdn.cfm

#2 lore raw

I'm working on it. I did some testing yesterday on the aty128 driver from Paul Mundt and Paul from samba.org. Give me a few a days.

MS: (n) 1. A debilitating and surprisingly widespread affliction that renders the sufferer barely able to perform the simplest task. 2. A disease.

James Simmons  [[email protected]] 	                ____/|
fbdev/console/gfx developer                             \ o.O|

http://www.linux-fbdev.org =(_)=
http://linuxgfx.sourceforge.net U
http://linuxconsole.sourceforge.net

Quoted 104 lines · Kyrian

Assuming this is a better place to post fbdev issues than the kernel devel list (someone let me know if not please? and/or point me to a more appropriate place to post?)

Basically I still can't get the aty128fb.c driver to compile, for what still look like API change reasons, even having downloaded the kernel from BitKeeper again after receiving the below announcement from James...

gcc -Wp,-MD,drivers/video/.aty128fb.o.d -D__KERNEL__ -Iinclude -Wall

(quoted diff) +0 -4
-Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer
-fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2
-march=k6 -Iarch/i386/mach-generic -nostdinc -iwithprefix include
-DKBUILD_BASENAME=aty128fb   -c -o drivers/video/aty128fb.o

drivers/video/aty128fb.c
drivers/video/aty128fb.c:85:30: video/fbcon-cfb8.h: No such file or directory
drivers/video/aty128fb.c:86:31: video/fbcon-cfb16.h: No such file or directory
drivers/video/aty128fb.c:87:31: video/fbcon-cfb24.h: No such file or directory
drivers/video/aty128fb.c:88:31: video/fbcon-cfb32.h: No such file or directory
drivers/video/aty128fb.c:397: unknown field `fb_set_var' specified in initializer
drivers/video/aty128fb.c:397: `gen_set_var' undeclared here (not in a function)
drivers/video/aty128fb.c:397: initializer element is not constant drivers/video/aty128fb.c:397: (near initialization for `aty128fb_ops.fb_open')
drivers/video/aty128fb.c:400: unknown field `fb_get_cmap' specified in initializer
drivers/video/aty128fb.c:400: gen_get_cmap' undeclared here (not in a function)drivers/video/aty128fb.c:400: initializer element is not constant drivers/video/aty128fb.c:400: (near initialization for aty128fb_ops.fb_cursor')drivers/video/aty128fb.c:401: unknown field fb_set_cmap' specified in initializer drivers/video/aty128fb.c:401: gen_set_cmap' undeclared here (not in a function)drivers/video/aty128fb.c:401: initializer element is not constant drivers/video/aty128fb.c:401: (near initialization for `aty128fb_ops.fb_setcolreg')
drivers/video/aty128fb.c:403: warning: initialization from incompatible pointer
type
drivers/video/aty128fb.c:405: warning: initialization from incompatible pointer
type
drivers/video/aty128fb.c: In function `aty128_init':
drivers/video/aty128fb.c:1510: structure has no member named modename' drivers/video/aty128fb.c:1513: structure has no member named fontname' drivers/video/aty128fb.c:1514: structure has no member named changevar' drivers/video/aty128fb.c:1515: structure has no member named switch_con' drivers/video/aty128fb.c:1515: `gen_switch' undeclared (first use in this function)
drivers/video/aty128fb.c:1515: (Each undeclared identifier is reported only oncedrivers/video/aty128fb.c:1515: for each function it appears in.) drivers/video/aty128fb.c:1516: structure has no member named updatevar' drivers/video/aty128fb.c:1516: gen_update_var' undeclared (first use in this function)
drivers/video/aty128fb.c:1594: warning: implicit declaration of function `gen_set_disp'
drivers/video/aty128fb.c:1597: warning: implicit declaration of function `gen_set_var'
drivers/video/aty128fb.c: In function `aty128_pci_register':
drivers/video/aty128fb.c:1694: structure has no member named disp' drivers/video/aty128fb.c:1730: too many arguments to function aty128find_ROM'
drivers/video/aty128fb.c:1736: warning: passing arg 1 of `aty128_get_pllinfo' from incompatible pointer type drivers/video/aty128fb.c: At top level:
drivers/video/aty128fb.c:1402: warning: `aty128fb_rasterimg' defined but not used
make[2]: *** [drivers/video/aty128fb.o] Error 1
make[1]: *** [drivers/video] Error 2
make: *** [drivers] Error 2
[root@marius linux-20021017]#

Err... help?

Yours,

Kev.

Quoted 13 lines

Message: 17
Date: Thu, 17 Oct 2002 11:42:27 -0700 (PDT)
From: James Simmons <[email protected]>
To: Russell King <[email protected]>
cc: Linux Fbdev development list
<[email protected]>,
Linux Kernel Mailing List <[email protected]>, Linux console project <[email protected]>
Subject: Re: [Linux-fbdev-devel] Re: [ANNOUCE] fbdev changes finished.

Quoted 3 lines
Quoted 3 lines

Give it a try. For people who want a diff it is avaiable at

http://phoenix.infradead.org/~jsimmons/fbdev.diff.gz

--
Kev Green, aka Kyrian. Email: kyrian&#64;ore.org Web: http://kyrian.ore.org/
[ Looking for ISP contract work, CV at http://kyrian.ore.org/cv.html ]
"Be excellent to each other" -- Bill & Ted.

Quoted 10 lines

-------------------------------------------------------
This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us.
http://ad.doubleclick.net/clk;4749864;7604308;v?
http://www.viaverio.com/consolidator/osdn.cfm
_______________________________________________
Linux-fbdev-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/linux-fbdev-devel

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf