I ran into the same problem on Ubuntu when I tried to build the wireshark 
dissector from the OF 1.0 distribution; a bit of google searching revealed:

1. This is a common problem on Ubuntu 11, since glib's include files have moved 
to /usr/lib:

openflow@ubuntu:~$ find /usr -name glibconfig.h
/usr/lib/i386-linux-gnu/glib-2.0/include/glibconfig.h

2. On Ubuntu, adding `pkg-config --cflags glib-2.0` (note backquotes), or the 
output of said command, to CFLAGS, should fix it. Otherwise, just make sure you 
pass in the correct include directory.

-Bob

On Jun 1, 2011, at 12:23 PM, Diego dos Passos Silva wrote:

> After run make, the make command output is ( in 
> 'openflow/utilities/wireshark_dissectors/openflow' directory):
>  
> In file included from /usr/include/glib-2.0/glib/galloca.h:34:0,
>                  from /usr/include/glib-2.0/glib.h:32,
>                  from packet-openflow.c:19:
> /usr/include/glib-2.0/glib/gtypes.h:34:24: fatal error: glibconfig.h: File or 
> directory not found
> compilation terminated.
> make: ** [packet-openflow.o] Erro 1
> 
> 
> Please list members, how can i solve this?
> 
> Thanks,
> 
> Diego Silva.
> _______________________________________________
> openflow-discuss mailing list
> [email protected]
> https://mailman.stanford.edu/mailman/listinfo/openflow-discuss

_______________________________________________
openflow-discuss mailing list
[email protected]
https://mailman.stanford.edu/mailman/listinfo/openflow-discuss

Reply via email to