FC6 fusb compile breaker

After upgrading to FC6, usrp/host/lib/fusb_linux.cc fails to compile
(can’t find linux/compiler.h). Turns out for me, that include file
isn’t needed at all (trivial patch attached). I wonder if I’ve broken
something by removing it, or if other systems need it?

Kyle Jamieson wrote:

After upgrading to FC6, usrp/host/lib/fusb_linux.cc fails to compile
(can’t find linux/compiler.h). Turns out for me, that include file
isn’t needed at all (trivial patch attached). I wonder if I’ve broken
something by removing it, or if other systems need it?
I get the same problem with ubuntu 6.10. I think this file has been
removed recently. My other machine has

/* empty */

as the contents of that file. I’ll apply your patch.

Thanks,
Matt

On Fri, Oct 27, 2006 at 04:52:50PM -0700, Matt E. wrote:

as the contents of that file. I’ll apply your patch.

Thanks,
Matt

I’ve added a configure check for the header and made the include
dependent on that. IIRC there was some distribution way back when,
that required this file.

Please update trunk and test.

Eric

A fresh checkout now builds and installs cleanly on FC6 – thanks.