kernel compile error
From: Nitin (nitinvk04_at_gmail.com)
Date: 10/06/05
- Next message: Tauno Voipio: "Re: Kernel sockets?"
- Previous message: Grant Edwards: "Re: Linux Threading"
- Next in thread: Kasper Dupont: "Re: kernel compile error"
- Reply: Kasper Dupont: "Re: kernel compile error"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 6 Oct 2005 12:32:26 -0700
hi All,
im trying to compile linux kernel
2.2.14 after adding my own
system call. The file containing
the new system call is testcall.c which
i have kept in src/kernel folder.
im getting foll. errors -
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 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
':'
is this some conflict in kernel headers
and glibc headers?
could anybody help me in resolving these
errors?
Regards,
Nitin
- Next message: Tauno Voipio: "Re: Kernel sockets?"
- Previous message: Grant Edwards: "Re: Linux Threading"
- Next in thread: Kasper Dupont: "Re: kernel compile error"
- Reply: Kasper Dupont: "Re: kernel compile error"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]