View previous topic :: View next topic |
Author |
Message |
telex4 l33t
Joined: 21 Sep 2002 Posts: 704 Location: Reading, UK
|
Posted: Sun Apr 27, 2003 8:37 am Post subject: Kernel only compiles while in X |
|
|
I'm compiling gaming-sources (kernel 2.4.20), and I have a strange problem. I configured the sources by copying across my old config and using "make oldconfig", and make dep didn't exit with any errors. But when I do "make bzImage" in the shell (i.e. shell only, no X), I get the following errors:
Code: |
In file included from /usr/src/linux-2.4.20-gaming-r2/include/linux/wait.h:13,
from /usr/src/linux-2.4.20-gaming-r2/include/linux/fs.h:12,
from /usr/src/linux-2.4.20-gaming-r2/include/linux/capability.h:17,
from /usr/src/linux-2.4.20-gaming-r2/include/linux/binfmts.h:5,
from /usr/src/linux-2.4.20-gaming-r2/include/linux/sched.h:9,
from /usr/src/linux-2.4.20-gaming-r2/include/linux/mm.h:4,
from sched.c:19:
/usr/src/linux-2.4.20-gaming-r2/include/linux/kernel.h:10:20: stdarg.h: No such file or directory
In file included from /usr/src/linux-2.4.20-gaming-r2/include/linux/wait.h:13,
from /usr/src/linux-2.4.20-gaming-r2/include/linux/fs.h:12,
from /usr/src/linux-2.4.20-gaming-r2/include/linux/capability.h:17,
from /usr/src/linux-2.4.20-gaming-r2/include/linux/binfmts.h:5,
from /usr/src/linux-2.4.20-gaming-r2/include/linux/sched.h:9,
from /usr/src/linux-2.4.20-gaming-r2/include/linux/mm.h:4,
from sched.c:19:
/usr/src/linux-2.4.20-gaming-r2/include/linux/kernel.h:74: parse error before "va_list"
/usr/src/linux-2.4.20-gaming-r2/include/linux/kernel.h:74: warning: function declaration isn't a prototype
/usr/src/linux-2.4.20-gaming-r2/include/linux/kernel.h:77: parse error before "va_list"
/usr/src/linux-2.4.20-gaming-r2/include/linux/kernel.h:77: warning: function declaration isn't a prototype
/usr/src/linux-2.4.20-gaming-r2/include/linux/kernel.h:81: parse error before "va_list"
/usr/src/linux-2.4.20-gaming-r2/include/linux/kernel.h:81: warning: function declaration isn't a prototype
sched.c:443:1: warning: "/*" within comment
make[2]: *** [sched.o] Error 1
make[1]: *** [first_rule] Error 2
make: *** [_dir_kernel] Error 2
|
When I then load up X and try again, I get no such errors, and it compiles on without a hitch.
What on earth is going on here?! |
|
Back to top |
|
|
tunah n00b
Joined: 28 Mar 2003 Posts: 23
|
Posted: Mon Apr 28, 2003 5:43 am Post subject: |
|
|
Hmm... that is extremely odd.
My only guess is that it is something in /etc/profile (which is loaded by a real vt but not by an xterm etc). Perhaps it defines (or sources something that defines) an environment variable to do with the strictness of errors or something?
At any rate, that's really odd :-/ _________________ I compiled my kernel 24 times in 24 hours, and all I got was this stupid sig. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|