[oe-issues] [Bug 1828] Adding OpenSSL 0.9.8 to the packages
bugzilla-daemon at tinman.treke.net
bugzilla-daemon at tinman.treke.net
Wed Aug 22 18:24:36 CEST 2007
http://bugs.openembedded.org/show_bug.cgi?id=1828
--- Comment #15 from Philippe De Swert <philippedeswert at scarlet.be> 2007-08-22 09:24:35 ---
ok adding -g in the gnueabi-arm.patch fixes the build. (like this)
--- openssl-0.9.7e/Configure~gnueabi-arm 2006-03-19 21:04:31.000000000
+0100
+++ openssl-0.9.7e/Configure 2006-03-19 21:07:22.000000000 +0100
@@ -462,6 +462,7 @@
# Linux on ARM
"linux-elf-arm","gcc:-DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer
-Wall::-D_REENTRANT::-ldl:BN_LLONG::::::::::dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
"linux-elf-armeb","gcc:-DB_ENDIAN -DTERMIO -O3 -fomit-frame-pointer
-Wall::-D_REENTRANT::-ldl:BN_LLONG::::::::::dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
+"linux-gnueabi-arm","gcc:-DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -g
-Wall::-D_REENTRANT::-ldl:BN_LLONG::::::::::::dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
# SCO/Caldera targets.
#
Now the issue seems to be:
| make[2]: Leaving directory
`/home/fille/oe/build/tmp/work/armv5te-angstrom-linux-gnueabi/openssl-0.9.8c-r2/openssl-0.9.8c/crypto/pqueue'
| if [ -n "libcrypto.so.0.9.8 libssl.so.0.9.8" ]; then \
| (cd ..; make libcrypto.so.0.9.8); \
| fi
| make[2]: Entering directory
`/home/fille/oe/build/tmp/work/armv5te-angstrom-linux-gnueabi/openssl-0.9.8c-r2/openssl-0.9.8c'
| make[3]: Entering directory
`/home/fille/oe/build/tmp/work/armv5te-angstrom-linux-gnueabi/openssl-0.9.8c-r2/openssl-0.9.8c'
| make[4]: Entering directory
`/home/fille/oe/build/tmp/work/armv5te-angstrom-linux-gnueabi/openssl-0.9.8c-r2/openssl-0.9.8c'
| /usr/bin/ld: libcrypto.a(cryptlib.o): Relocations in generic ELF (EM: 40)
| /usr/bin/ld: libcrypto.a(cryptlib.o): Relocations in generic ELF (EM: 40)
| libcrypto.a(cryptlib.o): could not read symbols: File in wrong format
| collect2: ld returned 1 exit status
| make[4]: Leaving directory
`/home/fille/oe/build/tmp/work/armv5te-angstrom-linux-gnueabi/openssl-0.9.8c-r2/openssl-0.9.8c'
| make[4]: Entering directory
`/home/fille/oe/build/tmp/work/armv5te-angstrom-linux-gnueabi/openssl-0.9.8c-r2/openssl-0.9.8c'
| make[4]: Leaving directory
`/home/fille/oe/build/tmp/work/armv5te-angstrom-linux-gnueabi/openssl-0.9.8c-r2/openssl-0.9.8c'
| make[3]: Leaving directory
`/home/fille/oe/build/tmp/work/armv5te-angstrom-linux-gnueabi/openssl-0.9.8c-r2/openssl-0.9.8c'
| make[2]: Leaving directory
`/home/fille/oe/build/tmp/work/armv5te-angstrom-linux-gnueabi/openssl-0.9.8c-r2/openssl-0.9.8c'
| make[1]: Leaving directory
`/home/fille/oe/build/tmp/work/armv5te-angstrom-linux-gnueabi/openssl-0.9.8c-r2/openssl-0.9.8c/crypto'
| making all in ssl...
| make[1]: Entering directory
`/home/fille/oe/build/tmp/work/armv5te-angstrom-linux-gnueabi/openssl-0.9.8c-r2/openssl-0.9.8c/ssl'
| if [ -n "libcrypto.so.0.9.8 libssl.so.0.9.8" ]; then \
| (cd ..; make libssl.so.0.9.8); \
| fi
| make[2]: Entering directory
`/home/fille/oe/build/tmp/work/armv5te-angstrom-linux-gnueabi/openssl-0.9.8c-r2/openssl-0.9.8c'
| make[3]: Entering directory
`/home/fille/oe/build/tmp/work/armv5te-angstrom-linux-gnueabi/openssl-0.9.8c-r2/openssl-0.9.8c'
| make[4]: Entering directory
`/home/fille/oe/build/tmp/work/armv5te-angstrom-linux-gnueabi/openssl-0.9.8c-r2/openssl-0.9.8c'
| /usr/bin/ld: libcrypto.a(cryptlib.o): Relocations in generic ELF (EM: 40)
| /usr/bin/ld: libcrypto.a(cryptlib.o): Relocations in generic ELF (EM: 40)
| libcrypto.a(cryptlib.o): could not read symbols: File in wrong format
| collect2: ld returned 1 exit status
| make[4]: Leaving directory
`/home/fille/oe/build/tmp/work/armv5te-angstrom-linux-gnueabi/openssl-0.9.8c-r2/openssl-0.9.8c'
| make[4]: Entering directory
`/home/fille/oe/build/tmp/work/armv5te-angstrom-linux-gnueabi/openssl-0.9.8c-r2/openssl-0.9.8c'
| make[4]: Leaving directory
`/home/fille/oe/build/tmp/work/armv5te-angstrom-linux-gnueabi/openssl-0.9.8c-r2/openssl-0.9.8c'
| make[3]: Leaving directory
`/home/fille/oe/build/tmp/work/armv5te-angstrom-linux-gnueabi/openssl-0.9.8c-r2/openssl-0.9.8c'
| make[3]: Entering directory
`/home/fille/oe/build/tmp/work/armv5te-angstrom-linux-gnueabi/openssl-0.9.8c-r2/openssl-0.9.8c'
| make[4]: Entering directory
`/home/fille/oe/build/tmp/work/armv5te-angstrom-linux-gnueabi/openssl-0.9.8c-r2/openssl-0.9.8c'
| /usr/bin/ld: libssl.a(s2_meth.o): Relocations in generic ELF (EM: 40)
| /usr/bin/ld: libssl.a(s2_meth.o): Relocations in generic ELF (EM: 40)
| libssl.a(s2_meth.o): could not read symbols: File in wrong format
| collect2: ld returned 1 exit status
Which I guess comes from using the wrong ld (/usr/bin/ld)
--
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Openembedded-issues
mailing list