[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [microblaze-uclinux] Kernel Compile error -lcrypt-old more details...
Hi Greg,
Greg Miller wrote:
> 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
I hadn't seen this before, but there is a simple fix. In the
menuconfig, under the User/Vendor settings menu, choose "Library
Configuration", then select "Build libcrypt_old"
Then just save and exit, make dep, make, and all should be fine.
Regards,
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/