OpenBSD46 on Sparc64 with openSSL

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

OpenBSD46 on Sparc64 with openSSL

Matthias Pfeifer-4
Hello List

I am trying to build my own OpenSSL (openssl-0.9.8l, with threads enabled)
for installing in a seperate folder. Because i need it for just one
application.


Just for testing:

./config --prefix=/usr/openssl_multi --openssldir=/usr/openssl_multi/openssl

The output looks fine, then i try a "make":

....
ca.o(.text+0x1658): In function `ca_main':
: warning: strcpy() is almost always misused, please use strlcpy()
passwd.o(.text+0xe3c): In function `md5crypt':
: warning: strcat() is almost always misused, please use strlcat()
../libcrypto.a(e_cswift.o)(.text+0x5f4): In function `cswift_dsa_sign':
: warning: sprintf() is often misused, please use snprintf()
speed.o(.text+0x1338): In function `speed_main':
: undefined reference to `DES_ncbc_encrypt'
../libcrypto.a(e_des.o)(.text+0x1dc): In function `des_cbc_cipher':
: undefined reference to `DES_ncbc_encrypt'
../libcrypto.a(e_des3.o)(.text+0x3ac): In function `des_ede_cbc_cipher':
: undefined reference to `DES_ede3_cbc_encrypt'
../libcrypto.a(ecb_enc.o)(.text+0x64): In function `DES_ecb_encrypt':
: undefined reference to `DES_encrypt1'
../libcrypto.a(ecb3_enc.o)(.text+0x74): In function `DES_ecb3_encrypt':
: undefined reference to `DES_encrypt3'
../libcrypto.a(ecb3_enc.o)(.text+0x84): In function `DES_ecb3_encrypt':
: undefined reference to `DES_decrypt3'
../libcrypto.a(cfb64enc.o)(.text+0xc8): In function `DES_cfb64_encrypt':
: undefined reference to `DES_encrypt1'
../libcrypto.a(cfb64enc.o)(.text+0x1c8): In function `DES_cfb64_encrypt':
: undefined reference to `DES_encrypt1'
../libcrypto.a(cfb64ede.o)(.text+0x1f4): In function `DES_ede3_cfb64_encrypt':
: undefined reference to `DES_encrypt3'
../libcrypto.a(cfb64ede.o)(.text+0x2f8): In function `DES_ede3_cfb64_encrypt':
: undefined reference to `DES_encrypt3'
../libcrypto.a(cfb64ede.o)(.text+0x444): In function `DES_ede3_cfb_encrypt':
: undefined reference to `DES_encrypt3'
../libcrypto.a(cfb64ede.o)(.text+0x7b8): In function `DES_ede3_cfb_encrypt':
: undefined reference to `DES_encrypt3'
../libcrypto.a(cfb_enc.o)(.text+0x210): In function `DES_cfb_encrypt':
: undefined reference to `DES_encrypt1'
../libcrypto.a(cfb_enc.o)(.text+0x578): In function `DES_cfb_encrypt':
: undefined reference to `DES_encrypt1'
../libcrypto.a(ofb64ede.o)(.text+0x1a4): In function `DES_ede3_ofb64_encrypt':
: undefined reference to `DES_encrypt3'
../libcrypto.a(ofb64enc.o)(.text+0x1a4): In function `DES_ofb64_encrypt':
: undefined reference to `DES_encrypt1'
../libcrypto.a(xcbc_enc.o)(.text+0x264): In function `DES_xcbc_encrypt':
: undefined reference to `DES_encrypt1'
../libcrypto.a(xcbc_enc.o)(.text+0x3c0): In function `DES_xcbc_encrypt':
: undefined reference to `DES_encrypt1'
../libcrypto.a(xcbc_enc.o)(.text+0x550): In function `DES_xcbc_encrypt':
: undefined reference to `DES_encrypt1'
../libcrypto.a(xcbc_enc.o)(.text+0x660): In function `DES_xcbc_encrypt':
: undefined reference to `DES_encrypt1'
collect2: ld returned 1 exit status

*** Error code 1Stop in /usr/local/source/openssl-0.9.8l/apps (line 162 of ../Makefile.shared).
*** Error code 1

Stop in /usr/local/source/openssl-0.9.8l/apps (line 152 of Makefile).
*** Error code 1

Stop in /usr/local/source/openssl-0.9.8l (line 343 of Makefile).




Can anyone give me a hint how to build openssl on sparc64 with threads enabled?
Thanks

Reply | Threaded
Open this post in threaded view
|

Re: Just NOISE OpenBSD46 on Sparc64 with openSSL

Matthias Pfeifer-4
On Mon, 15 Feb 2010 14:26:06 +0100
Matthias Pfeifer <[hidden email]> wrote:

> Hello List
>
> I am trying to build my own OpenSSL (openssl-0.9.8l, with threads enabled)
> for installing in a seperate folder. Because i need it for just one
> application.
>
>
> Just for testing:
>
> ./config --prefix=/usr/openssl_multi --openssldir=/usr/openssl_multi/openssl
>
> The output looks fine, then i try a "make":
>
> ....
> ca.o(.text+0x1658): In function `ca_main':
> : warning: strcpy() is almost always misused, please use strlcpy()
> passwd.o(.text+0xe3c): In function `md5crypt':
> : warning: strcat() is almost always misused, please use strlcat()
> ../libcrypto.a(e_cswift.o)(.text+0x5f4): In function `cswift_dsa_sign':
> : warning: sprintf() is often misused, please use snprintf()
> speed.o(.text+0x1338): In function `speed_main':
> : undefined reference to `DES_ncbc_encrypt'
> ../libcrypto.a(e_des.o)(.text+0x1dc): In function `des_cbc_cipher':
> : undefined reference to `DES_ncbc_encrypt'
> ../libcrypto.a(e_des3.o)(.text+0x3ac): In function `des_ede_cbc_cipher':
> : undefined reference to `DES_ede3_cbc_encrypt'
> ../libcrypto.a(ecb_enc.o)(.text+0x64): In function `DES_ecb_encrypt':
> : undefined reference to `DES_encrypt1'
> ../libcrypto.a(ecb3_enc.o)(.text+0x74): In function `DES_ecb3_encrypt':
> : undefined reference to `DES_encrypt3'
> ../libcrypto.a(ecb3_enc.o)(.text+0x84): In function `DES_ecb3_encrypt':
> : undefined reference to `DES_decrypt3'
> ../libcrypto.a(cfb64enc.o)(.text+0xc8): In function `DES_cfb64_encrypt':
> : undefined reference to `DES_encrypt1'
> ../libcrypto.a(cfb64enc.o)(.text+0x1c8): In function `DES_cfb64_encrypt':
> : undefined reference to `DES_encrypt1'
> ../libcrypto.a(cfb64ede.o)(.text+0x1f4): In function `DES_ede3_cfb64_encrypt':
> : undefined reference to `DES_encrypt3'
> ../libcrypto.a(cfb64ede.o)(.text+0x2f8): In function `DES_ede3_cfb64_encrypt':
> : undefined reference to `DES_encrypt3'
> ../libcrypto.a(cfb64ede.o)(.text+0x444): In function `DES_ede3_cfb_encrypt':
> : undefined reference to `DES_encrypt3'
> ../libcrypto.a(cfb64ede.o)(.text+0x7b8): In function `DES_ede3_cfb_encrypt':
> : undefined reference to `DES_encrypt3'
> ../libcrypto.a(cfb_enc.o)(.text+0x210): In function `DES_cfb_encrypt':
> : undefined reference to `DES_encrypt1'
> ../libcrypto.a(cfb_enc.o)(.text+0x578): In function `DES_cfb_encrypt':
> : undefined reference to `DES_encrypt1'
> ../libcrypto.a(ofb64ede.o)(.text+0x1a4): In function `DES_ede3_ofb64_encrypt':
> : undefined reference to `DES_encrypt3'
> ../libcrypto.a(ofb64enc.o)(.text+0x1a4): In function `DES_ofb64_encrypt':
> : undefined reference to `DES_encrypt1'
> ../libcrypto.a(xcbc_enc.o)(.text+0x264): In function `DES_xcbc_encrypt':
> : undefined reference to `DES_encrypt1'
> ../libcrypto.a(xcbc_enc.o)(.text+0x3c0): In function `DES_xcbc_encrypt':
> : undefined reference to `DES_encrypt1'
> ../libcrypto.a(xcbc_enc.o)(.text+0x550): In function `DES_xcbc_encrypt':
> : undefined reference to `DES_encrypt1'
> ../libcrypto.a(xcbc_enc.o)(.text+0x660): In function `DES_xcbc_encrypt':
> : undefined reference to `DES_encrypt1'
> collect2: ld returned 1 exit status
>
> *** Error code 1Stop in /usr/local/source/openssl-0.9.8l/apps (line 162 of ../Makefile.shared).
> *** Error code 1
>
> Stop in /usr/local/source/openssl-0.9.8l/apps (line 152 of Makefile).
> *** Error code 1
>
> Stop in /usr/local/source/openssl-0.9.8l (line 343 of Makefile).
>
>
>
>
> Can anyone give me a hint how to build openssl on sparc64 with threads enabled?
> Thanks
>



Ok, "no-asm" helps. Sorry for the noise :)