Skip to contentSkip to conversation

openssl-native 1.0.0d fails to build

DISCUSSION Robert Schuster 1 participant 1 message Mar 7, 2011

lore
Share & tools
lore
#0 lore raw

Hi,
I'm building angstrom-2010.x for omapp4430-panda on an amd64 box running Ubunutu 10.04. While building the console-image it gets to the point where openssl-native has to be compiled and there is see strange errors. do_configure completes without error but the log.do_configure looks like this:

Configuring for linux-x86_64

    no-gmp          [default]  OPENSSL_NO_GMP (skip dir)
    no-jpake        [experimental] OPENSSL_NO_JPAKE (skip dir)
    no-krb5         [krb5-flavor not specified] OPENSSL_NO_KRB5
    no-md2          [default]  OPENSSL_NO_MD2 (skip dir)
    no-rc5          [default]  OPENSSL_NO_RC5 (skip dir)
    no-rfc3779      [default]  OPENSSL_NO_RFC3779 (skip dir)
    no-store        [experimental] OPENSSL_NO_STORE (skip dir)
    no-zlib         [default]

no-zlib-dynamic [default]
IsMK1MF=0
CC =gcc
CFLAG =-fPIC -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT
-DDSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN -DTERMIO -Wall
-Wa,--noexecstack -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DWHIRLPOOL_ASM

EX_LIBS       =-ldl
CPUID_OBJ     =x86_64cpuid.o
BN_ASM        =x86_64-gcc.o x86_64-mont.o
DES_ENC       =des_enc.o fcrypt_b.o
AES_ENC       =aes-x86_64.o
BF_ENC        =bf_enc.o
CAST_ENC      =c_enc.o
RC4_ENC       =rc4-x86_64.o
RC5_ENC       =rc5_enc.o
MD5_OBJ_ASM   =md5-x86_64.o
SHA1_OBJ_ASM  =sha1-x86_64.o sha256-x86_64.o sha512-x86_64.o
RMD160_OBJ_ASM=
CMLL_ENC=     =cmll-x86_64.o cmll_misc.o
PROCESSOR     =
RANLIB        =ranlib
ARFLAGS       =
PERL          =/home/rschus/oe/panda/tmp/sysroots/x86_64-linux/usr/bin/perl

SIXTY_FOUR_BIT_LONG mode
DES_UNROLL used
DES_INT used
RC4_CHUNK is unsigned long
Makefile is older than Makefile.org, Configure or config. Reconfigure the source tree (via './config' or 'perl Configure'), please.
make: *** [Makefile] Error 1

Since the error at the end does not show up in bitbake the build continues (= it goes into do_compile). However the compilation stops immediately and the log only contains this output:

NOTE: make -e MAKEFLAGS=
Makefile is older than Makefile.org, Configure or config. Reconfigure the source tree (via './config' or 'perl Configure'), please.
make: *** [Makefile] Error 1
FATAL: oe_runmake failed
ERROR: Function do_compile failed

Manual workaround is to go into the workdir and run 'touch Makefile'. After that the build continues just fine.

I did not investigate the problem further yet but would do so if nobody has an idea of what the problem in the recipe might be. Does this problem occur on other's machines too?

Regards,
Robert