- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello
I dont know if below error is related to how i have configurared kernel (enable/disable initrd) or if kernel source code has syntax error?
pascal:/tmp/uclinux/uclinux-2.6.11> make
no emulation specific options.
CHK include/linux/version.h
SPLIT include/linux/autoconf.h -> include/config/*
CHK include/nios2_system.h
perl -I/tmp/uclinux/uclinux-2.6.11/arch/nios2nommu/scripts /tmp/uclinux/uclinux-2.6.11/arch/nios2nommu/scripts/gen_nios2_system.h.pl cpu_0 sram_0 cfi_flash_0 < system_0.ptf > include/nios2_system.h.tmp; if && cmp -s include/nios2_system.h include/nios2_system.h.tmp; then rm -f include/nios2_system.h.tmp; else echo ' UPD include/nios2_system.h'; mv -f include/nios2_system.h.tmp include/nios2_system.h; fi
make: `arch/nios2nommu/kernel/asm-offsets.s' is up to date.
CHK include/asm-nios2nommu/asm-offsets.h
CHK include/linux/compile.h
CC init/do_mounts_initrd.o
In file included from include/linux/unistd.h:9,
from init/do_mounts_initrd.c:2:
include/asm/unistd.h:659: error: parse error before "setsid"
include/asm/unistd.h:659: warning: return type defaults to `int'
include/asm/unistd.h: In function `setsid':
include/asm/unistd.h:659: error: `pid_t' undeclared (first use in this function)
include/asm/unistd.h:659: error: (Each undeclared identifier is reported only once
include/asm/unistd.h:659: error: for each function it appears in.)
include/asm/unistd.h: At top level:
include/asm/unistd.h:660: error: parse error before "off_t"
Link Copied
0 Replies

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page