From: triekkin@Zone.pspt.fi (Toni Riekkinen)
Subject: 2.1.117 + ATM-patch compile problem
Date: 1998/10/21 [thread overview]
Message-ID: <70kjq5$pd3$1@raptor.pspt.fi> (raw)
I have 2.1.117 kernel and corresponding ATM-patches
When I try to compile this kernel it stops there:
omit-frame-pointer -D__SMP__ -pipe -mno-fp-regs -ffixed-8 -c -o errno.o
errno.c
gcc -D__KERNEL__ -I/usr/src/devel/linux/include -Wall -Wstrict-prototypes
-O2 -fomit-frame-pointer -D__SMP__ -pipe -mno-fp-regs -ffixed-8 -c -o
ctype.o ctype.c
gcc -D__KERNEL__ -I/usr/src/devel/linux/include -Wall -Wstrict-prototypes
-O2 -fomit-frame-pointer -D__SMP__ -pipe -mno-fp-regs -ffixed-8 -c -o
string.o string.c
gcc -D__KERNEL__ -I/usr/src/devel/linux/include -Wall -Wstrict-prototypes
-O2 -fomit-frame-pointer -D__SMP__ -pipe -mno-fp-regs -ffixed-8 -c -o
vsprintf.o vsprintf.c
rm -f lib.a
ar rcs lib.a errno.o ctype.o string.o vsprintf.o
make[2]: Leaving directory `/usr/src/devel/linux/lib'
make[1]: Leaving directory `/usr/src/devel/linux/lib'
make -C arch/alpha/kernel
make[1]: Entering directory `/usr/src/devel/linux/arch/alpha/kernel'
gcc -D__KERNEL__ -I/usr/src/devel/linux/include -Wall -Wstrict-prototypes
-O2 -fomit-frame-pointer -D__SMP__ -pipe -mno-fp-regs -ffixed-8
-DEXPORT_SYMTAB -c alpha_ksyms.c
gcc -D__KERNEL__ -I/usr/src/devel/linux/include -D__ASSEMBLY__ -D__SMP__
-traditional -c entry.S -o entry.o
gcc -D__KERNEL__ -I/usr/src/devel/linux/include -Wall -Wstrict-prototypes
-O2 -fomit-frame-pointer -D__SMP__ -pipe -mno-fp-regs -ffixed-8 -c -o
traps.o traps.c
traps.c: In function `trap_init':
traps.c:891: warning: `gptr' might be used uninitialized in this function
gcc -D__KERNEL__ -I/usr/src/devel/linux/include -Wall -Wstrict-prototypes
-O2 -fomit-frame-pointer -D__SMP__ -pipe -mno-fp-regs -ffixed-8 -c -o
process.o process.c
gcc -D__KERNEL__ -I/usr/src/devel/linux/include -Wall -Wstrict-prototypes
-O2 -fomit-frame-pointer -D__SMP__ -pipe -mno-fp-regs -ffixed-8 -c -o
osf_sys.o osf_sys.c
osf_sys.c: In function `osf_sigstack':
osf_sys.c:774: warning: `oss_sp' might be used uninitialized in this
function
osf_sys.c:774: warning: `oss_os' might be used uninitialized in this
function
gcc -D__KERNEL__ -I/usr/src/devel/linux/include -Wall -Wstrict-prototypes
-O2 -fomit-frame-pointer -D__SMP__ -pipe -mno-fp-regs -ffixed-8 -c -o
irq.o irq.c
gcc -D__KERNEL__ -I/usr/src/devel/linux/include -Wall -Wstrict-prototypes
-O2 -fomit-frame-pointer -D__SMP__ -pipe -mno-fp-regs -ffixed-8 -c -o
signal.o signal.c
gcc -D__KERNEL__ -I/usr/src/devel/linux/include -Wall -Wstrict-prototypes
-O2 -fomit-frame-pointer -D__SMP__ -pipe -mno-fp-regs -ffixed-8 -c -o
setup.o setup.c
setup.c: In function `get_cpuinfo':
setup.c:753: too many arguments to function `smp_info'
setup.c:753: warning: return makes integer from pointer without a cast
make[1]: *** [setup.o] Error 1
make[1]: Leaving directory `/usr/src/devel/linux/arch/alpha/kernel'
make: *** [_dir_arch/alpha/kernel] Error 2
[root@temp1 linux]#
I believe this is the problem part of linux/arch/alpha/kernel/setup.c:
-----------
len = sprintf(buffer,
"cpu\t\t\t: Alpha\n"
"cpu model\t\t: %s\n"
"cpu variation\t\t: %ld\n"
"cpu revision\t\t: %ld\n"
---missing part of here---
unaligned[1].count, unaligned[1].pc, unaligned[1].va,
platform_string());
#ifdef __SMP__
return len + smp_info(buffer+len);
#else
return len;
#endif
----------
Why it returns len before and in smp_info()?
What should I do about it?
next reply other threads:[~1998-10-21 4:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-10-21 4:00 Toni Riekkinen [this message]
1998-10-24 4:00 ` 2.1.117 + ATM-patch compile problem Jay A Estabrook
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox