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 ssl: undefined
: 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 11:33:31 -0800
...@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.
__
OpenSSL Project
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
Do you link against correct libraries? Try linking with ssleay and libeay.
-Anand
On Fri, Feb 26, 2010 at 12:08 PM, xabi esteban xab...@msn.com 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): undefined
I don't understand you. I put the libreries in the includes #include
openssl/ssl.h #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 reference
openssl/ssl.h #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 reference
From: anand.apa...@gmail.com
To: openssl
xabi esteban wrote:
I don't understand you. I put the libreries in the includes #include
openssl/ssl.h #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
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 am using in a shell in Ubuntu Linux
try adding -lssl to your link options.
__
OpenSSL Project http://www.openssl.org
User Support Mailing List
10 matches
Mail list logo