Re: kernel compile error

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

 



here is the trace of the error messages after
compiling my kernel -


In file included from /usr/src/linux-2.2.14/include/linux/affs_fs_i.h:5,
                from /usr/src/linux-2.2.14/include/linux/fs.h:277,
                from /usr/src/linux-2.2.14/include/linux/capability.h:13,
                from /usr/src/linux-2.2.14/include/linux/binfmts.h:5,
                from /usr/src/linux-2.2.14/include/linux/sched.h:8,
                from /usr/src/linux-2.2.14/include/linux/mm.h:4,
                from testcall.c:3
/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

There are some more variable redefinition errors like this. Then i get
parse errors as -

In file included from /usr/src/linux-2.2.14/include/linux/fs.h:270,
                from /usr/src/linux-2.2.14/include/linux/capability.h:13,
                from /usr/src/linux-2.2.14/include/linux/binfmts.h:5,
                from /usr/src/linux-2.2.14/include/linux/sched.h:8,
                from /usr/src/linux-2.2.14/include/linux/m.h:4,
                from testcall.c:3:
/usr/src/linux-2.2.14/include/linux/hpfs_fs_i.h:5: parse error before 'ino_t'
/usr/src/linux-2.2.14/include/linux/hpfs_fs_i.h:5: warning: no
semicolon at end of struct or union
/usr/src/linux-2.2.14/include/linux/hpfs_fs_i.h:12: parse error before ':'

here testcall.c is the file i added to /usr/src/kernel to implement
my system call.
Many such parse errors are displayed.
There are thousand more error messages. my system is not net connected
and floppy also not functioning. i just cannot type all error messages.

can these errors be eliminated, anybody?

On 10/4/05, Hemant Mohapatra <hemant.mohapatra@xxxxxxxxx> wrote:
> >  I am using mandrake linux 7.0 with kernel
> >  version 2.2.14 to implement my own system call.
> >  I am getting lot many header files error regarding
> >  the syntax while compiling the kernel.
>
> Is there a special reason you are using such an archaic kernel for?
>
> ./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