hi, im trying to compile this bouncer ( http://en.znc.in/wiki/ZNC )

until 'make' everything goes ok, here is what i get on ./configure
Code:
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking build system type... mipsel-unknown-linux-gnu
checking host system type... mipsel-unknown-linux-gnu
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for getopt_long in -lgnugetopt... no
checking for lstat... yes
checking for BIO_new in -lcrypto... yes
checking for SSL_shutdown in -lssl... yes
checking for dlopen... no
checking for dlopen in -ldl... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating znc-config
config.status: creating znc-buildmod
config.status: creating man/Makefile
config.status: creating znc.pc
config.status: creating znc-uninstalled.pc
config.status: creating modules/Makefile

znc 0.076 configured

debug:   no
ipv6:    yes
openssl: yes
c-ares:  no
modules: yes
perl:    no
sasl:    no
extra:   yes
tcl:     no
but when im going to compile it i get this
Code:
g++ -D_FORTIFY_SOURCE=2 -O2 -DHAVE_IPV6 -Wall -W -Wno-unused-parameter -Woverloaded-virtual -Wshadow -DHAVE_LSTAT
 -I/opt/bin//include -DHAVE_LIBSSL -D_MODULES -D_MODDIR_=\"/opt/etc/znc/lib/znc\" -D_DATADIR_=\"/opt/etc/znc/shar
e/znc\" -c -o main.o main.cpp -MMD -MF .depend/main.o.dep
In file included from Socket.h:12,
                 from Client.h:12,
                 from znc.h:12,
                 from main.cpp:9:
Csocket.h:71:25: warning: openssl/ssl.h: No such file or directory
Csocket.h:72:25: warning: openssl/err.h: No such file or directory
Csocket.h:73:26: warning: openssl/rand.h: No such file or directory
In file included from defines.h:15,
                 from Csocket.h:88,
                 from Socket.h:12,
                 from Client.h:12,
                 from znc.h:12,
                 from main.cpp:9:
Utils.h:138:30: warning: openssl/blowfish.h: No such file or directory
Utils.h:139:25: warning: openssl/md5.h: No such file or directory
Utils.h:166: error: 'BF_KEY' does not name a type
Csocket.h:251: error: 'X509_STORE_CTX' was not declared in this scope
Csocket.h:251: error: 'pCTX' was not declared in this scope
Csocket.h:390: error: 'X509_STORE_CTX' has not been declared
Csocket.h:714: error: 'X509_STORE_CTX' has not been declared
Csocket.h:720: error: 'SSL' has not been declared
Csocket.h:721: error: 'SSL_CTX' has not been declared
Csocket.h:723: error: ISO C++ forbids declaration of 'SSL_SESSION' with no type
Csocket.h:723: error: expected ';' before '*' token
Csocket.h:745: error: ISO C++ forbids declaration of 'X509' with no type
Csocket.h:745: error: expected ';' before '*' token
Csocket.h:882: error: 'SSL' has not been declared
Csocket.h:991: error: ISO C++ forbids declaration of 'SSL' with no type
Csocket.h:991: error: expected ';' before '*' token
Csocket.h:992: error: ISO C++ forbids declaration of 'SSL_CTX' with no type
Csocket.h:992: error: expected ';' before '*' token
Csocket.h: In member function 'void CSListener::SetRequiresClientCert(bool)':
Csocket.h:1164: error: 'SSL_VERIFY_PEER' was not declared in this scope
Csocket.h:1164: error: 'SSL_VERIFY_FAIL_IF_NO_PEER_CERT' was not declared in this scope
make: *** [main.o] Error 1
Any ideas how to fix this issue?