On Tue, 2022-01-11 at 10:15 +, Kumar Mishra, Sanjeev wrote:
> Hi,
> I am getting following linking Error for APIs "bn_get_words()" and
> "bn_get_top()" while compiling with OpenSSL 3.0. Although crypto/bn.h
> is included in file.
> Please help to resolve it.
> Regards,
> Sanjeev
These symbols
t/libs/db64/libdrm.a(DrmDebugUtils.o):
in function `DrmDbgNitroxCmd(int, char**, CLI_CMD_STR*, void*)':
/sonus/p4/ws/skumarmishra/openssl3_howard/orca/drm/lib/src/DrmDebugUtils.c:5704:
undefined reference to `bn_get_words(bignum_st const*)'
/bin/ld:
/sonus/p4/ws/skumarmishra/openssl3_howard/orca/dr
> From: openssl-users [mailto:openssl-users-boun...@openssl.org] On Behalf
> Of craig_we...@trendmicro.com
> Sent: Tuesday, October 18, 2016 14:05
>
> Ok, I see *how* this is happening, but I don't understand why. In the
> version of stdlib.h that I am including I see:
> [omitted]
>
> So, for C
ot;helping" me more than I want but I don't know how to make it stop.
-Original Message-
From: openssl-users [mailto:openssl-users-boun...@openssl.org] On Behalf Of
Salz, Rich
Sent: Friday, October 14, 2016 4:21 PM
To: openssl-users@openssl.org
Subject: Re: [openssl-users] OpenSSL
Stoul is usually a C++ function. Are you sure you're using the right compiler?
Add -lm to your link libraries?
That's all I've got.
--
Senior Architect, Akamai Technologies
Member, OpenSSL Dev Team
IM: richs...@jabber.at Twitter: RichSalz
--
openssl-users mailing list
To unsubscribe: http
I think you are right about some kind of munging of the .c source via some
header file. I just don't know exactly how to track that down. Here are the
files that reference _Stoul in libcrypto.a:
ec_pmeth.c
rsa_pmeth.c
dsa_pmeth.c
dh_pmeth.c
b_sock.c
asn1_gen.c
a_strnid.c
ocsp_ht.c
ts_conf.c
"Stoul" doesn't appear in OpenSSL source. It sounds like some header/runtime
integration issue. Try your 'nm' command with -o to see the filename.
--
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users
We are integrating 1.0.2f into a single product that is built for a
Pentium-based platform and a Mips-based platform, both running on VxWorks. The
Pentium-based version compiles and links without error. But the Mips-based
version fails with undefined references to _Stoul. If I search the 2
l
_GF2m
-DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DRMD160_ASM -DAES_ASM
-DVPAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM}"; LIBPATH=`for x in $LIBDEPS;
do echo $x; done | sed -e 's/^ *-L//;t' -e d | uniq`; LIBPATH=`echo
$LIBPATH | sed -e 's/ /:/g'`; LD_LIBRARY_PATH=$LIBPATH:$
;>> LDCMD="${LDCMD:-gcc}"; LDFLAGS="${LDFLAGS:--DZLIB -DOPENSSL_THREADS
>>> -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -Wa,--noexecstack -DL_ENDIAN -O3
>>> -fomit-frame-pointer -Wall -DOPENSSL_BN_ASM_PART_WORDS
>>> -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MON
:/g'`; LD_LIBRARY_PATH=$LIBPATH:$LD_LIBRARY_PATH
${LDCMD} ${LDFLAGS} -o ${APPNAME:=md2test} md2test.o ${LIBDEPS} )
/usr/lib/gcc/i686-redhat-linux/4.4.7/../../../crt1.o: In function `_start':
(.text+0x18): undefined reference to `main'
collect2: ld returned 1 exit status
mak
nter -Wall -DOPENSSL_BN_ASM_PART_WORDS
> -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_GF2m
> -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DRMD160_ASM -DAES_ASM
> -DVPAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM}"; LIBPATH=`for x in $LIBDEPS;
> do echo $x; done | sed -e
S_ASM
-DVPAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM}"; LIBPATH=`for x in $LIBDEPS;
do echo $x; done | sed -e 's/^ *-L//;t' -e d | uniq`; LIBPATH=`echo
$LIBPATH | sed -e 's/ /:/g'`; LD_LIBRARY_PATH=$LIBPATH:$LD_LIBRARY_PATH
${LDCMD} ${LDFLAGS} -o ${APPNAME:=md2test} md2test.o ${
On 15/02/16 19:59, Rob Hermann wrote:
>
> I'm attempting to build OpenSSL on a Linux box, when I issue the make
> from my OpenSSL directory (OpenSSLWork as seen here), It builds all
> the subdirectories under crypto,
> then proceeds to
What OpenSSL version were you using?
Also please post t
uot;; LIBPATH=`for x in $LIBDEPS;
do echo $x; done | sed -e 's/^ *-L//;t' -e d | uniq`; LIBPATH=`echo
$LIBPATH | sed -e 's/ /:/g'`; LD_LIBRARY_PATH=$LIBPATH:$LD_LIBRARY_PATH
${LDCMD} ${LDFLAGS} -o ${APPNAME:=md2test} md2test.o ${LIBDEPS} )
_/usr/lib/gcc/i686-redhat-linux/4.4.7/../
can I correct it?
> To: openssl-users@openssl.org
> From: marqu...@openssl.com
> Date: Mon, 21 Dec 2015 09:06:01 -0500
> Subject: Re: [openssl-users] undefined reference to `FIPS_mode'
>
> On 12/21/2015 08:39 AM, Marcos Bontempo wrote:
> > I did the tests in a Ubuntu 1
On Mon, Dec 21, 2015 at 7:28 PM, Marcos Bontempo
wrote:
> I'm cross-compiling to a ARMv4 processor, the same used in the BeagleBone.
> Do you know if this platform is supported?
Check the OpenSSL Security Policy at
https://www.openssl.org/docs/fips/SecurityPolicy-2.0.10.pdf. The table
of support
I'm cross-compiling to a ARMv4 processor, the same used in the BeagleBone. Do
you know if this platform is supported?
> To: openssl-users@openssl.org
> From: marqu...@openssl.com
> Date: Mon, 21 Dec 2015 09:06:01 -0500
> Subject: Re: [openssl-users] undefined reference to `FIPS
On 12/21/2015 08:39 AM, Marcos Bontempo wrote:
> I did the tests in a Ubuntu 14.04. Is there a problem with this version?
You're cross compiling ... to what target platform I don't know. That
target platform is what needs to be supported, and both the FIPS module
and "FIPS enabled" OpenSSL need to
I did the tests in a Ubuntu 14.04. Is there a problem with this version?
> To: openssl-users@openssl.org
> From: marqu...@openssl.com
> Date: Mon, 21 Dec 2015 08:20:47 -0500
> Subject: Re: [openssl-users] undefined reference to `FIPS_mode'
>
> On 12/21/2015 07:31 AM
On 12/21/2015 07:31 AM, Marcos Bontempo wrote:
> Hello,
>
> I resolved the error after compiling FIPS with ./config fips shared. I
> also needed to export LD_LIBRARY_PATH=/usr/local/ssl/lib:$LD_LIBRARY_PATH.
>
> Now I have a new problem.
>
> I executed this code to set the FIPS mode and no erro
otmail.com
To: openssl-users@openssl.org
Date: Sun, 20 Dec 2015 14:47:29 -0200
Subject: [openssl-users] undefined reference to `FIPS_mode'
Hello,
I'm programming an application that
c
fipsctl.c -o fipsctl -I/usr/local/ssl/include -I/usr/local/ssl/fips-2.0/include
-Lcrypto/tmp/ccSQhRme.o: In function `main':fipsctl.c:(.text+0x1a): undefined
reference to `FIPS_mode'collect2: error: ld returned 1 exit statusmake: ***
[all] Error 1
Does an
Thanks, Scott, your solution works!
Cheers
Alex
2014-11-25 17:34 GMT+01:00, Alexander Raiola :
> Dear Sirs or Madams,
>
> I have the problem that I keep getting undefined reference errors
> whenever I try to access pretty much any OpenSSL-related command. I
> elaborated on my
Reverse the order of the libraries. Use -lssl -lcrypto.
-Original Message-
From: owner-openssl-us...@openssl.org [mailto:owner-openssl-us...@openssl.org]
On Behalf Of Alexander Raiola
Sent: Tuesday, November 25, 2014 8:34 AM
To: openssl-users@openssl.org
Subject: undefined reference
Dear Sirs or Madams,
I have the problem that I keep getting undefined reference errors
whenever I try to access pretty much any OpenSSL-related command. I
elaborated on my problem in the following thread:
http://stackoverflow.com/questions/27106580/undefined-reference-to-err-load-crypto-strings
mode), though, don't call FIPS_mode_set(). :)
TOM
-- Original Message --
From: "Kay Shamsa"
To: "openssl-users@openssl.org"
Sent: 7/7/2014 8:30:16 PM
Subject: undefined reference to "FIPS_mode_set'
Hi;
I am using encryption to broadcast messages in L
Hi;
I am using encryption to broadcast messages in Linux environment. When using
FIPS_mode_set(1) I get the error message of undefined reference to
"FIPS_mode_set'.
How can I fix this error.
Thanks
Kay
> From: owner-openssl-us...@openssl.org On Behalf Of .uservorname
.usernachname
> Sent: Saturday, 06 April, 2013 05:52
> Thanks for your help. I tried to compile the testprogram with
> "gcc ssl_accept.c -o sslaccept -lssl -lcrypto -L/usr/lib"
> When executing ./sslaccept I get ./sslaccept: error
ept.
greetings
> From: rs...@akamai.com
> To: openssl-users@openssl.org
> Date: Thu, 4 Apr 2013 05:46:03 -0600
> Subject: RE: testprogram results in undefined reference to x
>
> Wow, that's a lot of output :)
>
> First of all, you need -lssl and -lcrypto. Wh
Wow, that's a lot of output :)
First of all, you need -lssl and -lcrypto. Where did you install the OpenSSL
libraries, are they in a common place that your compiler can find? If not,
you'll need to add -L/ where is the path to the place where the
libraries (libssl.a for example) can
);
int
main ()
{
return SSL_accept ();
;
return 0;
}
But I get a lot of undefinied function errors in libssl.a like this:
/usr/lib/gcc/sparc-unknown-linux-gnu/4.6.0/../../../libssl.a(ssl_lib.o)(.text+0x368):
In function `ssl_undefined_function':
: undefined reference to `ERR_pu
gt;> export CXX=/usr/local/ssl/fips-2.0/bin/fipsld
>>>>>
>>>>> Build Errors:
>>>>>
>>>>>
>>>>> /tmp/cczHeW7i.o: In function `FINGERPRINT_premain()':
>>>>> /usr/local/ssl/fips-2.0/bin/../lib/fips_pr
al/ssl/fips-2.0/bin/fipsld
>>>>
>>>> Build Errors:
>>>>
>>>>
>>>> /tmp/cczHeW7i.o: In function `FINGERPRINT_premain()':
>>>> /usr/local/ssl/fips-2.0/bin/../lib/fips_premain.c:103: undefined
>>>> reference
>
xport CXX=/usr/local/ssl/fips-2.0/bin/fipsld
Build Errors:
/tmp/cczHeW7i.o: In function `FINGERPRINT_premain()':
/usr/local/ssl/fips-2.0/bin/../lib/fips_premain.c:103: undefined
reference
to `FIPS_text_start()'
/usr/local/ssl/fips-2.0/bin/../lib/fips_premain.c:116: undefin
On Sat, Nov 24, 2012, Santhosh Kokala wrote:
> I would really appreciate, if someone helps me with this issue.
Firstly if your application can use the shared library then just link against
that: there is no need to use fipsld at all.
If you must use static libraries then you should ensure that t
@openssl.org
Cc: openssl-...@openssl.org
Subject: Re: Undefined reference to 'FIPS_text_start()'
Jeffrey,
This still did not fix my issue. Any other ideas?
Santhosh
On 11/20/12 4:14 PM, "Jeffrey Walton" wrote:
>On Tue, Nov 20, 2012 at 6:16 PM, Santhosh Kokala
> wrote:
>
t;>
>> export FIPSLD_CC=g++
>> export CC=gcc
>> export CXX=/usr/local/ssl/fips-2.0/bin/fipsld
>>
>> Build Errors:
>>
>>
>> /tmp/cczHeW7i.o: In function `FINGERPRINT_premain()':
>> /usr/local/ssl/fips-2.0/bin/../lib/fips_premain.c:103: undef
pen SSL:
>
> ./config fips
> make depend
> Make
>
> My Application:
>
> export FIPSLD_CC=g++
> export CC=gcc
> export CXX=/usr/local/ssl/fips-2.0/bin/fipsld
>
> Build Errors:
>
>
> /tmp/cczHeW7i.o: In function `FINGERPRINT_premain()':
> /usr/local
/local/ssl/fips-2.0/bin/fipsld
Build Errors:
/tmp/cczHeW7i.o: In function `FINGERPRINT_premain()':
/usr/local/ssl/fips-2.0/bin/../lib/fips_premain.c:103: undefined reference
to `FIPS_text_start()'
/usr/local/ssl/fips-2.0/bin/../lib/fips_premain.c:116: undefined re
Hello, I using gcc with codeblocks and I tried to compile the code below and
got the undefined reference error on lines 57 and 70. Am I supposed to use a
library to link with, I just gave the compiler to directory for the include
files in the crypto folder and the include folder.
/* crypto/sha
rectory `/c/_32/comp/openssl-0.9.8o/engines'
e_4758cca.o:e_4758cca.c:(.text+0x40): undefined reference to
`ERR_unload_strings'
e_4758cca.o:e_4758cca.c:(.text+0x53): undefined reference to
`ERR_unload_strings'
e_4758cca.o:e_4758cca.c:(.text+0x75): undefined reference to `CRYPTO_free'
e_4758c
Subject: RE: Error copiling ssl: undefined reference
A lot of thanks, now roks perfectly.
The problem it was that i put the commnad line with -o and the correct
form was:
gcc -lssl -lcrypto cli.c
Thanks.
> Date: Sat, 27 Feb 2010 1
A lot of thanks, now roks perfectly.The problem it was that i put the commnad
line with -o and the correct form was:gcc -lssl -lcrypto cli.c
Thanks.
> Date: Sat, 27 Feb 2010 11:33:31 -0800
> From: pie...@hogranch.com
> To: openssl-users@openssl.org
> Subject: Re: Error copiling ss
xabi esteban wrote:
A lot of thanks but I'm vey confused and my english is not good. I
compile with ggc -o and you said that this is not enought, i need
linket too?
Put you put an example linking the libreres with gcc or example for a
makefile? Thanks
at a minimum, try adding -lssl -lcrypto
; From: pie...@hogranch.com
> To: openssl-users@openssl.org
> Subject: Re: Error copiling ssl: undefined reference
>
> xabi esteban wrote:
> > I am using in a shell in Ubuntu Linux
>
> try adding -lssl to your link options.
>
>
>
xabi esteban wrote:
I am using in a shell in Ubuntu Linux
try adding -lssl to your link options.
__
OpenSSL Project http://www.openssl.org
User Support Mailing Listopenssl-u
I am using in a shell in Ubuntu Linux
thanks
Date: Fri, 26 Feb 2010 14:47:22 -0500
Subject: Re: Error copiling ssl: undefined reference
From: anand.apa...@gmail.com
To: openssl-users@openssl.org
Those are the header you included. But you need to link against libs after
compilation. What
xabi esteban wrote:
I don't understand you. I put the libreries in the includes #include
#include <>
but i'din't put nothing more.
How i could link with this libreries? I didn't found any example.
you're confusing include files with libraries. you need to tell the
linker the appropri
; #include <>
> but i'din't put nothing more.
> How i could link with this libreries? I didn't found any example.
>
> Thanks
>
> --
> Date: Fri, 26 Feb 2010 12:39:57 -0500
> Subject: Re: Error copiling ssl: undefined refe
I don't understand you. I put the libreries in the includes #include
#include <>
but i'din't put nothing more.
How i could link with this libreries? I didn't found any example.
Thanks
Date: Fri, 26 Feb 2010 12:39:57 -0500
Subject: Re: Error copiling ssl
Do you link against correct libraries? Try linking with ssleay and libeay.
-Anand
On Fri, Feb 26, 2010 at 12:08 PM, xabi esteban wrote:
> Hello:
> I'm trying to use the SSL libreries. When I try to comipile my code y
> always obtain the same error:
>
> cli.c:(.text+0x20):
Hello:
I'm trying to use the SSL libreries. When I try to comipile my code y always
obtain the same error:
cli.c:(.text+0x20): undefined reference to `SSL_library_init'
cli.c:(.text+0x25): undefined reference to `SSLv2_client_method'
cli.c:(.text+0x30): undefin
Hello:
I'm trying to use the SSL libreries. When I try to comipile my code y always
obtain the same error:
cli.c:(.text+0x20): undefined reference to `SSL_library_init'
cli.c:(.text+0x25): undefined reference to `SSLv2_client_method'
cli.c:(.text+0x30): undefin
.. -lssl -L..
-lcrypto -ldl
../libcrypto.a(e_rc5.o)(.text+0x10c): In function `rc5_32_12_16_ecb_cipher':
: undefined reference to `RC5_32_ecb_encrypt'
../libcrypto.a(e_rc5.o)(.text+0x186): In function `rc5_32_12_16_ofb_cipher':
: undefined reference to `RC5_32_ofb64_encrypt'
..
ient client.o common.o ..\out\libssl.a ..\out\libcrypto.a
> ..\out\libcrypto.a(bss_conn.o): In function `conn_state':
> D:/PROJECTS/C/openssl/./crypto/bio/bss_conn.c:203: undefined
> reference to `_ht...@4'
> ..\out\libcrypto.a(rand_win.o): In function `readscreen':
> D:
l/./crypto/bio/bss_conn.c:203: undefined reference to
`_ht...@4'
D:/PROJECTS/C/openssl/./crypto/bio/bss_conn.c:209: undefined reference to
`_ht...@4'
D:/PROJECTS/C/openssl/./crypto/bio/bss_conn.c:212: undefined reference to
`_soc...@12'
D:/PROJECTS/C/openssl/./crypto/bio/bss_conn.c:21
lude/port/win32 -DEXEC_BACKEND
-I/local/ssl/include/ -Wl,--allow-multiple-definition -L/local/ssl/lib/
conftest.c -lssleay32 -lwsock32 -lwst -lws2_32 -lmswsock -leay32 -lz -lm
>&5
C:/msys/1.0/local/ssl/lib//libeay32.a(bss_sock.o)(.text+0xca):bss_sock.c:
undefined reference to `shutd...@8'
lude/port/win32 -DEXEC_BACKEND
-I/local/ssl/include/ -Wl,--allow-multiple-definition -L/local/ssl/lib/
conftest.c -lssleay32 -lwsock32 -lwst -lws2_32 -lmswsock -leay32 -lz -lm
>&5
C:/msys/1.0/local/ssl/lib//libeay32.a(bss_sock.o)(.text+0xca):bss_sock.c:
undefined reference to `shutd...@8'
k32 -lwst -lws2_32 -lmswsock -lsecur32 -lz
> C:/msys/1.0/local/ssl/lib/libssleay32.a(ssl_lib.o)(.text+0x4ab):ss
> l_lib.c:
> undefined reference to `BIO_s_socket'
> C:/msys/1.0/local/ssl/lib/libssleay32.a(ssl_lib.o)(.text+0x5b3):ss
> l_lib.c:
> undefined reference to `BIO_s_socket
0/local/ssl/lib/libssleay32.a(ssl_lib.o)(.text+0x4ab):ssl_lib.c
> >>: undefined reference to `BIO_s_socket'
>
> That's part of openssl - you need to add the openssl library to your link
> commands.
>
I added
-leay32 -lssleay32
>>On Fri 20/02/09 10:17 AM , Tomasz Kolaj m...@abp.pl sent:
>>Hello,
>>
>>Unfortunetly I need still compile shared version also and make fails with
>>that:
>>
>>C:/msys/1.0/local/ssl/lib/libssleay32.a(ssl_lib.o)(.text+0x4ab):ssl_lib.c:
>>undef
n.o win32error.o snprintf.o win32.o pgsleep.o libpqrc.o pthread-win32.o -
L../../../src/port -L/local/ssl/lib -lcrypto -lshfolder -leay32 -lssleay32 -
lgdi32 -lwsock32 -lwst -lws2_32 -lmswsock -lsecur32 -lz
C:/msys/1.0/local/ssl/lib/libssleay32.a(ssl_lib.o)(.text+0x4ab):ssl_lib.c:
undefined reference
-L../../../src/port
> >> -Wl,--allow-multiple-definition -
> >>L/local/ssl/lib -lpgport -lssleay32 -lcrypto -lssleay32 -leay32 -lgdi32 -
> >>lwsock32 -lwst -lws2_32 -lmswsock -lz -lm -lws2_32 -lshfolder -o
> >> pg_ctl.exe
> >> ../../../src/interfaces/libpq/
2_32 -lmswsock -lz -lm -lws2_32 -lshfolder -o pg_ctl.exe
>>../../../src/interfaces/libpq/libpq.a(fe-connect.o)(.text+0x6ec):fe-connect.c:
>>
>>undefined reference to `deletesecuritycont...@4'
Those functions are in secur32.lib
Carl
__
L/local/ssl/lib -lpgport -lssleay32 -lcrypto -lssleay32 -leay32 -lgdi32 -
lwsock32 -lwst -lws2_32 -lmswsock -lz -lm -lws2_32 -lshfolder -o pg_ctl.exe
../../../src/interfaces/libpq/libpq.a(fe-connect.o)(.text+0x6ec):fe-connect.c:
undefined reference to `deletesecuritycont...@4'
../../../src
-leay32 -lz -lm
> >&5
> C:/msys/1.0/local/ssl/lib//libeay32.a(bss_sock.o)(.text+0xca):bss_sock.c:
> undefined reference to `shutd...@8'
Probkem is that library searching in gcc is order-dependent.
If some object file contained in library requires some external
function, it
lude/port/win32 -DEXEC_BACKEND
-I/local/ssl/include/ -Wl,--allow-multiple-definition -L/local/ssl/lib/
conftest.c -lssleay32 -lwsock32 -lwst -lws2_32 -lmswsock -leay32 -lz -lm
>&5
C:/msys/1.0/local/ssl/lib//libeay32.a(bss_sock.o)(.text+0xca):bss_sock.c:
undefined reference to `shutd...@8'
l and libcrypto are also in the right place but ' undefined reference to
> RSA_generate_key_ex' occured
>
> /tmp/ccoRcOnQ.o(.text+0x5c): In function `main':
> crl.c: undefined reference to `RSA_generate_key_ex`'
>
> i don't know why.Can you help me ?t
hi,I am a new to Openssl .Today I wrote a programme with openssl and compliled
in fc4.this is my command
"gcc -o crl crl.c -I/usr/local/openssl/include -Wall -L/usr/local/openssl/lib
-lssl -lcrypto"
libssl and libcrypto are also in the right place but ' undefin
Forwarded to openssl-users for discussion.
Lutz
- Forwarded message from Steffen Bertsch <[EMAIL PROTECTED]> -
From: Steffen Bertsch <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Linking undefined reference
Date: Wed, 14 Nov 2007 13:52:48 +0100
Importance: Normal
Hi,
I'm installing openssl on win98 with mingw32.
I run ms\mingw32. After seeing the line "Generating the DLLs and input
libraries", I see the error:
libeay32.exp(.edata+0x784):fake: undefined reference to `RAND_screen'
libeay32.exp(.edata+0x237c):fake: un
72 matches
Mail list logo