linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Jon Diekemea <diekema_jon@si.com>
To: Julia Elbert <jelbert@enerdyne.com>
Cc: linuxppc-embedded@lists.linuxppc.org
Subject: Re: Problem compiling arch/ppc/kernel/ppc_ksyms.c with Linux 2.4.0-test1-ac18
Date: Mon, 10 Jul 2000 19:37:49 -0400	[thread overview]
Message-ID: <396A5E4C.94DBE439@si.com> (raw)
In-Reply-To: 67505026E29DD311A9AA00508B7315F3195628@EXCHANGE


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/

       reply	other threads:[~2000-07-10 23:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <67505026E29DD311A9AA00508B7315F3195628@EXCHANGE>
2000-07-10 23:37 ` Jon Diekemea [this message]
2000-06-16 14:51 Problem compiling arch/ppc/kernel/ppc_ksyms.c with Linux 2.4.0-test1-ac18 diekema_jon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=396A5E4C.94DBE439@si.com \
    --to=diekema_jon@si.com \
    --cc=jelbert@enerdyne.com \
    --cc=linuxppc-embedded@lists.linuxppc.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).