From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.183]) by ozlabs.org (Postfix) with ESMTP id D9C53DDF80 for ; Tue, 8 Apr 2008 08:36:11 +1000 (EST) Received: by py-out-1112.google.com with SMTP id z59so1750974pyg.27 for ; Mon, 07 Apr 2008 15:36:10 -0700 (PDT) Message-ID: <800687fe0804071536t1f94e1a0x793bd39836dc09d2@mail.gmail.com> Date: Mon, 7 Apr 2008 16:36:09 -0600 From: "Sam Karp" To: linuxppc-embedded@ozlabs.org Subject: Kernel 2.6.23 Error with make bzImage MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_6279_21519902.1207607769765" List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , ------=_Part_6279_21519902.1207607769765 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline I've been trying to build the linux 2.6.23 kernel for the PPC405 on the xilinx ml403. I copied over my xparameters.h and xparameters_ml40x.h files and added the following options through menuconfig. Enable loadable module support: DISABLE Processor: - Type 40x - Math emulation: ENABLE - IBM 40x options: - Machine Type: "Xilinx-ML403" Platform options: - Kernel command line: "console=ttyUL0 root=/dev/ram" Bus options: - PCI support: DISABLE - PCCARD (PCMCIA/CardBus) support: - PCCARD (PCMCIA/CardBus) support: DISABLE Drivers - Block Devices: - Xilinx SystemACE support: ENABLE - Character devices: - Serial drivers: - Xilinx uartlite serial port support: ENABLE - Support for console on Xilinx uartlite serial port: ENABLE I then ran make bzImage and got the following errors. I'm guessing there are two options I chose that conflict. Any insight? CC arch/powerpc/kernel/swsusp.o arch/powerpc/kernel/swsusp.c 19 error: redefinition of 'save_processor_state' include/asm/suspend.h 7 : previous definition of 'save_processor_state' was here arch/powerpc/kernel/swsusp.c 35 error: redefinition of 'restore_processor_state' include/asm/suspend.h 11 : previous definition of 'restore_processor_state' was here Thanks, Sam ------=_Part_6279_21519902.1207607769765 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline I've been trying to build the linux 2.6.23 kernel for the PPC405 on the xilinx ml403.  I copied over my xparameters.h and xparameters_ml40x.h files and added the following options through menuconfig. 
  • Enable loadable module support: DISABLE
  • Processor:
    • Type 40x
    • Math emulation: ENABLE
    • IBM 40x options:
      • Machine Type: "Xilinx-ML403"
  • Platform options:
    • Kernel command line: "console=ttyUL0 root=/dev/ram" 
  • Bus options:
    • PCI support: DISABLE
    • PCCARD (PCMCIA/CardBus) support:
      • PCCARD (PCMCIA/CardBus) support: DISABLE
  • Drivers
    • Block Devices:
      • Xilinx SystemACE support: ENABLE
    • Character devices:
      • Serial drivers:
        • Xilinx uartlite serial port support: ENABLE
        • Support for console on Xilinx uartlite serial port: ENABLE
  • I then ran make bzImage and got the following errors.  I'm guessing there are two options I chose that conflict.  Any insight?
     
     CC arch/powerpc/kernel/swsusp.o
    arch/powerpc/kernel/swsusp.c 19 error: redefinition of 'save_processor_state'
    include/asm/suspend.h 7  : previous definition of 'save_processor_state' was here
    arch/powerpc/kernel/swsusp.c 35 error: redefinition of 'restore_processor_state'
    include/asm/suspend.h 11  : previous definition of 'restore_processor_state' was here 
     
    Thanks,
    Sam
    ------=_Part_6279_21519902.1207607769765--