Re: Re: OpenSSL demos/ssl not compiling
On Tue 12/05/09 10:52 AM , mail man mailman.inter...@gmail.com sent: Small correction - the return type error came with the default file - with void main. Now, only this error on compilation [swu...@mpvmpc19 ssl]$ g++ -lssl -lcrypto cli.cpp cli.cpp: In function `int main()': cli.cpp:106: error: `close' was not declared in this scope [swu...@mpvmpc19 ssl]$ vi cli.cpp close() is defined in unistd.h, so I would guess you need to add a #include unistd.h to that source. Carl __ OpenSSL Project http://www.openssl.org User Support Mailing Listopenssl-users@openssl.org Automated List Manager majord...@openssl.org
Re: Re: OpenSSL demos/ssl not compiling
Many thanks. On Tue, May 12, 2009 at 3:34 PM, carlyo...@keycomm.co.uk wrote: On Tue 12/05/09 10:52 AM , mail man mailman.inter...@gmail.com sent: Small correction - the return type error came with the default file - with void main. Now, only this error on compilation [swu...@mpvmpc19 ssl]$ g++ -lssl -lcrypto cli.cpp cli.cpp: In function `int main()': cli.cpp:106: error: `close' was not declared in this scope [swu...@mpvmpc19 ssl]$ vi cli.cpp close() is defined in unistd.h, so I would guess you need to add a #include unistd.h to that source. Carl