lkml.org 
[lkml]   [1998]   [Aug]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject2.1.114 x86 compile problem
2.1.114 fails to compile bios32.c without PCI direct access enabled, and
when you define that, the next error is

gcc -D__KERNEL__ -I/bla/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=686 -c -o init_task.o init_task.c
init_task.c:24: parse error before `,'
init_task.c:24: warning: missing braces around initializer for `init_task_union.task.sigmask_lock'
init_task.c:24: warning: excess elements in struct initializer after `init_task_union.task.sigmask_lock'
init_task.c:24: warning: braces around scalar initializer for `init_task_union.task.sig'
init_task.c:24: warning: braces around scalar initializer for `init_task_union.task.sig'
init_task.c:24: warning: initialization makes integer from pointer without a cast
init_task.c:24: warning: initialization makes integer from pointer without a cast
make[1]: *** [init_task.o] Error 1
make[1]: Leaving directory `/bla/linux/arch/i386/kernel'
make: *** [linuxsubdirs] Error 2

This line hasn't changed in ages, so it must be some include or define
or so. It looks like this:

union task_union init_task_union __attribute__((__section__(".text"))) = { INIT_TASK };

Felix

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html

\
 
 \ /
  Last update: 2005-03-22 13:43    [W:0.029 / U:0.440 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site