On Tue, 2015-03-24 at 13:53 -0400, Jordan Messina wrote: > I'm trying to build Network Manager 1.0 from source on a Raspberry Pi > running RASPBIAN Debian Wheezy. I'm using gcc4.8. Getting the following > error:
Interesting; <linux/if.h> should get pulled in from the #include "nm-platform.h" in nm-ppp-manager.c. Can you do something like: #include "nm-platform.h" +#ifdef _LINUX_IF_H +linux if has been included! +#endif #include "nm-core-internal.h" in nm-ppp-manager.c and see if the compiler errors on that? If so we know linux/if.h has been found by the preprocessor. Also, what compiler flags are being used? This should tell you: grep "^CFLAGS =" src/ppp-manager/Makefile Dan > > In file included from > ppp-manager/nm-ppp-manager.c:42:0:/usr/include/linux/if_ppp.h:103:16: > error: field 'b' has incomplete type > struct ifreq b; > ^/usr/include/linux/if_ppp.h:108:21: error: field 'b' > has incomplete type > struct ifreq b; > ^Makefile:1499: recipe for target > 'nm-ppp-manager.lo' failed > make[4]: *** [nm-ppp-manager.lo] Error 1 > make[4]: Leaving directory > '/home/pi/NetworkManager-1.0.0/src'Makefile:2001: recipe for target > 'all-recursive' failed > make[3]: *** [all-recursive] Error 1 > make[3]: Leaving directory > '/home/pi/NetworkManager-1.0.0/src'Makefile:1051: recipe for target > 'all' failed > make[2]: *** [all] Error 2 > make[2]: Leaving directory > '/home/pi/NetworkManager-1.0.0/src'Makefile:608: recipe for target > 'all-recursive' failed > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory > '/home/pi/NetworkManager-1.0.0'Makefile:502: recipe for target 'all' > failed > make: *** [all] Error 2 > > > > Not sure why this is happening. Is it using the wrong PPP headers? > _______________________________________________ > networkmanager-list mailing list > networkmanager-list@gnome.org > https://mail.gnome.org/mailman/listinfo/networkmanager-list _______________________________________________ networkmanager-list mailing list networkmanager-list@gnome.org https://mail.gnome.org/mailman/listinfo/networkmanager-list