Hi, and another likely Debian headers related build issue:
CC devices/network.cpp devices/network.cpp: In function ‘int iface_speed(const char*)’: devices/network.cpp:245: error: ‘ethtool_cmd_speed’ was not declared in this scope make: *** [devices/network.o] Error 1 Git (currently running) would obviously have had it: # grep ethtool_cmd_speed /usr/src/linux-2.6/include/linux/* /usr/src/linux-2.6/include/linux/ethtool.h:static inline void ethtool_cmd_speed_set(struct ethtool_cmd *ep, /usr/src/linux-2.6/include/linux/ethtool.h:static inline __u32 ethtool_cmd_speed(struct ethtool_cmd *ep) # dpkg -S /usr/include/linux/ethtool.h linux-libc-dev: /usr/include/linux/ethtool.h root@andi:~# dpkg -s linux-libc-dev Package: linux-libc-dev Status: install ok installed Priority: optional Section: devel Installed-Size: 3760 Maintainer: Debian Kernel Team <[email protected]> Architecture: i386 Source: linux-2.6 Version: 2.6.26-7 Replaces: linux-kernel-headers Provides: linux-kernel-headers Conflicts: linux-kernel-headers Description: Linux support headers for userspace development This package provides userspaces headers from the Linux kernel. These headers are used by the installed headers for GNU glibc and other system libraries. Whaaaa... 2.6.26. Medieval. apt-get install linux-libc-dev does help: Preparing to replace linux-libc-dev 2.6.26-7 (using .../linux-libc-dev_2.6.32-30_i386.deb) ... And (re-)build now finishes. Do with this report what you will (shred it, toilet-paper it, whatever). HTH, Andreas Mohr _______________________________________________ Power mailing list [email protected] http://www.bughost.org/mailman/listinfo/power
