From: Pete Flugstad <pete_flugstad@icon-labs.com>
To: linuxppc-embedded@lists.linuxppc.org
Subject: problem compiling linuxppc_2_4_devel for MBX
Date: Tue, 07 May 2002 14:34:35 -0500 [thread overview]
Message-ID: <3CD82C4B.60606@icon-labs.com> (raw)
Greetings,
I'm attempting to build a snapshot of the linuxppc_2_4_devel
for the MBX board, and I'm getting a compile error. I've setup
the binutils and cross-compiler for powerpc-linux and that all
went without a hitch. I grabbed a snapshot of the PPC tree using
BK:
bk clone bk://ppc.bkserver.net/linuxppc_2_4_devel linuxppc_2_4_devel
Then I did a "bk -r co" to get all the files in place (that step
should be documented somewhere - maybe on the "getting the kernel
page": http://penguinppc.org/dev/kernel.shtml ).
I did (is the "mbx_config" step documented anywhere?):
make mbx_config
make oldconfig
make menuconfig -- update to taste/needs
make dep
make clean
make zImage
The make zImage fails:
> make[1]: Entering directory `/home/pete/powerpc-linux/linuxppc_2_4_devel/arch/ppc/kernel'
> powerpc-linux-gcc -D__KERNEL__ -I/home/pete/powerpc-linux/linuxppc_2_4_devel/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -I/home/pete/powerpc-linux/linuxppc_2_4_devel/arch/ppc -fsigned-char -msoft-float -pipe -ffixed-r2 -Wno-uninitialized -mmultiple -mstring -nostdinc -I /usr/local/lib/gcc-lib/powerpc-linux/2.95.3/include -DKBUILD_BASENAME=m8xx_setup -c -o m8xx_setup.o m8xx_setup.c
> m8xx_setup.c: In function `m8xx_init_IRQ':
> m8xx_setup.c:285: structure has no member named `irq_offset'
> m8xx_setup.c:286: too few arguments to function `i8259_init'
> m8xx_setup.c: In function `platform_init':
> m8xx_setup.c:361: warning: implicit declaration of function `m8xx_setup_pci_ptrs'
> make[1]: *** [m8xx_setup.o] Error 1
> make[1]: Leaving directory `/home/pete/powerpc-linux/linuxppc_2_4_devel/arch/ppc/kernel'
> make: *** [_dir_arch/ppc/kernel] Error 2
Looks like something changed drastically in the generic kernel
sources somewhere? The i8259_pic structure doesn't have anything
even resembling an "irq_offset" member.
Would I be better off dropping back to linuxppc_2_4 (stable), or is
that going to fail on me as well?
Thanks,
Pete Flugstad
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
next reply other threads:[~2002-05-07 19:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-07 19:34 Pete Flugstad [this message]
2002-05-07 19:44 ` problem compiling linuxppc_2_4_devel for MBX Dan Malek
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=3CD82C4B.60606@icon-labs.com \
--to=pete_flugstad@icon-labs.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).