[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[microblaze-uclinux] Kernel/Dist source checkout -and- kernel build under new toolset
Hi all,
Just like to get some comments on whether or not I'm using a "new-enough"
kernel/dist source checkout. Trying out the new toolchain per John's
instructions, and having some bumps.
I've got:
cd /opt
cvs -d:pserver:anonymous@cvs.uclinux.org:/var/cvs login
cvs -z3 -d:pserver:anonymous@cvs.uclinux.org:var/cvs
co -ruClinux-dist-20041215 uClinux-dist
cvs -z3 -d:pserver:anonymous@cvs.uclinux.org:var/cvs
co -rbefore-snapgear-code-sync-20050504 uClinux-2.4.x
cd /opt/uClinux-2.4.x
cvs update -d -D'July 12 2005'
cd /opt/uClinux-dist
ln -s ../uClinux-2.4.x linux-2.4.x
Then I apply David Banas' patches for the NuHo S3-2000 board:
patch -p 0 -b < NuHo_S3-2000_uClinux-2.4.x.patch
patch -p 0 -b < NuHo_S3-2000_uClinux-dist.patch
... and unzip his config setups:
tar xf NuHo_S3-2000_uClinux_config.tar
With the old toolchain, can build a kernel just fine. With the new
toolchain, I do:
make clean
... delete the microblaze_defs.d and .h per John's instructions
make menuconfig
make dep
make
<-- and it craps out early in make while trying to compile "init/main.c"
giving:
/opt/uClinux-2.4.x/include/linux/autoconf.h:42: error: parse error before
')' token
... and a bunch of follow-on similar stuff
... put the old toolchain back, and all is cool.
Thots anyone??
Jim Law
Iris Power
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@itee.uq.edu.au
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/