Hi
After compiling my ssl file ssl_server.c, there are some errors. Plese show
me how to solve these errors.
I installed the latest version openssl in Linux Fedora core 6. when I opened
files in include directory in /usr/local/ssl/openssl/include, I could not open
any of them. Why was that?
The errors:
[EMAIL PROTECTED] Codevidu]# gcc -o ssls ssl_server.c
/tmp/ccAps0My.o: In function `InitServerCTX':
ssl_server.c:(.text+0xc5): undefined reference to
`OPENSSL_add_all_algorithms_noconf'
ssl_server.c:(.text+0xca): undefined reference to `SSL_load_error_strings'
ssl_server.c:(.text+0xcf): undefined reference to `SSLv2_server_method'
ssl_server.c:(.text+0xdd): undefined reference to `SSL_CTX_new'
ssl_server.c:(.text+0xf3): undefined reference to `ERR_print_errors_fp'
/tmp/ccAps0My.o: In function `LoadCertificates':
ssl_server.c:(.text+0x11d): undefined reference to
`SSL_CTX_use_certificate_file'
ssl_server.c:(.text+0x12e): undefined reference to `ERR_print_errors_fp'
ssl_server.c:(.text+0x14d): undefined reference to
`SSL_CTX_use_PrivateKey_file'
ssl_server.c:(.text+0x15e): undefined reference to `ERR_print_errors_fp'
ssl_server.c:(.text+0x16e): undefined reference to `SSL_CTX_check_private_key'
---------------------------------
Check out the hottest 2008 models today at Yahoo! Autos.