Hello,
> Built once or twice, got the same problem again, can't figure it out again. 
> 
> New ssl client app, just added this code and get undefined symbol.
> 
> 
>       SSL_CTX *ctx;
> 276   SSL *ssl;
> 
>       /* Initializing OpenSSL */
> 
>       SSL_load_error_strings();                /* readable error messages
> */
>       SSL_library_init();                      /* initialize library */
> 
>       /* Setting up the SSL pointers */
> 
>       ctx = SSL_CTX_new(SSLv23_client_method());
> 
>       /*SSL_new SSL_set_fd, SSL_set_bio*/
> 
> 289   ssl = SSL_new(ctx);
> 
> 291   SSL_set_mode(ssl, SSL_MODE_AUTO_RETRY);
> 
> 
> 
>         cc -gc -I../include -I /usr/local/ssl/include/
> -I/usr/local/include/curl
>  -I/att/include -I/att/msgipc -I/usr/local/include curl_dip.c
> UX:acomp: ERROR: "curl_dip.c", line 276: undefined symbol: ssl
> UX:acomp: ERROR: "curl_dip.c", line 276: operands must have arithmetic type:
> op
> "*"
> UX:acomp: WARNING: "curl_dip.c", line 289: improper pointer/integer
> combination:
>  op "="
> UX:acomp: WARNING: "curl_dip.c", line 291: improper pointer/integer
> combination:
>  arg #1

For me this still looks like some redefinition in headers.
You should generate preprocesored output file and then
look how SSL is defined.
In gcc you may do this with -E option, on your machine
and cc you should consult manual page. 

Best regards,
-- 
Marek Marcola <[EMAIL PROTECTED]>

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to