[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Reverting to stable from test



William Morris <wrm@innovation-tk.com> writes:
WM> In the course of installing ntp, apt updated my C development stuff.
WM> Now upon compiling applications that compiled cleanly before, I get
WM> pages of warnings and failures.  For example:
WM> 
WM> In file included from /usr/include/linux/affs_fs_i.h:7,
...
WM> 	         from /usr/include/linux/pci.h:591,
WM> 		 from pci_device.c:41:
WM> /usr/include/linux/time.h:108: warning: `FD_SET' redefined
WM> /usr/include/sys/select.h:83: warning: this is the location of the
WM> previous definition
WM> /usr/include/linux/time.h:109: warning: `FD_CLR' redefined
WM> /usr/include/sys/select.h:84: warning: this is the location of the
WM> previous definition
WM>                  <snip>
WM> 
WM> This is annoying!  There are other things that are similarly
WM> broken.

Are you trying to build a kernel module?  If so, are you explicitly
giving it a path to the kernel headers, or are you letting it default
to /usr/include/linux?  The stuff in /usr/include/linux is almost
certainly wrong and has a ~0% chance of corresponding to the kernel
you're actually using; see /usr/share/doc/libc6/README.Debian.gz for
details of what's going on, and why.

-- 
David Maze         dmaze@debian.org      http://people.debian.org/~dmaze/
"Theoretical politics is interesting.  Politicking should be illegal."
	-- Abra Mitchell



Reply to: