* Problem compiling arch/ppc/kernel/ppc_ksyms.c with Linux 2.4.0-test1-ac18
@ 2000-06-16 14:51 diekema_jon
0 siblings, 0 replies; 2+ messages in thread
From: diekema_jon @ 2000-06-16 14:51 UTC (permalink / raw)
To: linuxppc-embedded, dan_malek; +Cc: all
To: linuxppc-embedded@lists.linuxppc.org,dan_malek@mvista.com
Problem compiling arch/ppc/kernel/ppc_ksyms.c:
Linux: 2.4.0-test1-ac18
gmake -C arch/ppc/kernel
gmake[1]: Entering directory `/usr/people/diekema/bk/linux-2.3/arch/ppc/kernel'
multiple -mstring -S mk_defs.c
cp ppc_defs.head ppc_defs.h
chmod u+w ppc_defs.h
grep '^#define' mk_defs.s >> ppc_defs.h
rm mk_defs.s
multiple -mstring -D__ASSEMBLY__ -c head.S -o head.o
multiple -mstring -DEXPORT_SYMTAB -c ppc_ksyms.c
ppc_ksyms.c:86: `isa_io_base' undeclared here (not in a function)
ppc_ksyms.c:86: initializer element is not constant
ppc_ksyms.c:86: (near initialization for `__ksymtab_isa_io_base.value')
ppc_ksyms.c:87: `isa_mem_base' undeclared here (not in a function)
ppc_ksyms.c:87: initializer element is not constant
ppc_ksyms.c:87: (near initialization for `__ksymtab_isa_mem_base.value')
ppc_ksyms.c:88: `pci_dram_offset' undeclared here (not in a function)
ppc_ksyms.c:88: initializer element is not constant
ppc_ksyms.c:88: (near initialization for `__ksymtab_pci_dram_offset.value')
gmake[1]: *** [ppc_ksyms.o] Error 1
gmake[1]: Leaving directory `/usr/people/diekema/bk/linux-2.3/arch/ppc/kernel'
gmake: *** [_dir_arch/ppc/kernel] Error 2
Here is the .config file I am using:
# grep -v '^#' .config | uniq | grep -v MBXBOOT_
CONFIG_EXPERIMENTAL=y
CONFIG_PPC=y
CONFIG_8260=y
CONFIG_6xx=y
CONFIG_SERIAL_CONSOLE=y
CONFIG_EST8260=y
CONFIG_MACH_SPECIFIC=y
CONFIG_MODULES=y
CONFIG_KMOD=y
CONFIG_NET=y
CONFIG_SYSCTL=y
CONFIG_SYSVIPC=y
CONFIG_KCORE_ELF=y
CONFIG_BINFMT_ELF=y
CONFIG_KERNEL_ELF=y
CONFIG_BINFMT_MISC=y
CONFIG_BLK_DEV_LOOP=y
CONFIG_BLK_DEV_RAM=y
CONFIG_BLK_DEV_RAM_SIZE=4096
CONFIG_BLK_DEV_INITRD=y
CONFIG_PACKET=y
CONFIG_NETLINK=y
CONFIG_UNIX=y
CONFIG_INET=y
CONFIG_IP_PNP=y
CONFIG_IP_PNP_BOOTP=y
CONFIG_IP_ALIAS=y
CONFIG_NETDEVICES=y
CONFIG_NET_ETHERNET=y
CONFIG_UNIX98_PTYS=y
CONFIG_UNIX98_PTY_COUNT=256
CONFIG_PROC_FS=y
CONFIG_DEVPTS_FS=y
CONFIG_NFS_FS=y
CONFIG_NFS_V3=y
CONFIG_ROOT_NFS=y
CONFIG_SUNRPC=y
CONFIG_LOCKD=y
CONFIG_LOCKD_V4=y
CONFIG_MSDOS_PARTITION=y
CONFIG_SCC_ENET=y
CONFIG_SCC1_ENET=y
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Problem compiling arch/ppc/kernel/ppc_ksyms.c with Linux 2.4.0-test1-ac18
[not found] <67505026E29DD311A9AA00508B7315F3195628@EXCHANGE>
@ 2000-07-10 23:37 ` Jon Diekemea
0 siblings, 0 replies; 2+ messages in thread
From: Jon Diekemea @ 2000-07-10 23:37 UTC (permalink / raw)
To: Julia Elbert; +Cc: linuxppc-embedded
Julia Elbert wrote:
> Did you ever get help on this question? I am having the sam problem?
> If you could share....
> Thanks,
> Julia
>
> -----Original Message-----
> From: diekema@bucks.si.com [mailto:diekema@bucks.si.com]
> Sent: Friday, June 16, 2000 7:52 AM
> To: linuxppc-embedded@lists.linuxppc.org;
> dan_malek@mvista.com
> Cc: all@cideas.com
> Subject: Problem compiling
> arch/ppc/kernel/ppc_ksyms.c with Linux 2.4.0-test1-ac18
>
> To:
> linuxppc-embedded@lists.linuxppc.org,dan_malek@mvista.com
>
> Problem compiling arch/ppc/kernel/ppc_ksyms.c:
>
> Linux: 2.4.0-test1-ac18
>
> gmake -C arch/ppc/kernel
> gmake[1]: Entering directory
> `/usr/people/diekema/bk/linux-2.3/arch/ppc/kernel'
> multiple -mstring -S mk_defs.c
> cp ppc_defs.head ppc_defs.h
> chmod u+w ppc_defs.h
> grep '^#define' mk_defs.s >> ppc_defs.h
> rm mk_defs.s
> multiple -mstring -D__ASSEMBLY__ -c head.S -o head.o
> multiple -mstring -DEXPORT_SYMTAB -c ppc_ksyms.c
> ppc_ksyms.c:86: `isa_io_base' undeclared here (not in a
> function)
> ppc_ksyms.c:86: initializer element is not constant
> ppc_ksyms.c:86: (near initialization for
> `__ksymtab_isa_io_base.value')
> ppc_ksyms.c:87: `isa_mem_base' undeclared here (not in a
> function)
> ppc_ksyms.c:87: initializer element is not constant
> ppc_ksyms.c:87: (near initialization for
> `__ksymtab_isa_mem_base.value')
> ppc_ksyms.c:88: `pci_dram_offset' undeclared here (not in a
> function)
> ppc_ksyms.c:88: initializer element is not constant
> ppc_ksyms.c:88: (near initialization for
> `__ksymtab_pci_dram_offset.value')
> gmake[1]: *** [ppc_ksyms.o] Error 1
> gmake[1]: Leaving directory
> `/usr/people/diekema/bk/linux-2.3/arch/ppc/kernel'
> gmake: *** [_dir_arch/ppc/kernel] Error 2
>
Here is a patch that avoids the problem:
===== ppc_ksyms.c 1.36 vs 1.37 =====
--- 1.36/arch/ppc/kernel/ppc_ksyms.c Fri Jun 16 10:23:38 2000
+++ 1.37/arch/ppc/kernel/ppc_ksyms.c Fri Jun 16 10:54:43 2000
@@ -82,7 +82,7 @@
EXPORT_SYMBOL(kernel_flag);
#endif /* CONFIG_SMP */
-#if !defined(CONFIG_4xx) && !defined(CONFIG_8xx)
+#if !defined(CONFIG_4xx) && !defined(CONFIG_8xx) && !defined(CONFIG_8260)
EXPORT_SYMBOL(isa_io_base);
EXPORT_SYMBOL(isa_mem_base);
EXPORT_SYMBOL(pci_dram_offset);
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2000-07-10 23:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-06-16 14:51 Problem compiling arch/ppc/kernel/ppc_ksyms.c with Linux 2.4.0-test1-ac18 diekema_jon
[not found] <67505026E29DD311A9AA00508B7315F3195628@EXCHANGE>
2000-07-10 23:37 ` Jon Diekemea
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).