Skip to contentSkip to conversation

Linux 2.6.10 compile-time error

DISCUSSION Vítor De Araújo 1 participant 1 message Dec 29, 2004

lore
Share & tools
lore
#0 lore raw

This error ocurred while I'm compiling the Linux 2.6.10:

Using /mnt/docs/docs/Install/Kernel/linux-2.6.10 as source for kernel
GEN /mnt/docs/docs/Install/Kernel/linux-2.6.10-build/Makefile
CHK include/linux/version.h
make[2]: `arch/i386/kernel/asm-offsets.s' is up to date.

  CHK     include/linux/compile.h
  CHK     usr/initramfs_list
  CC      fs/dquot.o

/mnt/docs/docs/Install/Kernel/linux-2.6.10/fs/dquot.c:1: error: parse error before '/' token /mnt/docs/docs/Install/Kernel/linux-2.6.10/fs/dquot.c:14: error: syntax error at '@' token /mnt/docs/docs/Install/Kernel/linux-2.6.10/fs/dquot.c:16: error: syntax error at '@' token /mnt/docs/docs/Install/Kernel/linux-2.6.10/fs/dquot.c:19: error: syntax error at '@' token /mnt/docs/docs/Install/Kernel/linux-2.6.10/fs/dquot.c:32: error: syntax error at '@' token /mnt/docs/docs/Install/Kernel/linux-2.6.10/fs/dquot.c:38:51: missing terminating ' character /mnt/docs/docs/Install/Kernel/linux-2.6.10/fs/dquot.c:38:51: warning: character constant too long for its type /mnt/docs/docs/Install/Kernel/linux-2.6.10/fs/dquot.c:40: error: syntax error at '@' token /mnt/docs/docs/Install/Kernel/linux-2.6.10/fs/dquot.c:43: error: syntax error at '@' token /mnt/docs/docs/Install/Kernel/linux-2.6.10/fs/dquot.c:47: error: syntax error at '@' token /mnt/docs/docs/Install/Kernel/linux-2.6.10/fs/dquot.c:50: error: syntax error at '@' token /mnt/docs/docs/Install/Kernel/linux-2.6.10/fs/dquot.c:53: error: syntax error at '@' token
In file included from /mnt/docs/docs/Install/Kernel/linux-2.6.10/include/linux/kernel.h:10,

                 from /mnt/docs/docs/Install/Kernel/linux-2.6.10/fs/dquot.c:59:

/usr/lib/gcc-lib/i486-linux/3.3.4/include/stdarg.h:105: error: parse error before "va_list"
In file included from /mnt/docs/docs/Install/Kernel/linux-2.6.10/fs/dquot.c:59:
/mnt/docs/docs/Install/Kernel/linux-2.6.10/include/linux/kernel.h:82: error:
parse error before "va_list" /mnt/docs/docs/Install/Kernel/linux-2.6.10/include/linux/kernel.h:82: warning:
function declaration isn't a prototype /mnt/docs/docs/Install/Kernel/linux-2.6.10/include/linux/kernel.h:85: error:
parse error before "va_list" /mnt/docs/docs/Install/Kernel/linux-2.6.10/include/linux/kernel.h:85: warning:
function declaration isn't a prototype /mnt/docs/docs/Install/Kernel/linux-2.6.10/include/linux/kernel.h:88: error:
parse error before "va_list" /mnt/docs/docs/Install/Kernel/linux-2.6.10/include/linux/kernel.h:88: warning:
function declaration isn't a prototype /mnt/docs/docs/Install/Kernel/linux-2.6.10/include/linux/kernel.h:92: error:
parse error before "va_list" /mnt/docs/docs/Install/Kernel/linux-2.6.10/include/linux/kernel.h:92: warning:
function declaration isn't a prototype /mnt/docs/docs/Install/Kernel/linux-2.6.10/include/linux/kernel.h:102: error:
parse error before "va_list" /mnt/docs/docs/Install/Kernel/linux-2.6.10/include/linux/kernel.h:102: warning:
function declaration isn't a prototype
make[2]: *** [fs/dquot.o] Error 1
make[1]: *** [fs] Error 2
make: *** [all] Error 2

The output of scripts/ver_linux follows:

If some fields are empty or look unusual you may have an old version. Compare to the current minimal requirements in Documentation/Changes.

Linux XYZ001-tst 2.6.6 #3 Fri Dec 10 20:59:31 GMT-2 2004 i586 GNU/Linux

Gnu C                  3.3.4
Gnu make               3.80
binutils               2.15
util-linux             2.12
mount                  2.12
module-init-tools      3.1
e2fsprogs              1.35
reiserfsprogs          line
reiser4progs           line
nfs-utils              1.0.6
Linux C Library        2.3.2
Dynamic linker (ldd)   2.3.2
Procps                 3.2.1
Net-tools              1.60
Console-tools          0.2.3
Sh-utils               5.2.1
Modules Loaded         apm snd_mixer_oss snd pcspkr 3c59x rtc

=====
Vítor De Araújo

_______________________________________________________
Yahoo! Acesso Grátis - Instale o discador do Yahoo! agora. http://br.acesso.yahoo.com/ - Internet rápida e grátis