[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [microblaze-uclinux] patch for uClinux-dist-20040218



Hi,
I tried to follow the instructions below to download and patch the -dist and
had little success.
make menuconfig -- ok -all to default
make dep        -- ok
make linux      -- ok
make            -- always ends in an error message like this:

nux-dist/lib/libm -I/home/uC/uClinux-dist/lib/libcrypt_old -I/home/uC/uClinu
x-dist -fno-builtin -mno-xl-soft-mul -mno-xl-soft-div -mxl-barrel-shift -I/h
ome/uC/uClinux-dist/linux-2.4.x/include -DCONSOLE_BAUD_RATE=57600   -c -o
expand.o expand.c
mb-gcc  -O1 -g   -Dlinux -D__linux__ -Dunix -D__uClinux__ -DEMBED -I/home/uC
/uClinux-dist/lib/uClibc/include -I/home/uC/uClinux-dist/lib/libm -I/home/uC
/uClinux-dist/lib/libcrypt_old -I/home/uC/uClinux-dist -fno-builtin -mno-xl-
soft-mul -mno-xl-soft-div -mxl-barrel-shift -I/home/uC/uClinux-dist/linux-2.
4.x/include -Wl,-elf2flt -nostartfiles
/home/uC/uClinux-dist/lib/uClibc/lib/crt0.o -nostdlib -L/home/uC/uClinux-dis
t/lib/uClibc/. -L/home/uC/uClinux-dist/lib/uClibc/lib -L/home/uC/uClinux-dis
t/lib/libm -L/home/uC/uClinux-dist/lib/libnet -L/home/uC/uClinux-dist/lib/li
bdes -L/home/uC/uClinux-dist/lib/libaes -L/home/uC/uClinux-dist/lib/libpcap 
-L/home/uC/uClinux-dist/lib/libssl -L/home/uC/uClinux-dist/lib/libcrypt_old 
-L/home/uC/uClinux-dist/lib/zlib  -o expand expand.o -lc
/usr/local/microblaze-elf-tools/bin/../lib/gcc-lib/microblaze/2.95.3-4/./../
../../../microblaze/lib/libc_hard_shift.a
/usr/local/microblaze-elf-tools/bin/../lib/gcc-lib/microblaze/2.95.3-4/./lib
gcc.a
expand.elf2flt: In function `__fixunsdfsi':
/home/sid/builds/HEAD/env/Jobs/MDT/sw/lin/gnu1/tmp_gcc_src/gcc/libgcc2.c(.te
xt+0x436c): undefined reference to `__fixdfsi'
/home/sid/builds/HEAD/env/Jobs/MDT/sw/lin/gnu1/tmp_gcc_src/gcc/libgcc2.c(.te
xt+0x43a8): undefined reference to `__fixdfsi'
make[2]: *** [expand] Error 1
make[2]: Leaving directory `/home/uC/uClinux-dist/user/init'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/uC/uClinux-dist/user'
make: *** [subdirs] Error 1
HANNES-LX:/home/uC/uClinux-dist #

Is there something wrong with the patch?

Help would be appreciated, as I am now starting back up to get my Spartan
IIE platform to work.

Hannes Meyer


-----Original Message-----
From: owner-microblaze-uclinux@itee.uq.edu.au
[mailto:owner-microblaze-uclinux@itee.uq.edu.au]On Behalf Of John
Williams
Sent: Monday, March 01, 2004 10:19 PM
To: microblaze-uclinux@itee.uq.edu.au
Subject: [microblaze-uclinux] patch for uClinux-dist-20040218


Hi folks,

With reference to my email last week about problems in the latest
uClinux-dist for microblaze...

Attached is a patch for the errors that got through.

You have three choices

1. do nothing!  If you are happy with your current dist, you can keep
using it.  However, upgrading is recommended - more recent uClibc
versions, a few bug fixes and so on..

2. grab the latest uClinux-dist from cvs.uclinux.org, or

3. download the entire distribution tarball from snapgear
(http://www.uclinux.org/pub/uClinux/dist/) or the european mirror
(http://www.esrac.ele.tue.nl/~leon/linux/)

Once it's installed/unpacked, cd into the uClinux-dist directory, and
apply the patch:

[uClinux-dist] $ patch -p0 < microblaze-uClinux-dist-20040218.patch

Note you should not attempt to do a CVS update over an existing
uClinux-dist directory, you will get terrible conflicts and basically
break your old dist.

Once the new dist is installed and patched, regenerate the links to the
uClinux-2.4.x directory inside the dist, copy over any custom user apps
you have written and so on.

Please let me know if you have any problems with the patch.  I've tested
it as best I can here, and it seems fine.

For info on how to link a kernel trree into a dist and so on, consult
the doco on the website:

http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux/documentation/obtaining_
sources.html

Cheers,

John

___________________________
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/