* ip27-init.c problem
@ 2003-02-04 15:33 Jason Ormes
2003-02-04 15:52 ` Ralf Baechle
0 siblings, 1 reply; 2+ messages in thread
From: Jason Ormes @ 2003-02-04 15:33 UTC (permalink / raw)
To: linux-mips
Hello,
I downloaded the linux_2_4 branch from the cvs repository and am
trying to build a kernel for an origin 200. I'm using
binutils-mips64-linux-2.13.1-1 and egcs-mips64-linux-1.1.2-4 on a redhat
8.0 system. I am getting these errors in ip27-init.c when trying to
build the kernel.
mips64-linux-gcc -D__KERNEL__ -I/home/jason/mips/linux/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-fomit-frame-pointer -I /home/jason/mips/linux/include/asm/gcc -mabi=64
-G 0 -mno-abicalls -fno-pic -Wa,--trap -pipe -mcpu=r8000 -mips4 -Wa,-32
-Wa,-mgp64 -nostdinc -iwithprefix include -DKBUILD_BASENAME=ip27_init
-c -o ip27-init.o ip27-init.c
ip27-init.c:48: parse error before `boot_cpumask'
ip27-init.c:48: warning: type defaults to `int' in declaration of
`boot_cpumask'
ip27-init.c:48: warning: data definition has no type or storage class
ip27-init.c:107: parse error before `cpumask_t'
ip27-init.c:109: warning: function declaration isn't a prototype
ip27-init.c: In function `do_cpumask':
ip27-init.c:116: `nasid' undeclared (first use in this function)
ip27-init.c:116: (Each undeclared identifier is reported only once
ip27-init.c:116: for each function it appears in.)
ip27-init.c:124: `cnode' undeclared (first use in this function)
ip27-init.c:125: `highest' undeclared (first use in this function)
ip27-init.c:130: warning: implicit declaration of function
`CPUMASK_SETB'
ip27-init.c:130: invalid type argument of `unary *'
ip27-init.c: At top level:
ip27-init.c:147: parse error before `*'
ip27-init.c:148: warning: function declaration isn't a prototype
ip27-init.c: In function `cpu_node_probe':
ip27-init.c:163: invalid type argument of `unary *'
ip27-init.c:170: invalid type argument of `unary *'
ip27-init.c: In function `cpu_enabled':
ip27-init.c:187: warning: implicit declaration of function
`CPUMASK_TSTB'
ip27-init.c: In function `mlreset':
ip27-init.c:203: warning: implicit declaration of function
`CPUMASK_CLRALL'
make[2]: *** [ip27-init.o] Error 1
make[2]: Leaving directory `/home/jason/mips/linux/arch/mips/sgi-ip27'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/home/jason/mips/linux/arch/mips/sgi-ip27'
make: *** [_dir_arch/mips/sgi-ip27] Error 2
I did
make ARCH=mips64 clean
make ARCH=mips64 menuconfig and turned on ip27 support
make ARCH=mips64 deps
make ARCH=mips64 all
can someone point me in the right direction out of this problem?
Jason Ormes
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: ip27-init.c problem
2003-02-04 15:33 ip27-init.c problem Jason Ormes
@ 2003-02-04 15:52 ` Ralf Baechle
0 siblings, 0 replies; 2+ messages in thread
From: Ralf Baechle @ 2003-02-04 15:52 UTC (permalink / raw)
To: Jason Ormes; +Cc: linux-mips
On Tue, Feb 04, 2003 at 09:33:00AM -0600, Jason Ormes wrote:
> I downloaded the linux_2_4 branch from the cvs repository and am
> trying to build a kernel for an origin 200. I'm using
> binutils-mips64-linux-2.13.1-1 and egcs-mips64-linux-1.1.2-4 on a redhat
> 8.0 system. I am getting these errors in ip27-init.c when trying to
> build the kernel.
>
> mips64-linux-gcc -D__KERNEL__ -I/home/jason/mips/linux/include -Wall
> -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
> -fomit-frame-pointer -I /home/jason/mips/linux/include/asm/gcc -mabi=64
> -G 0 -mno-abicalls -fno-pic -Wa,--trap -pipe -mcpu=r8000 -mips4 -Wa,-32
> -Wa,-mgp64 -nostdinc -iwithprefix include -DKBUILD_BASENAME=ip27_init
> -c -o ip27-init.o ip27-init.c
> ip27-init.c:48: parse error before `boot_cpumask'
> ip27-init.c:48: warning: type defaults to `int' in declaration of
> `boot_cpumask'
[...]
You're trying to build a uniprocessor kernel. That's currently not supported.
Just enable CONFIG_SMP. Do you actually have a uniprocessor Origin?
Ralf
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-02-04 15:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-04 15:33 ip27-init.c problem Jason Ormes
2003-02-04 15:52 ` Ralf Baechle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox