Quantcast

openssl-native compile error

classic Classic list List threaded Threaded
32 messages Options
12
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

openssl-native compile error

Panda Resistor
Hiya,

Currently openssl-native won't compile for me. I'm running a VirtualBox machine with Ubuntu 11.10 and have followed the instructions here http://www.gumstix.org/software-development/open-embedded/61-using-the-open-embedded-build-system.html to set up my build environment.

The compilation fails with a load of undefined reference errors, which I believe should be found in the libssl and libcrypto libraries. I have tried to do some digging, but my knowledge of the tools is limited as of yet and therefore I haven't been able to narrow down the problem much more. Internet searching has shown me similar issues, but unfortunately no resolutions.

I have attached the output log file below if that helps. I have paraphrased it to make it a bit more legible. I was initially running 'bitbake omap3-console-image', but after the failure I ran 'bitbake openssl-native -c clean' followed by 'bitbake openssl-native' to produce the following log.

Thanks in advance,
Rob

//LOGFILE//

NOTE: Psyco JIT Compiler (http://psyco.sf.net) not available. Install it to increase performance.
Loading cache...done.
Loaded 7207 entries from dependency cache.
Parsing recipes...NOTE: Angstrom DOES NOT support libiconv because the glibc builtin iconv replacement is used
NOTE: Angstrom DOES NOT support bash-noemu because doesn't work on the target
NOTE: Angstrom DOES NOT support libiconv because the glibc builtin iconv replacement is used
NOTE: Angstrom DOES NOT support ipkg because ipkg has been superseded by opkg
NOTE: Angstrom DOES NOT support bluez-libs because bluez-libs 3.x has been replaced by bluez4
NOTE: Angstrom DOES NOT support bluez-utils because bluez-utils 3.x has been replaced by bluez4
NOTE: Angstrom DOES NOT support bluez-libs because bluez-libs 3.x has been replaced by bluez4
NOTE: Angstrom DOES NOT support fso-apm because regular apmd is good enough
NOTE: Angstrom DOES NOT support libiconv because the glibc builtin iconv replacement is used
NOTE: Angstrom DOES NOT support bluez-utils because bluez-utils 3.x has been replaced by bluez4
NOTE: Angstrom DOES NOT support bluez-libs because bluez-libs 3.x has been replaced by bluez4
done.
Parsing of 7342 .bb files complete (6579 cached, 763 parsed). 7990 targets, 324 skipped, 2 masked, 0 errors.
WARNING: No bb files matched BBFILE_PATTERN_user '^/home/rihyams/overo-oe/user.collection/recipes'

Build Configuration:
BB_VERSION        = "1.12.0"
METADATA_BRANCH   = "overo-2011.03"
METADATA_REVISION = "58d5ce0"
TARGET_ARCH       = "arm"
TARGET_OS         = "linux-gnueabi"
MACHINE           = "overo"
DISTRO            = "angstrom"
DISTRO_VERSION    = "2011.03"
TARGET_FPU        = "hard"

NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing RunQueue Tasks
NOTE: Running task 96 of 185 (ID: 10, /home/rihyams/overo-oe/org.openembedded.dev/recipes/openssl/openssl-native_1.0.0d.bb, do_setscene)
NOTE: package openssl-native-1.0.0d-r14.0: task do_setscene: Started
NOTE: package openssl-native-1.0.0d-r14.0: task do_setscene: Succeeded
NOTE: Running task 97 of 185 (ID: 8, /home/rihyams/overo-oe/org.openembedded.dev/recipes/openssl/openssl-native_1.0.0d.bb, do_fetch)
NOTE: package openssl-native-1.0.0d-r14.0: task do_fetch: Started
NOTE: package openssl-native-1.0.0d-r14.0: task do_fetch: Succeeded
NOTE: Running task 98 of 185 (ID: 0, /home/rihyams/overo-oe/org.openembedded.dev/recipes/openssl/openssl-native_1.0.0d.bb, do_unpack)
NOTE: package openssl-native-1.0.0d-r14.0: task do_unpack: Started
NOTE: package openssl-native-1.0.0d-r14.0: task do_unpack: Succeeded
NOTE: Running task 103 of 185 (ID: 1, /home/rihyams/overo-oe/org.openembedded.dev/recipes/openssl/openssl-native_1.0.0d.bb, do_patch)
NOTE: package openssl-native-1.0.0d-r14.0: task do_patch: Started
NOTE: package openssl-native-1.0.0d-r14.0: task do_patch: Succeeded
NOTE: Running task 104 of 185 (ID: 11, /home/rihyams/overo-oe/org.openembedded.dev/recipes/openssl/openssl-native_1.0.0d.bb, do_configure)
NOTE: package openssl-native-1.0.0d-r14.0: task do_configure: Started
NOTE: package openssl-native-1.0.0d-r14.0: task do_configure: Succeeded
NOTE: Running task 108 of 185 (ID: 12, /home/rihyams/overo-oe/org.openembedded.dev/recipes/openssl/openssl-native_1.0.0d.bb, do_qa_configure)
NOTE: package openssl-native-1.0.0d-r14.0: task do_qa_configure: Started
NOTE: package openssl-native-1.0.0d-r14.0: task do_qa_configure: Succeeded
NOTE: Running task 109 of 185 (ID: 13, /home/rihyams/overo-oe/org.openembedded.dev/recipes/openssl/openssl-native_1.0.0d.bb, do_compile)
NOTE: package openssl-native-1.0.0d-r14.0: task do_compile: Started
ERROR: Logfile of failure stored in: /home/rihyams/overo-oe/tmp/work/i686-linux/openssl-native-1.0.0d-r14.0/temp/log.do_compile.30469
Log data follows:
| + do_compile
| + oe_runmake
| + oenote make -e MAKEFLAGS=
| + echo NOTE: 'make -e MAKEFLAGS='
| NOTE: make -e MAKEFLAGS=
| + make -e MAKEFLAGS=
| making all in crypto...
| make[1]: Entering directory `/home/rihyams/overo-oe/tmp/work/i686-linux/openssl-native-1.0.0d-r14.0/openssl-1.0.0d/crypto'
| ( echo "#ifndef MK1MF_BUILD"; \
| echo '  /* auto-generated by crypto/Makefile for crypto/cversion.c */'; \
| echo '  #define CFLAGS "gcc -fPIC -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN -DTERMIO   -Wall  -Wa,--noexecstack -DOPENSSL_BN_ASM_PART_WORDS -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DRMD160_ASM -DAES_ASM -DWHIRLPOOL_ASM"'; \
| echo '  #define PLATFORM "debian-i386-i686/cmov"'; \
| echo "  #define DATE \"`LC_ALL=C LC_TIME=C date`\""; \
| echo '#endif' ) >buildinf.h
| gcc -I. -I.. -I../include  -fPIC -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN -DTERMIO   -Wall  -Wa,--noexecstack -DOPENSSL_BN_ASM_PART_WORDS -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DRMD160_ASM -DAES_ASM -DWHIRLPOOL_ASM -isystem/home/rihyams/overo-oe/tmp/sysroots/i686-linux/usr/include  -c -o cryptlib.o cryptlib.c
| gcc -I. -I.. -I../include  -fPIC -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN -DTERMIO   -Wall  -Wa,--noexecstack -DOPENSSL_BN_ASM_PART_WORDS -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DRMD160_ASM -DAES_ASM -DWHIRLPOOL_ASM -isystem/home/rihyams/overo-oe/tmp/sysroots/i686-linux/usr/include  -c -o mem.o mem.c

REMOVED LOTS OF GCC COMMANDS FOR CLARITY

| gcc -DMONOLITH -I.. -I../include  -fPIC -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN -DTERMIO   -Wall  -Wa,--noexecstack -DOPENSSL_BN_ASM_PART_WORDS -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DRMD160_ASM -DAES_ASM -DWHIRLPOOL_ASM -isystem/home/rihyams/overo-oe/tmp/sysroots/i686-linux/usr/include  -c -o ts.o ts.c
| gcc -DMONOLITH -I.. -I../include  -fPIC -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN -DTERMIO   -Wall  -Wa,--noexecstack -DOPENSSL_BN_ASM_PART_WORDS -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DRMD160_ASM -DAES_ASM -DWHIRLPOOL_ASM -isystem/home/rihyams/overo-oe/tmp/sysroots/i686-linux/usr/include  -c -o openssl.o openssl.c
| rm -f openssl
| shlib_target=; if [ -n "libcrypto.so.1.0.0 libssl.so.1.0.0" ]; then \
| shlib_target="linux-shared"; \
| fi; \
| LIBRARIES="-L.. -lssl  -L.. -lcrypto" ; \
| make -f ../Makefile.shared -e \
| APPNAME=openssl OBJECTS="openssl.o verify.o asn1pars.o req.o dgst.o dh.o dhparam.o enc.o passwd.o gendh.o errstr.o ca.o pkcs7.o crl2p7.o crl.o rsa.o rsautl.o dsa.o dsaparam.o ec.o ecparam.o x509.o genrsa.o gendsa.o genpkey.o s_server.o s_client.o speed.o s_time.o apps.o s_cb.o s_socket.o app_rand.o version.o sess_id.o ciphers.o nseq.o pkcs12.o pkcs8.o pkey.o pkeyparam.o pkeyutl.o spkac.o smime.o cms.o rand.o engine.o ocsp.o prime.o ts.o" \
| LIBDEPS=" $LIBRARIES -lgcc -ldl" \
| link_app.${shlib_target}
| make[2]: Entering directory `/home/rihyams/overo-oe/tmp/work/i686-linux/openssl-native-1.0.0d-r14.0/openssl-1.0.0d/apps'
| openssl.o: In function `main':
| openssl.c:(.text+0x199): undefined reference to `BIO_s_file'
| openssl.c:(.text+0x1a1): undefined reference to `BIO_new'
| openssl.c:(.text+0x1e1): undefined reference to `BIO_ctrl'
| openssl.c:(.text+0x231): undefined reference to `CRYPTO_dbg_get_options'
| openssl.c:(.text+0x23b): undefined reference to `CRYPTO_dbg_set_options'
| openssl.c:(.text+0x245): undefined reference to `CRYPTO_dbg_free'
| openssl.c:(.text+0x24f): undefined reference to `CRYPTO_dbg_realloc'
| openssl.c:(.text+0x259): undefined reference to `CRYPTO_dbg_malloc'
| openssl.c:(.text+0x261): undefined reference to `CRYPTO_set_mem_debug_functions'
| openssl.c:(.text+0x26d): undefined reference to `CRYPTO_set_mem_debug_options'
| openssl.c:(.text+0x29b): undefined reference to `CRYPTO_set_mem_debug_functions'
| openssl.c:(.text+0x2a7): undefined reference to `CRYPTO_mem_ctrl'
| openssl.c:(.text+0x2b5): undefined reference to `CRYPTO_set_locking_callback'
| openssl.c:(.text+0x2eb): undefined reference to `CRYPTO_set_mem_functions'
| openssl.c:(.text+0x2f0): undefined reference to `ERR_load_crypto_strings'
| openssl.c:(.text+0x2f5): undefined reference to `OPENSSL_add_all_algorithms_noconf'
| openssl.c:(.text+0x2fa): undefined reference to `ENGINE_load_builtin_engines'
| openssl.c:(.text+0x35a): undefined reference to `NCONF_new'
| openssl.c:(.text+0x382): undefined reference to `NCONF_load'
| openssl.c:(.text+0x396): undefined reference to `ERR_peek_last_error'
| openssl.c:(.text+0x3c2): undefined reference to `BIO_printf'
| openssl.c:(.text+0x3c7): undefined reference to `ERR_clear_error'
| openssl.c:(.text+0x3d7): undefined reference to `NCONF_free'
| openssl.c:(.text+0x3f5): undefined reference to `ERR_print_errors'
| openssl.c:(.text+0x405): undefined reference to `NCONF_free'
| openssl.c:(.text+0x45a): undefined reference to `lh_retrieve'
| openssl.c:(.text+0x66d): undefined reference to `BIO_printf'
| openssl.c:(.text+0x695): undefined reference to `BIO_ctrl'
| openssl.c:(.text+0x6b5): undefined reference to `BIO_printf'
| openssl.c:(.text+0x6d9): undefined reference to `CRYPTO_free'
| openssl.c:(.text+0x6f5): undefined reference to `NCONF_free'
| openssl.c:(.text+0x714): undefined reference to `lh_free'
| openssl.c:(.text+0x728): undefined reference to `CRYPTO_free'
| openssl.c:(.text+0x734): undefined reference to `CONF_modules_unload'
| openssl.c:(.text+0x73e): undefined reference to `OBJ_cleanup'
| openssl.c:(.text+0x743): undefined reference to `EVP_cleanup'
| openssl.c:(.text+0x748): undefined reference to `ENGINE_cleanup'
| openssl.c:(.text+0x74d): undefined reference to `CRYPTO_cleanup_all_ex_data'
| openssl.c:(.text+0x759): undefined reference to `ERR_remove_thread_state'
| openssl.c:(.text+0x75e): undefined reference to `ERR_free_strings'
| openssl.c:(.text+0x763): undefined reference to `COMP_zlib_cleanup'
| openssl.c:(.text+0x773): undefined reference to `CRYPTO_mem_leaks'
| openssl.c:(.text+0x78f): undefined reference to `BIO_free'
| openssl.o: In function `do_cmd':
| openssl.c:(.text+0x7f7): undefined reference to `lh_retrieve'
| openssl.c:(.text+0x80d): undefined reference to `EVP_get_digestbyname'
| openssl.c:(.text+0x836): undefined reference to `EVP_get_cipherbyname'
| openssl.c:(.text+0x8ba): undefined reference to `BIO_new_fp'
| openssl.c:(.text+0x8da): undefined reference to `lh_retrieve'
| openssl.c:(.text+0x909): undefined reference to `BIO_printf'
| openssl.c:(.text+0x92c): undefined reference to `BIO_printf'
| openssl.c:(.text+0x937): undefined reference to `BIO_free_all'
| openssl.c:(.text+0xc33): undefined reference to `BIO_new_fp'
| openssl.c:(.text+0xcbf): undefined reference to `BIO_printf'
| openssl.c:(.text+0xcd8): undefined reference to `BIO_free_all'
| openssl.c:(.text+0xd07): undefined reference to `BIO_printf'
| openssl.c:(.text+0xd21): undefined reference to `BIO_printf'
| openssl.c:(.text+0xd71): undefined reference to `BIO_printf'
| openssl.c:(.text+0xdaa): undefined reference to `BIO_printf'
| openssl.c:(.text+0xdd1): undefined reference to `BIO_printf'
| openssl.o:openssl.c:(.text+0xdfa): more undefined references to `BIO_printf' follow
| openssl.o: In function `list_pkey':
| openssl.c:(.text+0xee4): undefined reference to `EVP_PKEY_asn1_get0'
| openssl.c:(.text+0xf15): undefined reference to `EVP_PKEY_asn1_get0_info'
| openssl.c:(.text+0xf2a): undefined reference to `OBJ_nid2ln'
| openssl.c:(.text+0xf43): undefined reference to `BIO_printf'
| openssl.c:(.text+0xf4e): undefined reference to `OBJ_nid2ln'
| openssl.c:(.text+0xf67): undefined reference to `BIO_printf'
| openssl.c:(.text+0xf88): undefined reference to `BIO_printf'
| openssl.c:(.text+0xfb9): undefined reference to `BIO_printf'
| openssl.c:(.text+0xfc4): undefined reference to `OBJ_nid2ln'
| openssl.c:(.text+0xfdd): undefined reference to `BIO_printf'
| openssl.c:(.text+0x1009): undefined reference to `BIO_printf'
| openssl.c:(.text+0x1012): undefined reference to `EVP_PKEY_asn1_get_count'
| openssl.o: In function `list_cipher_fn':
| openssl.c:(.text+0x1044): undefined reference to `EVP_CIPHER_nid'
| openssl.c:(.text+0x104c): undefined reference to `OBJ_nid2sn'
| openssl.c:(.text+0x1065): undefined reference to `BIO_printf'
| openssl.c:(.text+0x10a8): undefined reference to `BIO_printf'
| openssl.o: In function `list_cipher':
| openssl.c:(.text+0x10d5): undefined reference to `EVP_CIPHER_do_all_sorted'
| openssl.o: In function `list_md_fn':
| openssl.c:(.text+0x10fe): undefined reference to `EVP_MD_type'
| openssl.c:(.text+0x1106): undefined reference to `OBJ_nid2sn'
| openssl.c:(.text+0x111f): undefined reference to `BIO_printf'
| openssl.c:(.text+0x1162): undefined reference to `BIO_printf'
| openssl.o: In function `list_md':
| openssl.c:(.text+0x118f): undefined reference to `EVP_MD_do_all_sorted'
| openssl.o: In function `function_hash':
| openssl.c:(.text+0x1213): undefined reference to `lh_strhash'
| openssl.o: In function `prog_init':
| openssl.c:(.text+0x12a7): undefined reference to `lh_new'
| openssl.c:(.text+0x12d4): undefined reference to `lh_insert'
| verify.o: In function `verify_main':

PLUS LOTS MORE UNDEFINED IN OTHER FILES

NOTE: package openssl-native-1.0.0d-r14.0: task do_compile: Failed
ERROR: Function 'do_compile' failed (see /home/rihyams/overo-oe/tmp/work/i686-linux/openssl-native-1.0.0d-r14.0/temp/log.do_compile.30469 for further information)
ERROR: Task 13 (/home/rihyams/overo-oe/org.openembedded.dev/recipes/openssl/openssl-native_1.0.0d.bb, do_compile) failed with exit code '1'
ERROR: '/home/rihyams/overo-oe/org.openembedded.dev/recipes/openssl/openssl-native_1.0.0d.bb' failed


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: openssl-native compile error

Tobiby
Can resolve problem by using the following patch:

setup-scripts/build/tmp-angstrom_2008_1/work/i686-linux/openssl-native-1.0.0d-
r14.0/openssl-1.0.0d

patch setup-scripts/build/tmp-angstrom_2008_1/work/i686-linux/openssl-native-
1.0.0d-r14.0/openssl-1.0.0d/Makefile.shared setup-scripts/build/tmp-
angstrom_2008_1/work/i686-linux/openssl-native-1.0.0d-r14.0/openssl-
1.0.0d/patches/libdeps-first.patch

Works for me...


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: openssl-native compile error

Panda Resistor
In reply to this post by Panda Resistor
Thank you for your help, I'e ve been working on this for two days now and my brain is fried.

Unfortunately, according to all the bitbake recipe files, the patch is already applied.  I have also looked through the Makefile.shared file myself and the changes are in there. The program is still not compiling however and I am not sure where to consider looking.

Any advice appreciated!

Cheers

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: openssl-native compile error

Tien Nguyen-3
In reply to this post by Panda Resistor
I got the same issue starting 10/15/2011. Will keep an eye on this thread for solution.
Thanks,
--
Tiến Nguyễn
www.tplogic.com



On Sat, Oct 15, 2011 at 8:08 AM, Panda Resistor <[hidden email]> wrote:
Hiya,

Currently openssl-native won't compile for me. I'm running a VirtualBox machine with Ubuntu 11.10 and have followed the instructions here http://www.gumstix.org/software-development/open-embedded/61-using-the-open-embedded-build-system.html to set up my build environment.

The compilation fails with a load of undefined reference errors, which I believe should be found in the libssl and libcrypto libraries. I have tried to do some digging, but my knowledge of the tools is limited as of yet and therefore I haven't been able to narrow down the problem much more. Internet searching has shown me similar issues, but unfortunately no resolutions.

I have attached the output log file below if that helps. I have paraphrased it to make it a bit more legible. I was initially running 'bitbake omap3-console-image', but after the failure I ran 'bitbake openssl-native -c clean' followed by 'bitbake openssl-native' to produce the following log.

Thanks in advance,
Rob

//LOGFILE//

NOTE: Psyco JIT Compiler (http://psyco.sf.net) not available. Install it to increase performance.
Loading cache...done.
Loaded 7207 entries from dependency cache.
Parsing recipes...NOTE: Angstrom DOES NOT support libiconv because the glibc builtin iconv replacement is used
NOTE: Angstrom DOES NOT support bash-noemu because doesn't work on the target
NOTE: Angstrom DOES NOT support libiconv because the glibc builtin iconv replacement is used
NOTE: Angstrom DOES NOT support ipkg because ipkg has been superseded by opkg
NOTE: Angstrom DOES NOT support bluez-libs because bluez-libs 3.x has been replaced by bluez4
NOTE: Angstrom DOES NOT support bluez-utils because bluez-utils 3.x has been replaced by bluez4
NOTE: Angstrom DOES NOT support bluez-libs because bluez-libs 3.x has been replaced by bluez4
NOTE: Angstrom DOES NOT support fso-apm because regular apmd is good enough
NOTE: Angstrom DOES NOT support libiconv because the glibc builtin iconv replacement is used
NOTE: Angstrom DOES NOT support bluez-utils because bluez-utils 3.x has been replaced by bluez4
NOTE: Angstrom DOES NOT support bluez-libs because bluez-libs 3.x has been replaced by bluez4
done.
Parsing of 7342 .bb files complete (6579 cached, 763 parsed). 7990 targets, 324 skipped, 2 masked, 0 errors.
WARNING: No bb files matched BBFILE_PATTERN_user '^/home/rihyams/overo-oe/user.collection/recipes'

Build Configuration:
BB_VERSION        = "1.12.0"
METADATA_BRANCH   = "overo-2011.03"
METADATA_REVISION = "58d5ce0"
TARGET_ARCH       = "arm"
TARGET_OS         = "linux-gnueabi"
MACHINE           = "overo"
DISTRO            = "angstrom"
DISTRO_VERSION    = "2011.03"
TARGET_FPU        = "hard"

NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing RunQueue Tasks
NOTE: Running task 96 of 185 (ID: 10, /home/rihyams/overo-oe/org.openembedded.dev/recipes/openssl/openssl-native_1.0.0d.bb, do_setscene)
NOTE: package openssl-native-1.0.0d-r14.0: task do_setscene: Started
NOTE: package openssl-native-1.0.0d-r14.0: task do_setscene: Succeeded
NOTE: Running task 97 of 185 (ID: 8, /home/rihyams/overo-oe/org.openembedded.dev/recipes/openssl/openssl-native_1.0.0d.bb, do_fetch)
NOTE: package openssl-native-1.0.0d-r14.0: task do_fetch: Started
NOTE: package openssl-native-1.0.0d-r14.0: task do_fetch: Succeeded
NOTE: Running task 98 of 185 (ID: 0, /home/rihyams/overo-oe/org.openembedded.dev/recipes/openssl/openssl-native_1.0.0d.bb, do_unpack)
NOTE: package openssl-native-1.0.0d-r14.0: task do_unpack: Started
NOTE: package openssl-native-1.0.0d-r14.0: task do_unpack: Succeeded
NOTE: Running task 103 of 185 (ID: 1, /home/rihyams/overo-oe/org.openembedded.dev/recipes/openssl/openssl-native_1.0.0d.bb, do_patch)
NOTE: package openssl-native-1.0.0d-r14.0: task do_patch: Started
NOTE: package openssl-native-1.0.0d-r14.0: task do_patch: Succeeded
NOTE: Running task 104 of 185 (ID: 11, /home/rihyams/overo-oe/org.openembedded.dev/recipes/openssl/openssl-native_1.0.0d.bb, do_configure)
NOTE: package openssl-native-1.0.0d-r14.0: task do_configure: Started
NOTE: package openssl-native-1.0.0d-r14.0: task do_configure: Succeeded
NOTE: Running task 108 of 185 (ID: 12, /home/rihyams/overo-oe/org.openembedded.dev/recipes/openssl/openssl-native_1.0.0d.bb, do_qa_configure)
NOTE: package openssl-native-1.0.0d-r14.0: task do_qa_configure: Started
NOTE: package openssl-native-1.0.0d-r14.0: task do_qa_configure: Succeeded
NOTE: Running task 109 of 185 (ID: 13, /home/rihyams/overo-oe/org.openembedded.dev/recipes/openssl/openssl-native_1.0.0d.bb, do_compile)
NOTE: package openssl-native-1.0.0d-r14.0: task do_compile: Started
ERROR: Logfile of failure stored in: /home/rihyams/overo-oe/tmp/work/i686-linux/openssl-native-1.0.0d-r14.0/temp/log.do_compile.30469
Log data follows:
| + do_compile
| + oe_runmake
| + oenote make -e MAKEFLAGS=
| + echo NOTE: 'make -e MAKEFLAGS='
| NOTE: make -e MAKEFLAGS=
| + make -e MAKEFLAGS=
| making all in crypto...
| make[1]: Entering directory `/home/rihyams/overo-oe/tmp/work/i686-linux/openssl-native-1.0.0d-r14.0/openssl-1.0.0d/crypto'
| ( echo "#ifndef MK1MF_BUILD"; \
| echo '  /* auto-generated by crypto/Makefile for crypto/cversion.c */'; \
| echo '  #define CFLAGS "gcc -fPIC -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN -DTERMIO   -Wall  -Wa,--noexecstack -DOPENSSL_BN_ASM_PART_WORDS -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DRMD160_ASM -DAES_ASM -DWHIRLPOOL_ASM"'; \
| echo '  #define PLATFORM "debian-i386-i686/cmov"'; \
| echo "  #define DATE \"`LC_ALL=C LC_TIME=C date`\""; \
| echo '#endif' ) >buildinf.h
| gcc -I. -I.. -I../include  -fPIC -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN -DTERMIO   -Wall  -Wa,--noexecstack -DOPENSSL_BN_ASM_PART_WORDS -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DRMD160_ASM -DAES_ASM -DWHIRLPOOL_ASM -isystem/home/rihyams/overo-oe/tmp/sysroots/i686-linux/usr/include  -c -o cryptlib.o cryptlib.c
| gcc -I. -I.. -I../include  -fPIC -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN -DTERMIO   -Wall  -Wa,--noexecstack -DOPENSSL_BN_ASM_PART_WORDS -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DRMD160_ASM -DAES_ASM -DWHIRLPOOL_ASM -isystem/home/rihyams/overo-oe/tmp/sysroots/i686-linux/usr/include  -c -o mem.o mem.c

REMOVED LOTS OF GCC COMMANDS FOR CLARITY

| gcc -DMONOLITH -I.. -I../include  -fPIC -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN -DTERMIO   -Wall  -Wa,--noexecstack -DOPENSSL_BN_ASM_PART_WORDS -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DRMD160_ASM -DAES_ASM -DWHIRLPOOL_ASM -isystem/home/rihyams/overo-oe/tmp/sysroots/i686-linux/usr/include  -c -o ts.o ts.c
| gcc -DMONOLITH -I.. -I../include  -fPIC -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN -DTERMIO   -Wall  -Wa,--noexecstack -DOPENSSL_BN_ASM_PART_WORDS -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DRMD160_ASM -DAES_ASM -DWHIRLPOOL_ASM -isystem/home/rihyams/overo-oe/tmp/sysroots/i686-linux/usr/include  -c -o openssl.o openssl.c
| rm -f openssl
| shlib_target=; if [ -n "libcrypto.so.1.0.0 libssl.so.1.0.0" ]; then \
| shlib_target="linux-shared"; \
| fi; \
| LIBRARIES="-L.. -lssl  -L.. -lcrypto" ; \
| make -f ../Makefile.shared -e \
| APPNAME=openssl OBJECTS="openssl.o verify.o asn1pars.o req.o dgst.o dh.o dhparam.o enc.o passwd.o gendh.o errstr.o ca.o pkcs7.o crl2p7.o crl.o rsa.o rsautl.o dsa.o dsaparam.o ec.o ecparam.o x509.o genrsa.o gendsa.o genpkey.o s_server.o s_client.o speed.o s_time.o apps.o s_cb.o s_socket.o app_rand.o version.o sess_id.o ciphers.o nseq.o pkcs12.o pkcs8.o pkey.o pkeyparam.o pkeyutl.o spkac.o smime.o cms.o rand.o engine.o ocsp.o prime.o ts.o" \
| LIBDEPS=" $LIBRARIES -lgcc -ldl" \
| link_app.${shlib_target}
| make[2]: Entering directory `/home/rihyams/overo-oe/tmp/work/i686-linux/openssl-native-1.0.0d-r14.0/openssl-1.0.0d/apps'
| openssl.o: In function `main':
| openssl.c:(.text+0x199): undefined reference to `BIO_s_file'
| openssl.c:(.text+0x1a1): undefined reference to `BIO_new'
| openssl.c:(.text+0x1e1): undefined reference to `BIO_ctrl'
| openssl.c:(.text+0x231): undefined reference to `CRYPTO_dbg_get_options'
| openssl.c:(.text+0x23b): undefined reference to `CRYPTO_dbg_set_options'
| openssl.c:(.text+0x245): undefined reference to `CRYPTO_dbg_free'
| openssl.c:(.text+0x24f): undefined reference to `CRYPTO_dbg_realloc'
| openssl.c:(.text+0x259): undefined reference to `CRYPTO_dbg_malloc'
| openssl.c:(.text+0x261): undefined reference to `CRYPTO_set_mem_debug_functions'
| openssl.c:(.text+0x26d): undefined reference to `CRYPTO_set_mem_debug_options'
| openssl.c:(.text+0x29b): undefined reference to `CRYPTO_set_mem_debug_functions'
| openssl.c:(.text+0x2a7): undefined reference to `CRYPTO_mem_ctrl'
| openssl.c:(.text+0x2b5): undefined reference to `CRYPTO_set_locking_callback'
| openssl.c:(.text+0x2eb): undefined reference to `CRYPTO_set_mem_functions'
| openssl.c:(.text+0x2f0): undefined reference to `ERR_load_crypto_strings'
| openssl.c:(.text+0x2f5): undefined reference to `OPENSSL_add_all_algorithms_noconf'
| openssl.c:(.text+0x2fa): undefined reference to `ENGINE_load_builtin_engines'
| openssl.c:(.text+0x35a): undefined reference to `NCONF_new'
| openssl.c:(.text+0x382): undefined reference to `NCONF_load'
| openssl.c:(.text+0x396): undefined reference to `ERR_peek_last_error'
| openssl.c:(.text+0x3c2): undefined reference to `BIO_printf'
| openssl.c:(.text+0x3c7): undefined reference to `ERR_clear_error'
| openssl.c:(.text+0x3d7): undefined reference to `NCONF_free'
| openssl.c:(.text+0x3f5): undefined reference to `ERR_print_errors'
| openssl.c:(.text+0x405): undefined reference to `NCONF_free'
| openssl.c:(.text+0x45a): undefined reference to `lh_retrieve'
| openssl.c:(.text+0x66d): undefined reference to `BIO_printf'
| openssl.c:(.text+0x695): undefined reference to `BIO_ctrl'
| openssl.c:(.text+0x6b5): undefined reference to `BIO_printf'
| openssl.c:(.text+0x6d9): undefined reference to `CRYPTO_free'
| openssl.c:(.text+0x6f5): undefined reference to `NCONF_free'
| openssl.c:(.text+0x714): undefined reference to `lh_free'
| openssl.c:(.text+0x728): undefined reference to `CRYPTO_free'
| openssl.c:(.text+0x734): undefined reference to `CONF_modules_unload'
| openssl.c:(.text+0x73e): undefined reference to `OBJ_cleanup'
| openssl.c:(.text+0x743): undefined reference to `EVP_cleanup'
| openssl.c:(.text+0x748): undefined reference to `ENGINE_cleanup'
| openssl.c:(.text+0x74d): undefined reference to `CRYPTO_cleanup_all_ex_data'
| openssl.c:(.text+0x759): undefined reference to `ERR_remove_thread_state'
| openssl.c:(.text+0x75e): undefined reference to `ERR_free_strings'
| openssl.c:(.text+0x763): undefined reference to `COMP_zlib_cleanup'
| openssl.c:(.text+0x773): undefined reference to `CRYPTO_mem_leaks'
| openssl.c:(.text+0x78f): undefined reference to `BIO_free'
| openssl.o: In function `do_cmd':
| openssl.c:(.text+0x7f7): undefined reference to `lh_retrieve'
| openssl.c:(.text+0x80d): undefined reference to `EVP_get_digestbyname'
| openssl.c:(.text+0x836): undefined reference to `EVP_get_cipherbyname'
| openssl.c:(.text+0x8ba): undefined reference to `BIO_new_fp'
| openssl.c:(.text+0x8da): undefined reference to `lh_retrieve'
| openssl.c:(.text+0x909): undefined reference to `BIO_printf'
| openssl.c:(.text+0x92c): undefined reference to `BIO_printf'
| openssl.c:(.text+0x937): undefined reference to `BIO_free_all'
| openssl.c:(.text+0xc33): undefined reference to `BIO_new_fp'
| openssl.c:(.text+0xcbf): undefined reference to `BIO_printf'
| openssl.c:(.text+0xcd8): undefined reference to `BIO_free_all'
| openssl.c:(.text+0xd07): undefined reference to `BIO_printf'
| openssl.c:(.text+0xd21): undefined reference to `BIO_printf'
| openssl.c:(.text+0xd71): undefined reference to `BIO_printf'
| openssl.c:(.text+0xdaa): undefined reference to `BIO_printf'
| openssl.c:(.text+0xdd1): undefined reference to `BIO_printf'
| openssl.o:openssl.c:(.text+0xdfa): more undefined references to `BIO_printf' follow
| openssl.o: In function `list_pkey':
| openssl.c:(.text+0xee4): undefined reference to `EVP_PKEY_asn1_get0'
| openssl.c:(.text+0xf15): undefined reference to `EVP_PKEY_asn1_get0_info'
| openssl.c:(.text+0xf2a): undefined reference to `OBJ_nid2ln'
| openssl.c:(.text+0xf43): undefined reference to `BIO_printf'
| openssl.c:(.text+0xf4e): undefined reference to `OBJ_nid2ln'
| openssl.c:(.text+0xf67): undefined reference to `BIO_printf'
| openssl.c:(.text+0xf88): undefined reference to `BIO_printf'
| openssl.c:(.text+0xfb9): undefined reference to `BIO_printf'
| openssl.c:(.text+0xfc4): undefined reference to `OBJ_nid2ln'
| openssl.c:(.text+0xfdd): undefined reference to `BIO_printf'
| openssl.c:(.text+0x1009): undefined reference to `BIO_printf'
| openssl.c:(.text+0x1012): undefined reference to `EVP_PKEY_asn1_get_count'
| openssl.o: In function `list_cipher_fn':
| openssl.c:(.text+0x1044): undefined reference to `EVP_CIPHER_nid'
| openssl.c:(.text+0x104c): undefined reference to `OBJ_nid2sn'
| openssl.c:(.text+0x1065): undefined reference to `BIO_printf'
| openssl.c:(.text+0x10a8): undefined reference to `BIO_printf'
| openssl.o: In function `list_cipher':
| openssl.c:(.text+0x10d5): undefined reference to `EVP_CIPHER_do_all_sorted'
| openssl.o: In function `list_md_fn':
| openssl.c:(.text+0x10fe): undefined reference to `EVP_MD_type'
| openssl.c:(.text+0x1106): undefined reference to `OBJ_nid2sn'
| openssl.c:(.text+0x111f): undefined reference to `BIO_printf'
| openssl.c:(.text+0x1162): undefined reference to `BIO_printf'
| openssl.o: In function `list_md':
| openssl.c:(.text+0x118f): undefined reference to `EVP_MD_do_all_sorted'
| openssl.o: In function `function_hash':
| openssl.c:(.text+0x1213): undefined reference to `lh_strhash'
| openssl.o: In function `prog_init':
| openssl.c:(.text+0x12a7): undefined reference to `lh_new'
| openssl.c:(.text+0x12d4): undefined reference to `lh_insert'
| verify.o: In function `verify_main':

PLUS LOTS MORE UNDEFINED IN OTHER FILES

NOTE: package openssl-native-1.0.0d-r14.0: task do_compile: Failed
ERROR: Function 'do_compile' failed (see /home/rihyams/overo-oe/tmp/work/i686-linux/openssl-native-1.0.0d-r14.0/temp/log.do_compile.30469 for further information)
ERROR: Task 13 (/home/rihyams/overo-oe/org.openembedded.dev/recipes/openssl/openssl-native_1.0.0d.bb, do_compile) failed with exit code '1'
ERROR: '/home/rihyams/overo-oe/org.openembedded.dev/recipes/openssl/openssl-native_1.0.0d.bb' failed


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users



------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: openssl-native compile error

Panda Resistor
In reply to this post by Panda Resistor
I have checked and openssl will build with Ubuntu 10.04. I therefore believe it is a problem related to the new Ubuntu, potentially an update in gcc/g++. I have logged a bug with the openembedded team.

Cheers

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: openssl-native compile error

Alex Gibson-3
On 18/10/2011 7:42 AM, Panda Resistor wrote:
> I have checked and openssl will build with Ubuntu 10.04. I therefore
> believe it is a problem related to the new Ubuntu, potentially an update
> in gcc/g++. I have logged a bug with the openembedded team.
>
> Cheers

I had lots of trouble initally with building angstrom(gumstix)on fedora
15 with the switch to gcc 4.6.

Java packages (jamvm, jikes, cacao,
classpath,classpath-gtk,openjdk-6-jre) still won't build but most others
will.

openssl and openssl-native build fine.

If you need them just install via opkg from one of the repos.
If its not in the gumstix repo.

Add the angstrom repo and install.


e.g
echo 'src/gz angstrom-base
http://www.angstrom-distribution.org/feeds/unstable/ipk/glibc/armv7a/base'
 > /etc/opkg/angstrom-base.conf

opkg install openssl


Same thing if you need java
http://wiki.gumstix.org/index.php?title=Onboard_Java_Compiler

Alex

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: openssl-native compile error

Tien Nguyen-3
In reply to this post by Panda Resistor
Oh wow!!!Thanks for mentioning this. It was built fine on my 11.04 but then I updated to 11.10 and I got this problem.
--
Tiến Nguyễn
www.tplogic.com



On Mon, Oct 17, 2011 at 1:42 PM, Panda Resistor <[hidden email]> wrote:
I have checked and openssl will build with Ubuntu 10.04. I therefore believe it is a problem related to the new Ubuntu, potentially an update in gcc/g++. I have logged a bug with the openembedded team.

Cheers

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users



------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: openssl-native compile error

Scott Ellis
I reverted openssl to an older version as a work-around.

PREFERRED_VERSION entries in local.conf didn't work for this.

So I modified this include instead

${OVEROTOP}/org.openembedded.dev/conf/distro/include/angstrom-2008-preferred-versions.inc

-PREFERRED_VERSION_openssl = "1.0.0d"
-PREFERRED_VERSION_openssl-native = "1.0.0d"
+PREFERRED_VERSION_openssl      = "0.9.8m"
+PREFERRED_VERSION_openssl-native = "0.9.8m"

openssl and a complete minimal image that I use now builds on an Ubuntu
11.10 test system. I didn't test any bigger images. YMMV.

Scott




------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: openssl-native compile error

Panda Resistor
In reply to this post by Panda Resistor
The openembedded mail list has said that the bug has been fixed in the oe-core branch on their git, but that it needs backporting to the 2011.03 branch if necessary for what I am doing. I'm going to be honest and say that in this confusing world of open source software, this is far beyond me....especially when I can currently get it to build on 10.04. Either way, this may be useful for someone with more knowledge than I.

Either way, thank you for the tip about the 0.9.8 version, good to know!

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: openssl-native compile error

JamesAng
In reply to this post by Scott Ellis
HI,

I read that there is another workaround by removing the last patch from the recipe.
http://lists.linuxtogo.org/pipermail/openembedded-devel/2011-October/035776.html

I tried that and it compiled nicely but I don't know if the functionalities will be affected.

James.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

openssl-native compile error

FatalError
In reply to this post by Panda Resistor
I have this exact issue.
VirtualBox Ubuntu 11.10
Bitbake  1.12.0
DISTRO_VERSION    "2011.03"

Followed setup "Using the Open Embedded Build System for Overo Series": http://www.gumstix.org/software-development/open-embedded/61-using-the-open-embedded-build-system.html

Tried: bitbake helloworld-image

and got error message: package openssl-native-1.0.0d-r14.0: task do_compile: Failed.

Have tried the following with out success.
What I have tried and didn't work

I had the same issue (while doing a 'bitbake helloworld-image' for beagleboard
angstrom under Ubuntu 11.10 'oneiric'), with bitbake 1.12.0 and openembedded
2011.03 (from git).

I edited $OEBASE/oe/openembedded/recipes/openssl/openssl-native_1.0.0d.bb and
removed the reference to libdeps-first.patch in the SRC_URI section.


What I have tried and didn't work

${OVEROTOP}/org.openembedded.dev/conf/distro/include/angstrom-2008-preferred-versions.inc

-PREFERRED_VERSION_openssl = "1.0.0d"
-PREFERRED_VERSION_openssl-native = "1.0.0d"
+PREFERRED_VERSION_openssl      = "0.9.8m"
+PREFERRED_VERSION_openssl-native = "0.9.8m"
---
Need a working solution.
Has this been resolved?
If so, how?

Thanks
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: openssl-native compile error

roystonvasey
As far as I can see I have the same build environment as you
Windows 7 64bit
VirtualBox hosting Ubuntu 11.10 x64  'oneiric'
Build Configuration:
BB_VERSION        = "1.12.0"
METADATA_BRANCH   = "overo-2011.03"
METADATA_REVISION = "d042ac9"
TARGET_ARCH       = "arm"
TARGET_OS         = "linux-gnueabi"
MACHINE           = "overo"
DISTRO            = "angstrom"
DISTRO_VERSION    = "2011.03"
TARGET_FPU        = "hard"

I can build openssl 1.0 native and target without a problem.
Are you using the latest OE? Do a 'git pull' from your org.openembedded directory.

Cheers Mike.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: openssl-native compile error

FatalError
Thanks for taking a look.

Well the items we have listed are almost the same, I am running 32-bit Ubuntu. Hmmm strange
Copy from the terminal windows;
Build Configuration:
BB_VERSION        = "1.12.0"
METADATA_BRANCH   = "overo-2011.03"
METADATA_REVISION = "d042ac9"
TARGET_ARCH       = "arm"
TARGET_OS         = "linux-gnueabi"
MACHINE           = "overo"
DISTRO            = "angstrom"
DISTRO_VERSION    = "2011.03"
TARGET_FPU        = "hard"

with
Windows 7 64bit
Oracle VirtualBox 64 bit V4.1.6 r74713
Hosting Ubuntu 11.10 x32

I am going to install the 64-bit version and see what happens.

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Noob: openssl-native compile error?

FatalError
UPDATE:
Two new Vbox machine images made, one Ubuntu 32-bit and the other Ubuntu 64-bit.
Used the "Using the Open Embedded Build System for Overo Series" setup on each taken straight from the Gumstix website at http://gumstix.org/software-development/open-embedded/61-using-the-open-embedded-build-system.html

Everything worked per the setup instructions except I had to install g++ per a missing essential packages message error.

Build Configuration:
BB_VERSION        = "1.12.0"
METADATA_BRANCH   = "overo-2011.03"
METADATA_REVISION = "d042ac9"
TARGET_ARCH       = "arm"
TARGET_OS         = "linux-gnueabi"
MACHINE           = "overo"
DISTRO            = "angstrom"
DISTRO_VERSION    = "2011.03"
TARGET_FPU        = "hard"

After which each Vbox generates a penssl and openssl error.
NOTE: package openssl-native-1.0.0d-r14.0: task do_compile: Failed
ERROR: Function 'do_compile' failed (see /home/jhobbs/oe/tmp/work/x86_64-linux/openssl-native-1.0.0d-r14.0/temp/log.do_compile.2726 for further information)
ERROR: Task 565 (/home/jhobbs/oe/oe-dev/recipes/openssl/openssl-native_1.0.0d.bb, do_compile) failed with exit code '1'
ERROR: '/home/jhobbs/oe/oe-dev/recipes/openssl/openssl-native_1.0.0d.bb' failed

Anyone have any idea's on how to get these things working?
Are these just useless instructions on the gumstix web page?
Anyone have a set of working instructions?

As a bonus I tried these additional instructions because I just want to see something  work.
Ran GtkTerm, connected to the gumstix just fine.

http://www.gumstix.org/add-software-packages.html
Per the Opkg Package Management, First step:
$ opkg install helloworld-0.0.ipk

Got Collected errors:
 * wfopen: helloworld-0.0.ipk: No such file...

Do any of the instruction for use provided by Gumstix actually work?
These are some pretty basic instructions. Whats wrong here?
Can someone point out to me where some good instructions are.

All I want to do is write come simple code and have it run on the gumstix. HOW DO I DO THIS?





Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Noob: openssl-native compile error?

Chris Dollar
On Mon, Dec 19, 2011 at 5:31 PM, FatalError <[hidden email]> wrote:
UPDATE:
Two new Vbox machine images made, one Ubuntu 32-bit and the other Ubuntu
64-bit.
Used the "Using the Open Embedded Build System for Overo Series" setup on
each taken straight from the Gumstix website at
http://gumstix.org/software-development/open-embedded/61-using-the-open-embedded-build-system.html

Everything worked per the setup instructions except I had to install g++ per
a missing essential packages message error.

Build Configuration:
BB_VERSION        = "1.12.0"
METADATA_BRANCH   = "overo-2011.03"
METADATA_REVISION = "d042ac9"
TARGET_ARCH       = "arm"
TARGET_OS         = "linux-gnueabi"
MACHINE           = "overo"
DISTRO            = "angstrom"
DISTRO_VERSION    = "2011.03"
TARGET_FPU        = "hard"

After which each Vbox generates a penssl and openssl error.
NOTE: package openssl-native-1.0.0d-r14.0: task do_compile: Failed
ERROR: Function 'do_compile' failed (see
/home/jhobbs/oe/tmp/work/x86_64-linux/openssl-native-1.0.0d-r14.0/temp/log.do_compile.2726
for further information)
ERROR: Task 565
(/home/jhobbs/oe/oe-dev/recipes/openssl/openssl-native_1.0.0d.bb,
do_compile) failed with exit code '1'
ERROR: '/home/jhobbs/oe/oe-dev/recipes/openssl/openssl-native_1.0.0d.bb'
failed

Can you check the contents of the file referenced in the build failure above and if it has any worthwhile info post it back to the list?


Anyone have any idea's on how to get these things working?
Are these just useless instructions on the gumstix web page?
Anyone have a set of working instructions?

The instructions at gumstix.org work fine for me. It seems that most of the time when folks have issues its due to either using some build distro that isn't directly supported or they aren't reading the directions thoroughly. You'll find a lot of folks providing instructions/how-tos for gumstix, but if you try to use to many resources chances are good that you'll have problems. I'd suggest starting with the instructions at gumstix.org without considering any other resources, and see where that gets you. 
 

As a bonus I tried these additional instructions because I just want to see
something  work.
Ran GtkTerm, connected to the gumstix just fine.

http://www.gumstix.org/add-software-packages.html
Per the Opkg Package Management, First step:
$ opkg install helloworld-0.0.ipk

Got Collected errors:
 * wfopen: helloworld-0.0.ipk: No such file...

Actually, the first step on that page is to copy the helloworld ipk file to the gumstix. The sentence before that one tells you "lets imagine...", so its kind of letting you know its just an example. Since there is no helloworld ipk I don't see how you could be confused here... That is, if you read the page.
 

Do any of the instruction for use provided by Gumstix actually work?
These are some pretty basic instructions. Whats wrong here?
Can someone point out to me where some good instructions are.

Many of them work. Not all, but many. Just be sure to read things carefully.
 

All I want to do is write come simple code and have it run on the gumstix.
HOW DO I DO THIS?

Start with getting your build environment setup and building successfully. There are also other options like compiling code natively on the gumstix, but IMO for real development you'll want a proper build environment.

HTH,
Chris


------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create
new or port existing apps to sell to consumers worldwide. Explore the
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Noob: openssl-native compile error?

FatalError
Thanks for your response and help Chris.


>/home/jhobbs/oe/tmp/work/x86_64-linux/openssl-native-1.0.0d-r14.0/temp/log.do_compile.2726
>
>Can you check the contents of the file referenced in the build failure above and if it has any worthwhile info >post it back to the list?

Here is a small sample;
make[2]: Entering directory `/home/jhobbs/oe/tmp/work/x86_64-linux/openssl-native-1.0.0d-r14.0/openssl-1.0.0d/apps'
openssl.o: In function `main':
openssl.c:(.text+0x1eb): undefined reference to `BIO_s_file'
openssl.c:(.text+0x1f3): undefined reference to `BIO_new'
openssl.c:(.text+0x235): undefined reference to `BIO_ctrl'

The file then continues on with 100+ of undefined reference to... then stops mid-line.
If you would like more or to see the file in its entirety please let me know and I shall send it to you.


>The instructions at gumstix.org work fine for me. It seems that most of the time when folks have issues its due >to either using some build distro that isn't directly supported or they aren't reading the directions thoroughly. >You'll find a lot of folks providing instructions/how-tos for gumstix, but if you try to use to many resources >chances are good that you'll have problems. I'd suggest starting with the instructions at gumstix.org without >considering any other resources, and see where that gets you.

I wish I knew how, why or what it is that prevents the "Using the Open Embedded Build System for Overo Series" instructions from working for me. I have followed the instructions in what I believe to be to the letter four  times. Too make sure of this I record my every command entered/done each time. I hate to take up space, but I am going to go ahead and put it on this message. Maybe you might spot something I missed.

sudo apt-get install git
sudo apt-get install subversion
sudo apt-get install patch
sudo apt-get install gcc
sudo apt-get install help2html
sudo apt-get install diffstat
sudo apt-get install texi2html
sudo apt-get install texinfo
sudo apt-get install libncurses5-dev
sudo apt-get install cvs
sudo apt-get install gawk
sudo apt-get install python-dev
sudo apt-get install python-pysqlite2
sudo apt-get install unzip
sudo apt-get install chrpath
sudo apt-get install ccache
sudo apt-get install g++

mkdir -p ~/oe
cd ~/oe

sudo dpkg-reconfigure dash [select No]

git clone git://gitorious.org/gumstix-oe/mainline.git oe-dev  [couldn't get this to work]

git clone git://gitorious.org/gumstix-oe/mainline.git                                          
[this worked, renamed to oe-dev]  

cd oe-dev  
git checkout --track -b overo-2011.03 origin/overo-2011.03

cd ~/oe
git clone git://git.openembedded.org/bitbake bitbake
cd bitbake
git checkout 1.12.0

cd ~/oe
cp -r oe-dev/contrib/gumstix/build .
[edit ~/oe/build/profile and change overo-oe to oe & org.openembedded.dev to oe-dev]

cd ~/
cp ~/.bashrc ~/bashrc.bak
cat ~/oe/build/profile >> ~/.bashrc
log out/log back in
[open bashrc.bak and verify the cat worked]

first build
bitbake helloworld-image


Anyone else having issues with the latest versions?
Vbox
Ubuntu 11.10 32 or 64 bit
DISTRO_VERSION    = "2011.03"
BB_VERSION        = "1.12.0"

I am stuck so thanks again for any help or suggestions.

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Noob: openssl-native compile error?

Chris Dollar
What distro are your running on your build machine?

On Tue, Dec 20, 2011 at 7:44 AM, FatalError <[hidden email]> wrote:
Thanks for your response and help Chris.


>/home/jhobbs/oe/tmp/work/x86_64-linux/openssl-native-1.0.0d-r14.0/temp/log.do_compile.2726
>
>Can you check the contents of the file referenced in the build failure
above and if it has any worthwhile info >post it back to the list?

Here is a small sample;
make[2]: Entering directory
`/home/jhobbs/oe/tmp/work/x86_64-linux/openssl-native-1.0.0d-r14.0/openssl-1.0.0d/apps'
openssl.o: In function `main':
openssl.c:(.text+0x1eb): undefined reference to `BIO_s_file'
openssl.c:(.text+0x1f3): undefined reference to `BIO_new'
openssl.c:(.text+0x235): undefined reference to `BIO_ctrl'

The file then continues on with 100+ of undefined reference to... then stops
mid-line.
If you would like more or to see the file in its entirety please let me know
and I shall send it to you.


>The instructions at gumstix.org work fine for me. It seems that most of the
time when folks have issues its due >to either using some build distro that
isn't directly supported or they aren't reading the directions thoroughly.
>You'll find a lot of folks providing instructions/how-tos for gumstix, but
if you try to use to many resources >chances are good that you'll have
problems. I'd suggest starting with the instructions at gumstix.org without
>considering any other resources, and see where that gets you.

I wish I knew how, why or what it is that prevents the "Using the Open
Embedded Build System for Overo Series" instructions from working for me. I
have followed the instructions in what I believe to be to the letter four
times. Too make sure of this I record my every command entered/done each
time. I hate to take up space, but I am going to go ahead and put it on this
message. Maybe you might spot something I missed.

sudo apt-get install git
sudo apt-get install subversion
sudo apt-get install patch
sudo apt-get install gcc
sudo apt-get install help2html
sudo apt-get install diffstat
sudo apt-get install texi2html
sudo apt-get install texinfo
sudo apt-get install libncurses5-dev
sudo apt-get install cvs
sudo apt-get install gawk
sudo apt-get install python-dev
sudo apt-get install python-pysqlite2
sudo apt-get install unzip
sudo apt-get install chrpath
sudo apt-get install ccache
sudo apt-get install g++

mkdir -p ~/oe
cd ~/oe

sudo dpkg-reconfigure dash [select No]

git clone git://gitorious.org/gumstix-oe/mainline.git oe-dev  [couldn't get
this to work]

git clone git://gitorious.org/gumstix-oe/mainline.git
[this worked, renamed to oe-dev]

cd oe-dev
git checkout --track -b overo-2011.03 origin/overo-2011.03

cd ~/oe
git clone git://git.openembedded.org/bitbake bitbake
cd bitbake
git checkout 1.12.0

cd ~/oe
cp -r oe-dev/contrib/gumstix/build .
[edit ~/oe/build/profile and change overo-oe to oe & org.openembedded.dev to
oe-dev]

cd ~/
cp ~/.bashrc ~/bashrc.bak
cat ~/oe/build/profile >> ~/.bashrc
log out/log back in
[open bashrc.bak and verify the cat worked]

first build
bitbake helloworld-image


Anyone else having issues with the latest versions?
Vbox
Ubuntu 11.10 32 or 64 bit
DISTRO_VERSION    = "2011.03"
BB_VERSION        = "1.12.0"

I am stuck so thanks again for any help or suggestions.



--
View this message in context: http://gumstix.8.n6.nabble.com/openssl-native-compile-error-tp630730p1993641.html
Sent from the Gumstix mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create
new or port existing apps to sell to consumers worldwide. Explore the
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users


------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create
new or port existing apps to sell to consumers worldwide. Explore the
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: openssl-native compile error

flyingk
In reply to this post by Panda Resistor
Hi all,

I have the same problem on Ubuntu 10.10 (32 bit I think - can't check at the moment as the office is closed for Christmas) with the latest updates. I had it working fine until a few weeks ago and then I did a "git pull", which made some changes to the openssl stuff. Since then it is broken, I cannot even re-build the console image without that failure. I don't know how to undo the pull so I am stuck here, too.

Best regards,

Kai
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Noob: openssl-native compile error?

FatalError
In reply to this post by Chris Dollar
>What distro are your running on your build machine?

Versions in current use:
Build Configuration:
BB_VERSION        = "1.12.0"
METADATA_BRANCH   = "overo-2011.03"
METADATA_REVISION = "d042ac9"
TARGET_ARCH       = "arm"
TARGET_OS         = "linux-gnueabi"
MACHINE           = "overo"
DISTRO            = "angstrom"
DISTRO_VERSION    = "2011.03"
TARGET_FPU        = "hard"

Using window 7 64-bit
Oracle VM v4.1.6 r74713
Ubuntu 11.10 64-bit

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Noob: openssl-native compile error?

Chris Dollar
Is there any reason you can't use an older version of ubuntu? There are some known issues with ubuntu 11.10 (and possibly also 11.04?), and afaik the "workarounds" that have been posted to the mailing list aren't working for everyone. If you can I'd suggest going with ubuntu 10.04 (an LTS release that should be supported till 2013 I think) or even 10.10. I've had no problems building with either of those distros. 32-bit also seems less problematic many times, but personally I've not experienced any issues with 64-bit ubuntu 10.04 or 10.10.

I'd say that 32-bit ubuntu 10.04 is your best bet as it will be supported for a while by ubuntu and I'm pretty sure this is the version the gumstix devs use, so it probably has the fewest bugs when it comes to the bitbake process.

I know this isn't a "fix" for your current error, but it may be an easier route to go down in the long run.

Chris

On Tue, Dec 20, 2011 at 4:03 PM, FatalError <[hidden email]> wrote:
>What distro are your running on your build machine?

Versions in current use:
Build Configuration:
BB_VERSION        = "1.12.0"
METADATA_BRANCH   = "overo-2011.03"
METADATA_REVISION = "d042ac9"
TARGET_ARCH       = "arm"
TARGET_OS         = "linux-gnueabi"
MACHINE           = "overo"
DISTRO            = "angstrom"
DISTRO_VERSION    = "2011.03"
TARGET_FPU        = "hard"

Using window 7 64-bit
Oracle VM v4.1.6 r74713
Ubuntu 11.10 64-bit



--
View this message in context: http://gumstix.8.n6.nabble.com/openssl-native-compile-error-tp630730p2006743.html
Sent from the Gumstix mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create
new or port existing apps to sell to consumers worldwide. Explore the
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users


------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create
new or port existing apps to sell to consumers worldwide. Explore the
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users
12
Loading...