Attempting to compile the emc software, the compile crashes with errors apparently in proc_fs.h. Reproducible: Always Steps to Reproduce: 1. Download emc 2.1.4 source tarball from http://sourceforge.net/project/showfiles.php?group_id=6744&package_id=188858 2. tar -xvzf emc2.1.4.tar.gz 3. cd emc2 4. ./configure --enable-run-in-place --enable-simulator 5. make Actual Results: Compiling realtime hal/hal_lib.c In file included from hal/hal_lib.c:2097: /usr/include/linux/proc_fs.h:45: error: expected declaration specifiers or ‘...’ before ‘off_t’ /usr/include/linux/proc_fs.h:49: error: expected declaration specifiers or ‘...’ before ‘off_t’ /usr/include/linux/proc_fs.h:55: error: expected specifier-qualifier-list before ‘mode_t’ /usr/include/linux/proc_fs.h:80: error: field ‘list’ has incomplete type ... and a lot more similar output, see attachment. triffid rick # emerge --info Portage 2.1.2.2 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.20.3 i686) ================================================================= System uname: 2.6.20.3 i686 AMD Athlon(tm) Processor Gentoo Base System release 1.12.9 Timestamp of tree: Mon, 26 Mar 2007 18:20:01 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [disabled] dev-java/java-config: 1.3.7, 2.0.31 dev-lang/python: 2.2.3-r5, 2.3.5-r3, 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r6 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61 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 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-mtune=athlon -O2 -pipe" 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/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/init.d /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /usr/X11R6/lib/X11/xkb /usr/X11R6/lib/X11/xkb/compat /usr/X11R6/lib/X11/xkb/geometry /usr/X11R6/lib/X11/xkb/geometry/sgi /usr/X11R6/lib/X11/xkb/keycodes /usr/X11R6/lib/X11/xkb/keymap /usr/X11R6/lib/X11/xkb/keymap/sgi /usr/X11R6/lib/X11/xkb/keymap/sun /usr/X11R6/lib/X11/xkb/rules /usr/X11R6/lib/X11/xkb/symbols /usr/X11R6/lib/X11/xkb/symbols/macintosh /usr/X11R6/lib/X11/xkb/symbols/nec /usr/X11R6/lib/X11/xkb/symbols/pc /usr/X11R6/lib/X11/xkb/symbols/sun /usr/X11R6/lib/X11/xkb/symbols/xfree68 /usr/X11R6/lib/X11/xkb/types /usr/kde/3.5/share/config /usr/kde/3.5/share/config/kdm /usr/share/texmf/dvips/config" CXXFLAGS="-mtune=athlon -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="http://adelie.polymtl.ca/ ftp://gentoo.arcticnetwork.ca/pub/gentoo/ http://gentoo.arcticnetwork.ca/ ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ " LANG="en_GB.utf8" LC_ALL="en_GB.utf8" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.ca.gentoo.org/gentoo-portage/" USE="3dfx 3dnow 3dnowex X aac acpi alsa apm avi berkdb bitmap-fonts bzip2 cairo cdparanoia cdr cli cracklib crypt cups dga directfb divx4linux doc dri dvd emacs encode examples f77 fam fbdev ffmpeg firefox foomaticdb fortran gdbm gif gimpprint glx gnome gpm gtk iconv imlibjava ipv6 isdnlog java jpeg kde libg++ libwww live math midi mikmod mmx mmxext motif mozilla mp3 mpeg nas ncurses network nls nptl nptlonly offensive ogg oggvorbis opengl oss pam pcre pdf pdflib perl png ppds pppd python qt qt3 qt4 qtmt quicktime readline reflection rtc sdl session slang spell spl sse ssl svg svga tcl tcltk tcpd thesaurus tiff tk truetype truetype-fonts type1-fonts unicode usb vorbis win32codecs wmp x86 xfs xml xml2 xorg xv zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="radeon" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS triffid rick # equery belongs proc_fs.h [ Searching for file(s) proc_fs.h in *... ] sys-kernel/linux-headers-2.6.17-r2 (/usr/include/linux/proc_fs.h) sys-kernel/vanilla-sources-2.6.17.13 (/usr/src/linux-2.6.17.13/include/linux/proc_fs.h) sys-kernel/vanilla-sources-2.6.20.1 (/usr/src/linux-2.6.20.1/include/linux/proc_fs.h) sys-kernel/vanilla-sources-2.6.20.2 (/usr/src/linux-2.6.20.2/include/linux/proc_fs.h) sys-kernel/vanilla-sources-2.6.20.3 (/usr/src/linux-2.6.20.3/include/linux/proc_fs.h)
Created attachment 114874 [details] Compile output from emc compilation.
/usr/include/linux/proc_fs.h is no longer installed with >=linux-headers-2.6.19 -> not our problem.
Thanks Jakub, that accounts for it. I'll contact the upstream devs. Sorry to trouble you.