RE: Will's kernel compilation error
From: Will L Givens
Date: Mon Mar 15 2010 - 22:35:17 EST
> > AS arch/alpha/lib/strncpy.o
> > CC arch/alpha/lib/udelay.o
> > AR arch/alpha/lib/lib.a
> > LD vmlinux.o
> > MODPOST vmlinux.o
> > WARNING: modpost: Found 1 section mismatch(es).
> > To see full details build your kernel with:
> > 'make CONFIG_DEBUG_SECTION_MISMATCH=y'
> > GEN .version
> > CHK include/generated/compile.h
> > UPD include/generated/compile.h
> > CC init/version.o
> > LD init/built-in.o
> > LD .tmp_vmlinux1
> > kernel/built-in.o: In function `kthread_create':
> > (.text+0x1ece4): relocation truncated to fit: GPREL16 against symbol
> > `kthreadd_task' defined in .sbss section in kernel/built-in.o
> > kernel/built-in.o: In function `check_cpu_itimer':
> > (.text+0x21784): relocation truncated to fit: GPREL16 against `.sbss'
> > kernel/built-in.o: In function `check_cpu_itimer':
> > (.text+0x2179c): relocation truncated to fit: GPREL16 against `.sbss'
> > kernel/built-in.o: In function `free_nsproxy':
> > (.text+0x23064): relocation truncated to fit: GPREL16 against `.sbss'
> > kernel/built-in.o: In function `create_new_namespaces':
> > (.text+0x230a4): relocation truncated to fit: GPREL16 against `.sbss'
> > kernel/built-in.o: In function `create_new_namespaces':
> > (.text+0x23254): relocation truncated to fit: GPREL16 against `.sbss'
Found a patch for the 'section mismatch'... the GPREL16 error still remains
though.
[root@jericho linux]# cat ../kernels/linux-2.6.x-PCI_REGISER_SET_VGA.patch
---
a/drivers/pci/pci.c~pci-kill-off-pci_register_set_vga_state-symbol-export
+++ a/drivers/pci/pci.c
@@ -3023,7 +3023,6 @@ EXPORT_SYMBOL(pcim_pin_device);
EXPORT_SYMBOL(pci_disable_device);
EXPORT_SYMBOL(pci_find_capability);
EXPORT_SYMBOL(pci_bus_find_capability);
-EXPORT_SYMBOL(pci_register_set_vga_state);
EXPORT_SYMBOL(pci_release_regions);
EXPORT_SYMBOL(pci_request_regions);
EXPORT_SYMBOL(pci_request_regions_exclusive);
--
To unsubscribe from this list: send the line "unsubscribe linux-alpha" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html