Skip to contentSkip to conversation

build errors in openssl-native

DISCUSSION Holger Freyther 4 participants 6 messages Jan 24, 2011 – Oct 23, 2011

lore
Share & tools
lore
#0 lore raw

Hi,

is anyone else seeing build errors like this:

make[2]: Entering directory /data/openembedded/build/arm/cortex-a8/tmp/work/x86_64-linux/openssl-native-1.0.0c-r14.0/openssl-1.0.0c/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'

this is just the beginning of thousand of symbols. I am going to dig deeper if I am the only one seeing it.

#1 lore raw
Quoted 10 lines · Holger Freyther

Hi,

is anyone else seeing build errors like this:

make[2]: Entering directory /data/openembedded/build/arm/cortex-a8/tmp/work/x86_64-linux/openssl-native-1.0.0c-r14.0/openssl-1.0.0c/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'

patches/libdeps-first.patch

is causing it... no idea why yet

#2 lore raw
Quoted 4 lines · Holger Freyther
Quoted 3 lines · Holger Freyther

Hi,

is anyone else seeing build errors like this:

next weird breakage is curl-native... compiled without gnutls ending up linking to the system gnutls that uses gcrypt but does not link to it...

#3 lore raw
Quoted 10 lines · Holger Freyther <holger+oe <at> freyther.de> writes:
Quoted 4 lines · Holger Freyther
Quoted 3 lines · Holger Freyther

Hi,

is anyone else seeing build errors like this:

next weird breakage is curl-native... compiled without gnutls ending up linking to the system gnutls that uses gcrypt but does not link to it...

Any luck with this? I've run into the same error and can't seem to resolve the issue. I can't find anyone else who's had this issue.

I'm running Ubuntu 11.10 with Python 2.6 and gcc 4.6

I wonder if it has to do with the version of gcc, or maybe a stray link or include path. I'm gonna keep working on it and will let you know if I find anything.

#4 lore raw

Hi Wilder,
try dropping libdeps-first.patch in openssl-native recipe. It does not allow openssl-native build on ubuntu 11.10.

Regards
Pierlugi

#5 lore raw
Quoted 8 lines · Pierluigi Passaro <pierluigi.passaro <at> phoenixsoftware.it> writes:

Hi Wilder,
try dropping libdeps-first.patch in openssl-native recipe. It does not allow openssl-native build on ubuntu 11.10.

Regards
Pierlugi

This worked.

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.

Many thanks for the help - getting started with OE/bitbake can be a bit intimidating for the uninitiated!

Krgds, M