Problem: It's looking for the path where openssl's "make install" would put the header files. Specifically, it's looking for ../include/openssl/hmac.h.
Potential Solutions (choose 1): (1) mv ../openssl ../include (2) ln -s ../openssl ../include/openssl (3) -I.. (4) (preferred to ensure that all includes are created and properly located) perform a full installation of the openssl library, with 'configure --prefix=(path)'. Then, this project should have a -I(path)/include . More information: The offending line probably looks like "#include "openssl/hmac.h"" or "#include <openssl/hmac.h>". When parsing #include directives, the C preprocessor goes through each directory listed in its include paths, then appends the path in the #include directive to that include path. In your case, it's looking for ../include/openssl/hmac.h ./openssl/hmac.h ../snmplib/openssl/hmac.h ../openssl/include/openssl/hmac.h Since none of these paths exist, it's failing to find the file to include. -Kyle H On Thu, Apr 17, 2008 at 11:45 PM, Amit Kumar <[EMAIL PROTECTED]> wrote: > Hi All , > I am using the openssl version openssl-0.9.8d and installed . I > included openssl/include/openssl/ header files . but while accessing hmac.h > from my net-snmp i am getting some errors > > mips64-octeon-linux-gnu-gcc -I../include -I. -I../snmplib > -I../openssl/include -mabi=64 -Ulinux -Dlinux=linux -c keytools.c -fPIC -DPIC > -o .libs/keytools.o > keytools.c:45:27: error: openssl/hmac.h: No such file or directory > keytools.c: In function 'generate_Ku': > keytools.c:107: error: 'EVP_MD_CTX' undeclared (first use in this function) > keytools.c:107: error: (Each undeclared identifier is reported only once > keytools.c:107: error: for each function it appears in.) > keytools.c:107: error: 'ctx' undeclared (first use in this function) > keytools.c:107: error: expected expression before ')' token > make[5]: *** [keytools.lo] Error 1 > I am not able to understand where hmac.h he is expecting we already gave the > path ../openssl/include and under incluse we have openssl folder where all > the .h files are soft-linked . and event i tried to copy the hmac.h file to > /openssl and openssl/include but still i am getting the same error . for > remaninig *.h file like /openssl/include/openssl/evp.h i didn't get ant error. > Is openssl installation is wrong ? > we have to install some other package ? > or is this is a bug in net-snmp-5.4 ? > Please help me out..... > Thanks > Amit > > > ___________________________________________________________ > Yahoo! For Good helps you make a difference > > http://uk.promotions.yahoo.com/forgood/ > ______________________________________________________________________ > OpenSSL Project http://www.openssl.org > User Support Mailing List openssl-users@openssl.org > Automated List Manager [EMAIL PROTECTED] > ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]