http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48879
davek at 6thstreetradio dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |davek at 6thstreetradio dot | |org --- Comment #6 from davek at 6thstreetradio dot org 2011-11-15 21:11:04 UTC --- On Ubuntu 11.10 (oneiric), linux-libc-dev installs to /usr/include/i386-linux-gnu (or whatever your arch is, I suspect). In order to get gcc to build, I had to symlink the dir: sudo ln -s /usr/include/i386-linux-gnu/asm /usr/include/asm Whether it's a bug in ubuntu gcc, or the libc-dev package, I dunno.