Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Jurgen Kramer <GTM.Kramer@inter.nl.net>
To: axp-list@redhat.com
Subject: Re: req for testers:  2.2.x fbcon alpha fixes
Date: Sun, 27 Jun 1999 13:32:34 +0200	[thread overview]
Message-ID: <37760BD1.D8BB614@inter.nl.net> (raw)
In-Reply-To: 37756040.74136AE2@pobox.com

Hi,

Unfortunately it still doesn't work. The funtion writel_na and relatives are all
external funtions and can not be found by the linker. Here is the output:

<snip>
make all_targets
make[3]: Entering directory `/usr/src/linux-2.2/drivers/video'
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -pipe -mno-fp-regs -ffixed-8 -mcpu=ev56 -Wa,-m21164a
-DBWIO_ENABLED   -DEXPORT_SYMTAB -c fbcon.c
fbcon.c: In function `fbcon_show_logo':
fbcon.c:2050: warning: implicit declaration of function `writel_na'
fbcon.c:2058: warning: passing arg 2 of `pyxis_bw_writeb' makes integer from pointer
without a cast
fbcon.c:2080: warning: passing arg 2 of `pyxis_bw_writeb' makes integer from pointer
without a cast
fbcon.c:2090: warning: passing arg 2 of `pyxis_bw_writeb' makes integer from pointer
without a cast
fbcon.c:2132: warning: passing arg 2 of `pyxis_bw_writeb' makes integer from pointer
without a cast
fbcon.c:2161: warning: passing arg 2 of `pyxis_bw_writeb' makes integer from pointer
without a cast
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -pipe -mno-fp-regs -ffixed-8 -mcpu=ev56 -Wa,-m21164a
-DBWIO_ENABLED   -DEXPORT_SYMTAB -c fbmem.c
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -pipe -mno-fp-regs -ffixed-8 -mcpu=ev56 -Wa,-m21164a
-DBWIO_ENABLED   -DEXPORT_SYMTAB -c fbcon-cfb8.c
fbcon-cfb8.c: In function `fbcon_cfb8_putc':
fbcon-cfb8.c:136: warning: implicit declaration of function `writel_na'
fbcon-cfb8.c: In function `fbcon_cfb8_revc':
fbcon-cfb8.c:225: warning: implicit declaration of function `readl_na'
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -pipe -mno-fp-regs -ffixed-8 -mcpu=ev56 -Wa,-m21164a
-DBWIO_ENABLED   -DEXPORT_SYMTAB -c fbcon-cfb16.c
fbcon-cfb16.c: In function `rectfill':
fbcon-cfb16.c:93: warning: implicit declaration of function `writel_na'
fbcon-cfb16.c:99: warning: passing arg 2 of `scr_writew' from incompatible pointer type
fbcon-cfb16.c: In function `fbcon_cfb16_revc':
fbcon-cfb16.c:239: warning: implicit declaration of function `readl_na'
<snip>

I tried to (quickly) locate the real write function but could not find it in all the
_write __write etc. spaghetti.


Jurgen


Jeff Garzik wrote:

> Jurgen Kramer wrote:
> >
> > Hi,
> >
> > I just tested your patch but unfortunately it does not compile. It goes wrong
> > when linking the kernel.
>
> Oops, that is an artifact of a [supposedly] unrelated includes change in
> my tree.
>
> To fix, simply add
>
>         #include <asm/io.h>
>
> to fbcon.c and fbcon-cfb*.c.
>
> I am regenerating the patch, and should be up soon as
> http://havoc.gtf.org/garzik/kernel/files/UNTESTED/2.2.10-fbcon-cfb-alpha-fixes-3.bz2
>
> Thanks!
>
>         Jeff
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com


  reply	other threads:[~1999-06-27 12:26 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-06-26 20:22 req for testers: 2.2.x fbcon alpha fixes Jeff Garzik
1999-06-26 22:13 ` Jurgen Kramer
1999-06-26 23:20   ` Jeff Garzik
1999-06-27 11:32     ` Jurgen Kramer [this message]
1999-06-27 15:22       ` req for testers: 2.2.x fbcon alpha fixesZ Jeff Garzik
1999-06-27 16:25         ` Jurgen Kramer
1999-06-27 17:23           ` Jeff Garzik
1999-06-27 18:32             ` Quant-X Alpha Linux Support
1999-06-27 19:37             ` Jurgen Kramer
1999-06-27 23:21               ` Quant-X Alpha Linux Support
1999-06-27 20:15             ` Richard Henderson
1999-06-28  1:28               ` Jeff Garzik
1999-06-27 17:39           ` Quant-X Alpha Linux Support
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox