[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [microblaze-uclinux] SSH / LD Errors - can't compile ssl
Thak you very much Ivan !!
I think Yahoo have choped the last part of the email (because the last line is " if ${DETECT_GNU_LD}; then \" :-) ) but that is ok, what I needed was there !
This is what I had to do (for future notes) :
lib/libssl/Makefile:
CFLAG= $(CFLAGS) -DOPENSSL_NO_KRB5 -O -fomit-frame-pointer
AR= mb-ar $(ARFLAGS) r
#RANLIB= /usr/bin/ranlib
PERL= /usr/bin/perl
DIRS= crypto ssl $(SHLIB_MARK)
romfs:
(the romfs: entry was included right before 'clean:' entry in the Makefile)
copy e_os.h from lib/libssl to lib/libssl/include
user/openssl/Makefile:
delete all 'prime' entries.
user/ssh/Makefile:
LIBS=$(LIBCRYPTO) -lcrypt -lz
The last stuff I did because of a error when compiling ssh (it's not needed for ssl), the make say it can't find crypt, so that's the workaround.
After those changes, it
compiled, loaded e booted normally.
Unfortunatly, SSL doesn;t work - it say it cant allocate memory :
# openssl
Allocation of length 1814732 from process 61 failed
Free pages: 251236kB ( 0kB HighMem)
Zone:DMA freepages:251236kB
Zone:Normal freepages: 0kB
Zone:HighMem freepages: 0kB
( Active: 221, inactive: 71, free: 62809 )
1*4kB 0*8kB 0*16kB 512kB 1*1024kB 122*2048kB = 251236kB)
= 0kB)
= 0kB)
Unable to allocate RAM for process text/data, errno 12
#
I'll open a new thread with that error, with my mhs file too.
Thanks for the help Ivan !
Ivan <salorankatu@xxxxxxxx> escreveu: Hi,
this is the Makefile that I used. I hope it will
be useful for you :)
Regards,
Iván
Abra sua conta no Yahoo! Mail - 1GB de espaço, alertas de e-mail no celular e anti-spam realmente eficaz.