From: Peter Asemann <peter.asemann@web.de>
To: linuxppc-embedded@ozlabs.org
Subject: problem compiling linux with ELDK: `bd_t' undeclared
Date: Fri, 29 Apr 2005 17:47:01 +0200 [thread overview]
Message-ID: <427256F5.8080903@web.de> (raw)
Hi there!
I'm having a problem compiling Linux 2.4.25 as included in ELDK version
3.1 / Build 2004-11-10.
When trying to compile ppc_8xx/usr/src/linux-2.4.25/drivers/char/flash.c
it throws an error:
ppc_8xx-gcc -D__KERNEL__
-I/opt/asemann/eldk/ppc_8xx/usr/src/linux-2.4.25/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-fomit-frame-pointer
-I/opt/asemann/eldk/ppc_8xx/usr/src/linux-2.4.25/arch/ppc -fsigned-char
-msoft-float -pipe -ffixed-r2 -Wno-uninitialized -mmultiple -mstring
-nostdinc -I /opt/asemann/eldk/usr/lib/gcc-lib/ppc-linux/3.3.3/include
-DKBUILD_BASENAME=flash -c -o flash.o flash.c
flash.c: In function `flash_init':
flash.c:446: error: `bd_t' undeclared (first use in this function)
flash.c:446: error: (Each undeclared identifier is reported only once
flash.c:446: error: for each function it appears in.)
flash.c:446: error: `bd' undeclared (first use in this function)
flash.c:446: error: parse error before ')' token
make[3]: *** [flash.o] Error 1
It looks like it misses ppcboot.h or something. Is there something I
need to select in the kernel configuration to get rid of that error?
Thanks for reading,
Peter Asemann
next reply other threads:[~2005-04-29 15:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-29 15:47 Peter Asemann [this message]
2005-04-29 20:55 ` problem compiling linux with ELDK: `bd_t' undeclared Wolfgang Denk
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=427256F5.8080903@web.de \
--to=peter.asemann@web.de \
--cc=linuxppc-embedded@ozlabs.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).