public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
From: Thomas Maenner <tmaenner@aehr•com>
To: linuxppc-embedded@ozlabs•org
Subject: ELDK4.1, TQM860L, Kernel 2.6.19
Date: Mon, 19 Mar 2007 21:21:01 -0700	[thread overview]
Message-ID: <200703192121.01939.tmaenner@aehr.com> (raw)

Hi,

I've downloaded ELDK4.1 and tried to compile the included kernel 2.6.19.2 
with:
make mrproper
make TQM860L_defconfig
make
(No other changes)

At the end of the compile I get:
---snip---
  UIMAGE  arch/ppc/boot/images/uImage
Image Name:   Linux-2.6.19.2
Created:      Mon Mar 19 15:50:14 2007
Image Type:   PowerPC Linux Kernel Image (gzip compressed)
Data Size:    979098 Bytes = 956.15 kB = 0.93 MB
Load Address: 0x00000000
Entry Point:  0x00000000
  Image: arch/ppc/boot/images/uImage is ready
  AS      arch/ppc/boot/simple/head.o
  AS      arch/ppc/boot/simple/relocate.o
  CC      arch/ppc/boot/simple/misc-embedded.o
  CC      arch/ppc/boot/simple/embed_config.o
arch/ppc/boot/simple/embed_config.c:31: warning: 'bdinfo' defined but not used
arch/ppc/boot/simple/embed_config.c:44: warning: 'def_enet_addr' defined but 
not used
  CC      arch/ppc/boot/simple/m8xx_tty.o
arch/ppc/boot/simple/m8xx_tty.c:32: error: static declaration of 'cpmp' 
follows non-static declaration
include/asm/commproc.h:74: error: previous declaration of 'cpmp' was here
make[2]: *** [arch/ppc/boot/simple/m8xx_tty.o] Error 1
make[1]: *** [simple] Error 2
make: *** [zImage] Error 2
-------

Just in order to get it to compile, I took out static in 
arch/ppc/boot/simple/m8xx_tty.c:
line 32: cpm8xx_t        *cpmp = (cpm8xx_t *)&(((immap_t 
*)IMAP_ADDR)->im_cpm);

BTW, same thing happens if TQM823 config is used.

I'm probably doing something wrong here... ;)

Thanks for your help
Tom
-- 
Thomas Maenner
E-Mail: mailto:tmaenner@aehr•com

             reply	other threads:[~2007-03-20  4:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-20  4:21 Thomas Maenner [this message]
2007-03-20 15:26 ` ELDK4.1, TQM860L, Kernel 2.6.19 Vitaly Bordug
2007-03-20 19:33   ` Thomas Maenner

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=200703192121.01939.tmaenner@aehr.com \
    --to=tmaenner@aehr$(echo .)com \
    --cc=linuxppc-embedded@ozlabs$(echo .)org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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