>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 List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to