Skip to contentSkip to conversation

Sparc64 compile error for 2.4.0-prerelease

DISCUSSION Tommy Wu 3 participants 5 messages Jan 2, 2001

lore
Share & tools
lore

Tommy Wu

author
#0 lore raw

make[2]: Entering directory `/usr/src/kernel-source-2.4.0-prerelease/kernel' sparc64-linux-gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototype s -O2 -fomit-frame-pointer -fno-strict-aliasing -m64 -pipe -mno-fpu -mcpu=ultras parc -mcmodel=medlow -ffixed-g4 -fcall-used-g5 -fcall-used-g7 -Wno-sign-compare
-Wa,--undeclared-regs -c -o panic.o panic.c
panic.c: In function `panic':
panic.c:80: `loops_per_sec' undeclared (first use in this function) panic.c:80: (Each undeclared identifier is reported only once panic.c:80: for each function it appears in.)
make[2]: *** [panic.o] Error 1
make[2]: Leaving directory `/usr/src/kernel-source-2.4.0-prerelease/kernel' make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/src/kernel-source-2.4.0-prerelease/kernel'
make: *** [_dir_kernel] Error 2

Signature · 11 lines
    Tommy Wu
    mailto:[email protected]
    http://www.teatime.com.tw/~tommy
    ICQ: 22766091
    Mobile Phone: +886 936 909490
    TeaTime BBS +886 2 31515964 24Hrs V.Everything

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
#1 lore raw

same on alpha

Quoted 4 lines · Tommy Wu

panic.c: In function `panic':
panic.c:80: `loops_per_sec' undeclared (first use in this function) panic.c:80: (Each undeclared identifier is reported only once panic.c:80: for each function it appears in.)

Signature · 6 lines
Tom Vier <[email protected]>
DSA Key id 0x27371A2C
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
author
#3 lore raw
In reply to Tommy Wu

"David S. Miller" 寫道:

Quoted 3 lines

See testing/prerelease-diff

This patch still has problem for define 'HZ' in 'asm-sparc64/delay.h'. It defined in linux/param.h.

delay.h Tue Jan 2 11:43:17 2001 renamed from delay.old Tue Jan 2 11:53:34 2001 +1 -0
@@ -8,6 +8,7 @@
 #define __SPARC64_DELAY_H
 
 #include <linux/config.h>
+#include <linux/param.h>
 #ifdef CONFIG_SMP
 #include <linux/sched.h>
 #include <asm/smp.h>
Signature · 11 lines
    Tommy Wu
    mailto:[email protected]
    http://www.teatime.com.tw/~tommy
    ICQ: 22766091
    Mobile Phone: +886 936 909490
    TeaTime BBS +886 2 31515964 24Hrs V.Everything

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
#4 lore raw

Date: Tue, 02 Jan 2001 11:57:13 +0800
From: Tommy Wu <[email protected]>

This patch still has problem for define 'HZ' in 'asm-sparc64/delay.h'. It defined in linux/param.h.

I've been doing only SMP builds lately which is why I didn't catch this, thanks a lot.

Later,
David S. Miller
[email protected]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/