i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include -I../marshallers -I../src/named-manager -I../src/vpn-manager -I../src/dhcp-manager -I../src/supplicant-manager -I../src/dnsmasq-manager -I../libnm-util -I../callouts -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/hal -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -DDBUS_API_SUBJECT_TO_CHANGE -DG_DISABLE_DEPRECATED -DBINDIR=\"/usr/bin\" -DSBINDIR=\"/usr/sbin\" -DLIBEXECDIR=\"/usr/libexec\" -DDATADIR=\"/usr/share\" -DSYSCONFDIR=\"/etc\" -DLOCALSTATEDIR=\"/var\" -DNM_RUN_DIR=\"/var/run/NetworkManager\" -DNMLOCALEDIR=\"/usr/share/locale\" -DARP_DEBUG -O2 -march=prescott -pipe -ggdb -MT NetworkManager-nm-netlink-monitor.o -MD -MP -MF .deps/NetworkManager-nm-netlink-monitor.Tpo -c -o NetworkManager-nm-netlink-monitor.o `test -f 'nm-netlink-monitor.c' || echo './'`nm-netlink-monitor.c nm-netlink-monitor.c: In function ‘netlink_object_message_handler’: nm-netlink-monitor.c:213: error: ‘IFF_LOWER_UP’ undeclared (first use in this function) nm-netlink-monitor.c:213: error: (Each undeclared identifier is reported only once nm-netlink-monitor.c:213: error: for each function it appears in.) make[4]: *** [NetworkManager-nm-netlink-monitor.o] Error 1 velbloud ~ # emerge --info Portage 2.2_rc33 (default/linux/x86/2008.0/desktop, gcc-4.3.1, glibc-2.6.1-r0, 2.6.26-gentoo-r1 i686) ================================================================= System uname: Linux-2.6.26-gentoo-r1-i686-Genuine_Intel-R-_CPU_T2400_@_1.83GHz-with-glibc2.0 Timestamp of tree: Thu, 23 Jul 2009 22:45:01 +0000 ccache version 2.4 [disabled] app-shells/bash: 3.2_p33 dev-java/java-config: 1.3.7, 2.1.6 dev-lang/python: 2.4.4-r9, 2.5.2-r4 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 dev-util/cmake: 2.6.2-r1 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.2.5 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=prescott -pipe -ggdb" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -march=prescott -pipe -ggdb" DISTDIR="/usr/portage/distfiles" FEATURES="buildpkg collision-protect distlocks fixpackages metadata-transfer parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unmerge-orphans userfetch userpriv usersandbox" GENTOO_MIRRORS="http://ftp.linux.cz/pub/linux/gentoo/" LDFLAGS="-Wl,-O1" LINGUAS="en cs" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/layman/gcc-porting /usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X a52 aac aalib acl acpi alsa apache apache2 bash-completion berkdb bluetooth branding bzip2 cairo cdparanoia cdr chm cli cracklib crypt cscope css cups curl dbus designer-plugin djvu doomsday dri dts dv dvb dvd dvdnav dvdr dvdread emboss enblend encode evo exif exiv2 fam fastcgi fbsplash ffmpeg firefox flac fortran garmin gif gnokii gorg-404 gphoto2 gps gstreamer gtk hal hdaps hdri hpn htmlhandbook ical iconv imlib iproute2 ipv6 ipw3945 irda irmc isdnlog java jbig jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility kdepim lame libcaca libnotify logrotate mad matroska midi mikmod mmx mmxext mng mp3 mpeg mudflap musepack ncurses networkmanager nls nptl nptlonly nsplugin obex ogg openct openexr opengl openmp pam pcre pdf plasma png ppds pppd python qt qt3 qt3support qt4 quicktime raw readline reflection rle samba sdl semantic-desktop session slang smapi smartcard smp speex spell spl sqlite sqlite3 srt sse sse2 sse3 ssl startup-notification stream subversion svg sysfs tga theora threads thumbnail tiff truetype unicode usb vcd vim vim-syntax vorbis webkit wifi x264 x86 xine xinerama xml xmp xorg xosd xscreensaver xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en cs" USERLAND="GNU" VIDEO_CARDS="radeon vesa" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
that's very strange. It looks like it can't find IFF_LOWER_UP which is in linux kernel since 2.6.17. Could you please try to update/reinstall linux-headers and try again? Could you also include full build log please? Thanks
Created attachment 199263 [details] net-misc:networkmanager-0.7.1-r6:20090724-084551.log OK, I'll try to update the rest of the system (including kernel and os-headers, even though `emerge --info` says they are fresh enough) when I have some more time. In the meanwhile, I've attached the (current) log.
You emerge --info shows that you are using a too old os-headers: virtual/os-headers: 2.6.23-r3 I have no problem with 2.6.27-r2 (current stable)
I'm closing this bug as invalid. If you still have problems after updating kernel-headers, please re-open.