* Problem compiling linux-pre-2.1.30-2
[not found] <199703071819.KAA30951@gabor.lbl.gov>
@ 1997-03-19 1:45 ` Kevin Osowski
0 siblings, 0 replies; 4+ messages in thread
From: Kevin Osowski @ 1997-03-19 1:45 UTC (permalink / raw)
Anybody on the cutting edge? I am getting an undeclared something when
compiling the kernel.
make config
make dep
make clean
make boot <-------- this dies with these lines
[root@floyd linux]# make boot
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -D__SMP__ -pipe -mno-fp-regs -ffixed-8 -c -o
init/main.o init/main.c
init/main.c: In function `smp_init':
init/main.c:795: `cpu_logical_map' undeclared (first use this function)
init/main.c:795: (Each undeclared identifier is reported only once
init/main.c:795: for each function it appears in.)
init/main.c:779: warning: `j' might be used uninitialized in this function
init/main.c: In function `start_kernel':
init/main.c:890: warning: implicit declaration of function
`proc_root_init'
make: *** [init/main.o] Error 1
[root@floyd linux]#
Anyone know what the problem is?? Or maybe give me some clues??
thanks,
kevin
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Problem compiling linux-pre-2.1.30-2
[not found] <Pine.LNX.3.95.970318194215.22827A-100000@floyd.soc.uwm.edu>
@ 1997-03-19 8:56 ` Wintermute
1997-03-19 15:09 ` Richard Henderson
1 sibling, 0 replies; 4+ messages in thread
From: Wintermute @ 1997-03-19 8:56 UTC (permalink / raw)
On Tue, 18 Mar 1997, Kevin Osowski wrote:
> init/main.c:795: for each function it appears in.)
> init/main.c:779: warning: `j' might be used uninitialized in this function
> init/main.c: In function `start_kernel':
> init/main.c:890: warning: implicit declaration of function
> `proc_root_init'
> make: *** [init/main.o] Error 1
> [root@floyd linux]#
>
>
> Anyone know what the problem is?? Or maybe give me some clues??
Yes, you need to edit the Makefile and comment out the line that says "SMP
= 1". Linus left this in by accident. I think this is in the FAQ.
-Brendan
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Problem compiling linux-pre-2.1.30-2
[not found] <Pine.LNX.3.95.970318194215.22827A-100000@floyd.soc.uwm.edu>
1997-03-19 8:56 ` Wintermute
@ 1997-03-19 15:09 ` Richard Henderson
1 sibling, 0 replies; 4+ messages in thread
From: Richard Henderson @ 1997-03-19 15:09 UTC (permalink / raw)
> Anyone know what the problem is?? Or maybe give me some clues??
>
> gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
> -fomit-frame-pointer -D__SMP__ -pipe -mno-fp-regs -ffixed-8 -c -o
^^^^^^^
Yep. Get rid of SMP=1 in the toplevel makefile.
r~
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Problem compiling linux-pre-2.1.30-2
[not found] <Pine.LNX.3.95.970319035421.27685A-100000@chrome.wintermute.org>
@ 1997-03-20 2:51 ` Kevin Osowski
0 siblings, 0 replies; 4+ messages in thread
From: Kevin Osowski @ 1997-03-20 2:51 UTC (permalink / raw)
Thanks, I must be brain dead.
kevin
> On Tue, 18 Mar 1997, Kevin Osowski wrote:
>
> > init/main.c:795: for each function it appears in.)
> > init/main.c:779: warning: `j' might be used uninitialized in this function
> > init/main.c: In function `start_kernel':
> > init/main.c:890: warning: implicit declaration of function
> > `proc_root_init'
> > make: *** [init/main.o] Error 1
> > [root@floyd linux]#
> >
> >
> > Anyone know what the problem is?? Or maybe give me some clues??
>
> Yes, you need to edit the Makefile and comment out the line that says "SMP
> = 1". Linus left this in by accident. I think this is in the FAQ.
>
> -Brendan
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
>
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1997-03-20 2:51 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <199703071819.KAA30951@gabor.lbl.gov>
1997-03-19 1:45 ` Problem compiling linux-pre-2.1.30-2 Kevin Osowski
[not found] <Pine.LNX.3.95.970318194215.22827A-100000@floyd.soc.uwm.edu>
1997-03-19 8:56 ` Wintermute
1997-03-19 15:09 ` Richard Henderson
[not found] <Pine.LNX.3.95.970319035421.27685A-100000@chrome.wintermute.org>
1997-03-20 2:51 ` Kevin Osowski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox