Hi,
We have a problem compiling openvswitch's sources. What we want to do is to
call a function that is in another source (linux wireless backports) in
order to get information stats about wifi interface. So, the problem is
that our modificated .c doesn't find the path to the .h included. We know
that is a makefile problem. But we've tried some modifications that doesn't
work. For example, typing the entire path of the mesh.h in ofproto.c,
provokes the same problem in mesh.h (it can not find another external
library included there (jhash.h)).
Does anybody knows how to indicate the correct path to compile the sources
taking into account the external sources (the .h in linux wireless
backports). Here you have part of the code:
*************Sources of openvswitch**************
////////////////////// ofproto.c
(...) a lot of includes...
#include <mesh.h>
...(some function of ofproto.c){
...
get_wireless_stats(1000);
...
}
////////////////////// ofproto.h
(doesn't touched)
*************Sources of backports **************
////////////////////// mesh.c
int get_wireless_stats(int a)
{
return a;
}
EXPORT_SYMBOL(get_wireless_stats)
////////////////////// mesh.h
int get_wireless_stats(int):
Thanks for all,
Anna
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss