Modify

Opened 9 years ago

Closed 9 years ago

#4477 closed defect (worksforme)

x86 compilation error - openssl

Reported by: anonymous Owned by: agb
Priority: high Milestone:
Component: base system Version:
Keywords: Cc:

Description

In file included from fips_sha1_selftest.c:52:
../../include/openssl/fips.h:53:2: error: #error FIPS is disabled.
mv: cannot stat `Makefile.new': No such file or directory
make[6]: * [depend] Error 1
make[6]: Leaving directory `/mnt/sda1/trunk/build_dir/target-i386_uClibc-0.9.29/openssl-0.9.8j/fips/sha'
make[5]:
* [depend] Error 1
make[5]: Leaving directory `/mnt/sda1/trunk/build_dir/target-i386_uClibc-0.9.29/openssl-0.9.8j/fips'
make[4]: * [depend] Error 1
make[4]: Leaving directory `/mnt/sda1/trunk/build_dir/target-i386_uClibc-0.9.29/openssl-0.9.8j'
make[3]:
* /mnt/sda1/trunk/build_dir/target-i386_uClibc-0.9.29/openssl-0.9.8j/.built Error 2
make[3]: Leaving directory `/mnt/sda1/trunk/package/openssl'
make[2]: * [package/openssl/compile] Error 2
make[2]: Leaving directory `/mnt/sda1/trunk'
make[1]:
* /mnt/sda1/trunk/staging_dir/target-i386_uClibc-0.9.29/stamp/.package_compile Error 2
make[1]: Leaving directory `/mnt/sda1/trunk'
make: * [world] Error 2

Attachments (0)

Change History (6)

comment:1 Changed 9 years ago by anonymous

Do not use trunk. It's a mess...

comment:2 Changed 9 years ago by anonymous

did u use a new co? if not ... try: rm -rf build_dir staging_dir; make clean ; make

comment:3 Changed 9 years ago by agb

  • Owner changed from developers to agb
  • Status changed from new to assigned

openssl was upgraded to resolve a security issue. Rebuild openssl and the problem should go away.

comment:4 Changed 9 years ago by johnrw

worked for me...

comment:5 Changed 9 years ago by anonymous

Compilation error again..

Worked for you ? Did you include hostap and wpa support in your x86 image ?

this fips/dependency doesnt work .

here is my log :

making depend in fips...
make[5]: Entering directory `/mnt/sda1/trunk/build_dir/target-i386_uClibc-0.9.29/openssl-0.9.8j/fips'
making depend in fips/sha...
make[6]: Entering directory `/mnt/sda1/trunk/build_dir/target-i386_uClibc-0.9.29/openssl-0.9.8j/fips/sha'
../../util/domd ../.. -MD i486-openwrt-linux-uclibc-gcc -- -fPIC -DOPENSSL_PIC -DZLIB_SHARED -DZLIB -DDSO_DLFCN -DHAVE_DLFCN_H -I/mnt/sda1/trunk/staging_dir/target-i386_uClibc-0.9.29/usr/include -I/mnt/sda1/trunk/staging_dir/target-i386_uClibc-0.9.29/include -DOPENSSL_SMALL_FOOTPRINT -DOPENSSL_NO_ERR -DOPENSSL_NO_HW -DTERMIO -O2 -pipe -march=i486 -funit-at-a-time -fhonour-copts -fpic -fomit-frame-pointer -Wall -I.. -I../.. -I../../include -DOPENSSL_NO_DEPRECATED -DOPENSSL_NO_AES192 -DOPENSSL_NO_ANS1 -DOPENSSL_NO_CAMELLIA -DOPENSSL_NO_CAPIENG -DOPENSSL_NO_CMS -DOPENSSL_NO_EC -DOPENSSL_NO_ECDH -DOPENSSL_NO_ECDSA -DOPENSSL_NO_ENGINES -DOPENSSL_NO_GMP -DOPENSSL_NO_IDEA -DOPENSSL_NO_JPAKE -DOPENSSL_NO_MD2 -DOPENSSL_NO_MDC2 -DOPENSSL_NO_PERLASM -DOPENSSL_NO_RC5 -DOPENSSL_NO_RFC3779 -DOPENSSL_NO_RIPEMD -DOPENSSL_NO_RMD160 -DOPENSSL_NO_SEED -DOPENSSL_NO_SHA0 -DOPENSSL_NO_SMIME -- fips_sha1_selftest.c fips_standalone_sha1.c fips_shatest.c
In file included from fips_sha1_selftest.c:52:
../../include/openssl/fips.h:53:2: error: #error FIPS is disabled.
mv: cannot stat `Makefile.new': No such file or directory
make[6]: * [depend] Error 1
make[6]: Leaving directory `/mnt/sda1/trunk/build_dir/target-i386_uClibc-0.9.29/openssl-0.9.8j/fips/sha'
make[5]:
* [depend] Error 1
make[5]: Leaving directory `/mnt/sda1/trunk/build_dir/target-i386_uClibc-0.9.29/openssl-0.9.8j/fips'
make[4]: * [depend] Error 1
make[4]: Leaving directory `/mnt/sda1/trunk/build_dir/target-i386_uClibc-0.9.29/openssl-0.9.8j'
make[3]:
* /mnt/sda1/trunk/build_dir/target-i386_uClibc-0.9.29/openssl-0.9.8j/.built Error 2
make[3]: Leaving directory `/mnt/sda1/trunk/package/openssl'
make[2]: * [package/openssl/compile] Error 2
make[2]: Leaving directory `/mnt/sda1/trunk'
make[1]:
* /mnt/sda1/trunk/staging_dir/target-i386_uClibc-0.9.29/stamp/.package_compile Error 2
make[1]: Leaving directory `/mnt/sda1/trunk'
make: * [world] Error 2

Thank you in advance for any assistance

comment:6 Changed 9 years ago by florian

  • Resolution set to worksforme
  • Status changed from assigned to closed

Please fully rebuild the package :

make package/openssl-{clean,compile}

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.