[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[microblaze-uclinux] Kernel Compile error Now, segmentation fault
Mike/Everyone
thanks. I think this new toolchain is way broken... I
had to do two things:
1). Copy the libxil.a file into uClinux-dist
2). run make under the libcrypt_old directory
Now, I get past those two errors, and I get the
following:
How do I get past this error now? None of this stuff
is described in the documentation. Am I in general
missing something here? I am not apposed to reading,
but it seems like I am getting one error after
another. Thanks to all who responded! It seems to me
that everyone else can build this just fine.
mb-gcc -Os -g -fomit-frame-pointer -fno-common -Wall
-mno-xl-soft-mul -mxl-barrel-shift -mno-xl-soft-div
-Dlinux -D__linux__ -Du nix -D__uClinux__ -DEMBED
-nostdinc -I/mnt/sdb1/opt/uClinux-dist/include
-I/mnt/sdb1/opt/uClinux-dist/include/include
-fno-builtin -Wl,-elf2flt -nostartfiles
/mnt/sdb1/opt/uClinux-dist/lib/crt0.o
-L/mnt/sdb1/opt/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/bin/../lib/gcc-lib/microblaze/2.95.3-4/./libgcc.a
/usr/local/microblaze-elf/bin/../lib/gcc
-lib/microblaze/2.95.3-4/./../../../../microblaze/lib/libc_hard_shift.a
-lc
/usr/local/microblaze-elf/bin/mb-ld: line 156: 15998
Segmentation fault $LINKER -r -d -o
"$OFILE.elf2flt" $ARG1
make[3]: *** [boa] Error 1
make[3]: Leaving directory
`/mnt/sdb1/opt/uClinux-dist/user/boa/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/mnt/sdb1/opt/uClinux-dist/user/boa'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/mnt/sdb1/opt/uClinux-dist/user'
make: *** [subdirs] Error 1
--- Mike Smutek <msmutek@protiumtechnologies.com>
wrote:
> Hi Greg,
>
> I ran into the same error. In the uClinux-dist/lib
> directory there is a libcrypt-old directory with a
> README that has an explanation. If you simply type
> "make" while in this directory, it will make the
> libcrypt-old.a file that is needed. I seem to recall
> the "make" terminated with an error, but the library
> file seems ok.
>
> Mike Smutek
>
> ----- Original Message -----
> From: Greg Miller
> To: microblaze-uclinux@itee.uq.edu.au
> Sent: Friday, December 31, 2004 9:16 PM
> Subject: [microblaze-uclinux] Kernel Compile error
> -lcrypt-old more details...
>
>
> Hello,
>
> I am still trying to figure out this error. I have
> built the kernel with just the default; following
> the instructions exactly. I also tried the M5272C3
> build from www.uclinux.org. That works fine, so I
> know I can at least build a kernel.
>
> I looked on line and found this with reference to
> -lcrypt-old as a proposal to be removed (or at
> least have an option) :
>
http://mailman.uclinux.org/pipermail/uclinux-dev/2004-November/029974.html
>
> Is there a way to remove this as an option. Has
> anyone tried the latest kernel with the toolchain on
> the mb-uclinux website. Could it be broken?
>
> Here is more detail on the error I get:
> mb-gcc -Os -g -fomit-frame-pointer -fno-common
> -Wall -mno-xl-soft-mul -mxl-ba rrel-shift
> -mno-xl-soft-div -Dlinux -D__linux__ -Dunix
> -D__uClinux__ -DEMBED -no stdinc
> -I/mnt/sdb1/opt/uClinux-dist/include
> -I/mnt/sdb1/opt/uClinux-dist/include /include
> -fno-builtin -Wl,-elf2flt -nostartfiles
> /mnt/sdb1/opt/uClinux-dist/lib/ crt0.o
> -L/mnt/sdb1/opt/uClinux-dist/lib -o boa alias.o
> auth.o boa.o cgi.o cgi_he ader.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/bin/../lib/gcc-lib/microblaze/2.95.3-4/./libgcc.a
> /usr/local/microblaze-elf
>
/bin/../lib/gcc-lib/microblaze/2.95.3-4/./../../../../microblaze/lib/libc_hard_s
> hift.a -lc
> /usr/local/microblaze-elf/bin/mb-ld.real: cannot
> find -lcrypt_old
> make[3]: *** [boa] Error 1
> make[3]: Leaving directory
> `/mnt/sdb1/opt/uClinux-dist/user/boa/src'
> make[2]: *** [all] Error 2
> make[2]: Leaving di! rectory
> `/mnt/sdb1/opt/uClinux-dist/user/boa'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory
> `/mnt/sdb1/opt/uClinux-dist/user'
> make: *** [subdirs] Error 1
> [root@localhost uClinux-dist]# mb-gcc -l
> /usr/local/microblaze-elf/bin/mb-ld.real: cannot
> find -l--library=gcc
>
>
>
> Greg Miller <apco25@yahoo.com> wrote:
> Date: Tue, 28 Dec 2004 23:59:56 -0800 (PST)
> From: Greg Miller
> Subject: Kernel Compile error -lcrypt-old
> To: majordomo@itee.uq.edu.au
>
>
> Hello,
>
> I have been setting up everying I need to build
> a MB kernel. I can get all the way though and then I
> get the following error:
>
> .....
> /bin/mb-ld.real: cannot find -lcrypt-old
>
> This happens after the last 'make' command.
> Also, it happens after much processing of the Kernel
> (I suppose it's at the end). I do not know if this
> has been answered. Is there a way to search this
> list?
>
> I am using the lasted Toolchain from the web.
> I am using Fedora 3 with all the updates as of
> today.
>
> Thanks,
> Greg Miller
>
___________________________
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/