Mailing List Archive

2.6.9-gentoo-r4 kernel on Alpha issues?
I'm currently running 2.6.8-gentoo-r10 on my alpha. Anyone had success with
a 2.6.9 kernel on Alpha?

I've tried building a 2.6.9-gentoo-r4 kernel and am getting compile time
errors.

AS arch/alpha/lib/stxncpy.o
CC arch/alpha/lib/udelay.o
AR arch/alpha/lib/lib.a
GEN .version
CHK include/linux/compile.h
UPD include/linux/compile.h
CC init/version.o
LD init/built-in.o
LD .tmp_vmlinux1
drivers/built-in.o(.text+0x2fd2c): In function `fb_mmap':
include/asm/io.h:73: undefined reference to `__ioremap'
drivers/built-in.o(.text+0x2fd3c):include/asm/io.h:73: undefined reference
to `__ioremap'
make: *** [.tmp_vmlinux1] Error 1
* Gentoo Linux Genkernel; Version 3.1.0a

* ERROR: Failed to compile the "boot" target...
* -- Grepping log... --
* -- End log... --
* Please consult /var/log/genkernel.log for more information and any
* errors that were reported above.
* Report any genkernel bugs to bugs.gentoo.org and
* assign your bug to genkernel@gentoo.org. Please include
* as much information as you can in your bug report; attaching
* /var/log/genkernel.log so that your issue can be dealt with effectively.
*
* Please do *not* report compilation failures as genkernel bugs!



--
gentoo-alpha@gentoo.org mailing list
RE: 2.6.9-gentoo-r4 kernel on Alpha issues? [ In reply to ]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Found via a google search that the kernel folks removed a reference
to the internal __ioremap function in the asm-alpha/io.h header.

Am Fr, den 22.10.2004 schrieb Alexander Rauth um 10:05:
> In 2.6.9 __ioremap( ) is gone in include/asm-alpha/io.h resp. the
> #define that linked alphas generic ioremap was deleted
>
> Which brakes build on alpha.
> Could we revert the cleanup that caused this????
> Or complete it ????
I forgot the compile log ...
CHK include/linux/compile.h
UPD include/linux/compile.h
CC init/version.o
LD init/built-in.o
LD .tmp_vmlinux1
drivers/built-in.o(.text+0xdbac): In function `fb_mmap':
include/asm/io.h:73: undefined reference to `__ioremap'
drivers/built-in.o(.text+0xdbbc):include/asm/io.h:73: undefined
reference to `__ioremap'
make: *** [.tmp_vmlinux1] Error 1

adding following line to include/asm-alpha/io.h fixed compile:

#define __ioremap(a,s) alpha_mv.mv_ioremap((unsigned long)(a),(s))

-----BEGIN PGP SIGNATURE-----
Version: PGP 8.1

iQA/AwUBQaId1/Z0qmLutBiIEQLPQACgyUBJjN8z7COqrSz40XLimIDAhkQAoP66
cMuOwoIO/x63Uumn0hqj6DCk
=3e5z
-----END PGP SIGNATURE-----


--
gentoo-alpha@gentoo.org mailing list