Project
ifchk
Advisory 2005-0503
05/03/2005: ifchk-0.95b4 Linux Build Failure
Updates
06/18/2005: Added addendum to Solution section, below
Overview
I have received a report of ifchk-0.95b4 failing to compile under the
following build environment:
Test Environment Arch: x86 Dist: Gentoo Linux Kernel: 2.4.28 (gentoo-sources-2.4.28-r8) CC: gcc 3.3.5-20050130 Libc: glibc 2.3.4Note that other hardware/software combinations may also exhibit compilation failure. I have not, however, received any other such reports.
<... lines removed ...> #include <sys/socket.h> #include <net/if.h> #include <linux/types.h> <--- insert the #include here (linux.h:line 58:) #include <linux/rtnetlink.h> <... lines removed ...>If your build still fails, insert the <linux/types.h> include directive at line 53, instead:
<... lines removed ...> #include <errno.h> #include <sys/stat.h> #include <linux/types.h> <--- insert the #include here (linux.h:line 53:) #include <sys/types.h> <... lines removed ...>Make no other modifications to the file.
About | Contact | FAQ | Publications | Resume | Software | Speaking | Noorg
Copyright © 1998-2008 Noorg, Inc.
All Rights Reserved.