RE: Error copiling ssl: undefined reference

2010-02-28 Thread Jeremy Farrell
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

RE: Error copiling ssl: undefined reference

2010-02-28 Thread xabi esteban
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

Re: Error copiling ssl: undefined reference

2010-02-27 Thread John R Pierce
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

RE: Error copiling ssl: undefined reference

2010-02-27 Thread xabi esteban
; 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. > > >

Re: Error copiling ssl: undefined reference

2010-02-26 Thread John R Pierce
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

RE: Error copiling ssl: undefined reference

2010-02-26 Thread xabi esteban
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

Re: Error copiling ssl: undefined reference

2010-02-26 Thread John R Pierce
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

Re: Error copiling ssl: undefined reference

2010-02-26 Thread Anand Patel
; #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

RE: Error copiling ssl: undefined reference

2010-02-26 Thread xabi esteban
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

Re: Error copiling ssl: undefined reference

2010-02-26 Thread Anand Patel
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): undefined reference