[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [microblaze-uclinux] Compiliation Error
All,
I apologize for my ignorance -- I am new to the world of kernel compiling.
However, I have followed the posted instructions
(http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux/Documentation/index.htm
l) to the letter and, even after applying the provided patch I still receive
compilation errors.
Using the most up-to-date CVS version of the sources and using only the
default options (mbvanilla_net, all defaults) I receive a 'make' error:
http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/archive/2005/02/msg00013.html
When I apply the patch from Yashi
(http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/archive/2005/02/msg0
0014.html) or use the previous kernel version
(http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/archive/2005/02/msg0
0020.html) as directed by Dr. Williams, I receive a different error
complaining about a missing crypt_old library:
http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/archive/2005/02/msg00021.html
And indeed this library, crypt_old, has not been created. When I go into the
lib/libcrypt_old directory and do a 'make' to create the missing library,
the kernel compilation returns yet another error -- segmentation fault,
actually:
mb-gcc -Os -g -fomit-frame-pointer -fno-common -Wall -mno-xl-soft-mul -mx
l-barrel-shift -mno-xl-soft-div -Dlinux -D__linux__ -Dunix -D__uClinux__ -DE
MBED -nostdinc -I/home/scraven/uClinux-dist/include -I/home/scraven/uClinux-
dist/include/include -fno-builtin -Wl,-elf2flt -nostartfiles
/home/scraven/uClinux-dist/lib/crt0.o -L/home/scraven/uClinux-dist/lib -o
boa alias.o auth.o boa.o cgi.o cgi_header.o config.o get.o hash.o globals.o
log.o nls.o pipe.o queue.o read.o request.o response.o signals.o timestamp.o
util.o -lcrypt_old -lc
/usr/local/microblaze-elf-tools//bin/../lib/gcc-lib/microblaze/2.95.3-4/./li
bgcc.a
/usr/local/microblaze-elf-tools//bin/../lib/gcc-lib/microblaze/2.95.3-4/./..
/../../../microblaze/lib/libc_hard_shift.a -lc
/usr/local/microblaze-elf-tools//bin/mb-ld: line 156: 11225 Segmentation
fault $LINKER -r -d -o "$OFILE.elf2flt" $ARG1
I grabbed everything today, including the MB toolchain. Do I need another
patch? Should I be creating the crypt_old library?
Much thanks!
Stephen Craven
Configurable Computing Lab
Virginia Tech
> At Sat, 5 Feb 2005 17:34:32 -0500,
> Stephen Craven wrote:
> [...]
> >
mb-gcc -D__KERNEL__ -I/home/scraven/uClinux-2.4.x/include -Wall -Wstrict-pr
> >
ototypes -Wno-trigraphs -O1 -g -fno-strict-aliasing -fno-common -fno-builtin
>
> -DNO_MM -DNO_FPU -D__ELF__ -DUTS_SYSNAME="uClinux" -D__linux__ -I/usr/loc
al
> >
/microblaze-elf-tools/bin/../lib/gcc-lib/microblaze/2.95.3-4/./include -mno-
> > xl-soft-mul -mno-xl-soft-div -mxl-barrel-shift -nostdinc -iwithprefix
> > include -DKBUILD_BASENAME=kcore -c -o kcore.o kcore.c
> > kcore.c: In function `read_kcore':
> > kcore.c:362: `vmlist_lock' undeclared (first use in this function)
> > kcore.c:362: (Each undeclared identifier is reported only once
> > kcore.c:362: for each function it appears in.)
> > kcore.c:415: warning: `err' might be used uninitialized in this function
> > make[4]: *** [kcore.o] Error 1
>
> assuming you are using cvs version. it gives me the same error on my
> system, too.
>
> here is a patch which _seems_ to fix the problem. haven't tested much
> but this change has been introduced with 2.4.29 merge.
> --
> yashi
>
___________________________
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/