Build Error on Raspberry Pi



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:


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?


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]