Hello
i changed the file kernel.h in the source tree to kernelqnx.h
Changed the calls to kernel.h in :
a) auto_nlist.c
b) snmp_vars.c
AND
c) kernel.c
and get the following:
In file included from kernelqnx.h: 28,
from snmp_vars.c: 136:
kvm.h: 17: parse error before '*'
kvm.h: 17: warning data definition has no type or storage class
In file included from snmp_vars.c: 136:
kernelqnx.h: 29: parse error before '*'
kernelqnx.h: 29: warning : data definition has no type or storage class
make[1]: ***[snmp_vars.lo] Error 1
i opened up kvm.h kernel.h/kernelqnx.h and the following could be the source of
the error:
#if HAVE_KVM_H
#include <kvm.h>
extern kvm_t *kd;
#endif
Could it be that the system does not know what the external reference 'kvm_t'
is?
The above error is similar to my original error, just that the filenames have
changed.
Should there be a definition of kvm_t in kvm.h?? if so, what type of definition?
regards
________________________________________
From: Wes Hardaker [[email protected]]
Sent: Saturday, September 18, 2010 12:46 AM
To: Ali Mirza, Rashid
Cc: [email protected]
Subject: Re: net-snmp5.6.c2 compilation errors in QNX Momentics 6.3.0
That looks like a conflict between a system kernel.h file and the one in
the source tree.
Ideally the compilation line should be including our path first, but
apparently it isn't. I think to fix it we'd need to rename the kernel.h
file, which you could try doing and then fixing the two uses of it in
auto_nlist.c and snmp_vars.c
--
Wes Hardaker
Please mail all replies to [email protected]
This transmission is intended solely for the person or organization to whom it
is addressed. It may contain privileged and confidential information. If you
are not the intended recipient, you should not copy, distribute or take any
action in reliance on it. If you have received this transmission in error,
please notify us immediately by e-mail at [email protected]
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders