Re: kernel compile error

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

 



On 10/5/05, Nitin Kanaskar <nitinvk04@xxxxxxxxx> wrote:

> In file included from /usr/src/linux-2.2.14/include/linux/affs_fs_i.h:5,

> /usr/src/linux-2.2.14/include/linux/time.h:69: warning: 'FD_SET' redefined
> /usr/include/sys/select.h:63: warning: this is the location of the
> previous definition
> /usr/src/linux-2.2.14/include/linux/time.h:70: warning: 'FD_CLR' redefined
> /usr/include/sys/select.h:64: warning: this is the location of the
> previous definition
> /usr/src/linux-2.2.14/include/linux/time.h:71: warning: 'FD_ISSET' redefined
> /usr/include/sys/select.h:65: warning: this is the location of the
> previous definition

You are perhaps mixing headers from libc and kernel together. They are
not supposed to be used like that. Post the header definitions of your
sys_call program.

Also post the relevant part of src/config/Makefile that has the path
to kernel source.

./h
--
Operating Systems and Computer Architecture Research  - University of Cincinnati
http://www.ececs.uc.edu/~mohapth

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux