From: Alex Shnitman <hidden> Date: 2001-03-29 14:33:04
Hi, Mark!
On Wed, Mar 28, 2001 at 02:10:33PM -0700, you wrote the following:
That version of the kernel does have problems. Get the latest linuxppc_2_5
source and try that. I haven't tested the last couple weeks but before then,
it was very solid. Sandpoint support is in it.
I've just tried it. I downloaded the tree with bitkeeper, and applied
sp_patch_25, but got the following linking errors at the final stage
of the compilation:
arch/ppc/kernel/kernel.o: In function `lookup_partitions':
arch/ppc/kernel/kernel.o(.text+0x9046): undefined reference to `pmac_newworld'
arch/ppc/kernel/kernel.o(.text+0x904a): undefined reference to `pmac_newworld'
arch/ppc/kernel/kernel.o: In function `sandpoint_get_irq':
arch/ppc/kernel/kernel.o(.text+0x95fc): undefined reference to `openpic_irq'
arch/ppc/kernel/kernel.o(.text+0x95fc): relocation truncated to fit: R_PPC_REL24 openpic_irq
arch/ppc/kernel/kernel.o(.text+0x9620): undefined reference to `openpic_eoi'
arch/ppc/kernel/kernel.o(.text+0x9620): relocation truncated to fit: R_PPC_REL24 openpic_eoi
arch/ppc/kernel/kernel.o: In function `sandpoint_post_irq':
arch/ppc/kernel/kernel.o(.text+0x9670): undefined reference to `openpic_eoi'
arch/ppc/kernel/kernel.o(.text+0x9670): relocation truncated to fit: R_PPC_REL24 openpic_eoi
arch/ppc/kernel/kernel.o: In function `pmac_nvram_init':
arch/ppc/kernel/kernel.o(.text.init+0xd20): undefined reference to `find_devices'
arch/ppc/kernel/kernel.o(.text.init+0xd20): relocation truncated to fit: R_PPC_REL24 find_devices
arch/ppc/kernel/kernel.o(.text.init+0xd54): undefined reference to `device_is_compatible'
arch/ppc/kernel/kernel.o(.text.init+0xd54): relocation truncated to fit: R_PPC_REL24 device_is_compatible
arch/ppc/kernel/kernel.o(.text.init+0xe82): undefined reference to `sys_ctrler'
arch/ppc/kernel/kernel.o(.text.init+0xe86): undefined reference to `sys_ctrler'
drivers/video/video.o: In function `chips_init':
drivers/video/video.o(.text.init+0x2e48): undefined reference to `find_devices'
drivers/video/video.o(.text.init+0x2e48): relocation truncated to fit: R_PPC_REL24 find_devices
make: *** [vmlinux] Error 1
--
Alex Shnitman [off-list ref]
http://alexsh.hectic.net/ UIN 188956
PGP 0xEC5D619D / E1 F2 7B 6C A0 31 80 28 63 B8 02 BA 65 C7 8B BA
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
From: Sébastien Côté <hidden> Date: 2001-03-29 16:40:21
Alex Shnitman wrote:
I've just tried it. I downloaded the tree with bitkeeper, and applied
sp_patch_25, but got the following linking errors at the final stage
of the compilation:
I just downloaded 2_5 with Bitkeeper and I got the same problem.
Isn't there any daily snapshots located somewhere?? I can't download
using Bitkeeper from here because of the proxy.
Sébas..
P.S.: Here's the errors I get:
arch/ppc/kernel/kernel.o: In function `sandpoint_get_irq':
arch/ppc/kernel/kernel.o(.text+0x99b8): undefined reference to
`openpic_irq'
arch/ppc/kernel/kernel.o(.text+0x99b8): relocation truncated to fit:
R_PPC_REL24 openpic_irq
arch/ppc/kernel/kernel.o(.text+0x99dc): undefined reference to
`openpic_eoi'
arch/ppc/kernel/kernel.o(.text+0x99dc): relocation truncated to fit:
R_PPC_REL24 openpic_eoi
arch/ppc/kernel/kernel.o: In function `sandpoint_post_irq':
arch/ppc/kernel/kernel.o(.text+0x9a2c): undefined reference to
`openpic_eoi'
arch/ppc/kernel/kernel.o(.text+0x9a2c): relocation truncated to fit:
R_PPC_REL24 openpic_eoi
make: *** [vmlinux] Error 1
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
From: Mark A. Greer <hidden> Date: 2001-03-29 17:29:53
Sigh... :(
Evidently, some [pmac-related] changes have gone in the last 2-3 weeks that have broken things. I'll take a
look at it today or tomorrow.
If you can't wait, its probably not hard to fix. Its likely nothing more than adding some stubs to
ppc_stubs.c
Mark
--
Alex Shnitman wrote:
Hi, Mark!
On Wed, Mar 28, 2001 at 02:10:33PM -0700, you wrote the following:
quoted
That version of the kernel does have problems. Get the latest linuxppc_2_5
source and try that. I haven't tested the last couple weeks but before then,
it was very solid. Sandpoint support is in it.
I've just tried it. I downloaded the tree with bitkeeper, and applied
sp_patch_25, but got the following linking errors at the final stage
of the compilation:
arch/ppc/kernel/kernel.o: In function `lookup_partitions':
arch/ppc/kernel/kernel.o(.text+0x9046): undefined reference to `pmac_newworld'
arch/ppc/kernel/kernel.o(.text+0x904a): undefined reference to `pmac_newworld'
arch/ppc/kernel/kernel.o: In function `sandpoint_get_irq':
arch/ppc/kernel/kernel.o(.text+0x95fc): undefined reference to `openpic_irq'
arch/ppc/kernel/kernel.o(.text+0x95fc): relocation truncated to fit: R_PPC_REL24 openpic_irq
arch/ppc/kernel/kernel.o(.text+0x9620): undefined reference to `openpic_eoi'
arch/ppc/kernel/kernel.o(.text+0x9620): relocation truncated to fit: R_PPC_REL24 openpic_eoi
arch/ppc/kernel/kernel.o: In function `sandpoint_post_irq':
arch/ppc/kernel/kernel.o(.text+0x9670): undefined reference to `openpic_eoi'
arch/ppc/kernel/kernel.o(.text+0x9670): relocation truncated to fit: R_PPC_REL24 openpic_eoi
arch/ppc/kernel/kernel.o: In function `pmac_nvram_init':
arch/ppc/kernel/kernel.o(.text.init+0xd20): undefined reference to `find_devices'
arch/ppc/kernel/kernel.o(.text.init+0xd20): relocation truncated to fit: R_PPC_REL24 find_devices
arch/ppc/kernel/kernel.o(.text.init+0xd54): undefined reference to `device_is_compatible'
arch/ppc/kernel/kernel.o(.text.init+0xd54): relocation truncated to fit: R_PPC_REL24 device_is_compatible
arch/ppc/kernel/kernel.o(.text.init+0xe82): undefined reference to `sys_ctrler'
arch/ppc/kernel/kernel.o(.text.init+0xe86): undefined reference to `sys_ctrler'
drivers/video/video.o: In function `chips_init':
drivers/video/video.o(.text.init+0x2e48): undefined reference to `find_devices'
drivers/video/video.o(.text.init+0x2e48): relocation truncated to fit: R_PPC_REL24 find_devices
make: *** [vmlinux] Error 1
--
Alex Shnitman [off-list ref]
http://alexsh.hectic.net/ UIN 188956
PGP 0xEC5D619D / E1 F2 7B 6C A0 31 80 28 63 B8 02 BA 65 C7 8B BA
--
Mark A. Greer (mgreer@mvista.com; 480-517-0287)
MontaVista Software, Inc.
2141 E. Broadway Road, Suite 108
Tempe, AZ 85282
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
From: Mark A. Greer <hidden> Date: 2001-03-29 18:11:53
Someone "undid" the changes I put in open_pic.c that made openpic_irq() and
openpic_eoi() global (i.e., non-static).
To fix, just go in there & remove the "static" in the prototypes and on the
routines themselves.
BTW, to get a reasonable .config file, type "make sandpoint_config"
Mark
--
Sébastien Côté wrote:
Alex Shnitman wrote:
quoted
I've just tried it. I downloaded the tree with bitkeeper, and applied
sp_patch_25, but got the following linking errors at the final stage
of the compilation:
I just downloaded 2_5 with Bitkeeper and I got the same problem.
Isn't there any daily snapshots located somewhere?? I can't download
using Bitkeeper from here because of the proxy.
Sébas..
P.S.: Here's the errors I get:
arch/ppc/kernel/kernel.o: In function `sandpoint_get_irq':
arch/ppc/kernel/kernel.o(.text+0x99b8): undefined reference to
`openpic_irq'
arch/ppc/kernel/kernel.o(.text+0x99b8): relocation truncated to fit:
R_PPC_REL24 openpic_irq
arch/ppc/kernel/kernel.o(.text+0x99dc): undefined reference to
`openpic_eoi'
arch/ppc/kernel/kernel.o(.text+0x99dc): relocation truncated to fit:
R_PPC_REL24 openpic_eoi
arch/ppc/kernel/kernel.o: In function `sandpoint_post_irq':
arch/ppc/kernel/kernel.o(.text+0x9a2c): undefined reference to
`openpic_eoi'
arch/ppc/kernel/kernel.o(.text+0x9a2c): relocation truncated to fit:
R_PPC_REL24 openpic_eoi
make: *** [vmlinux] Error 1
--
Mark A. Greer (mgreer@mvista.com; 480-517-0287)
MontaVista Software, Inc.
2141 E. Broadway Road, Suite 108
Tempe, AZ 85282
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/