Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* Building 2.6.10 kernel for Debian fails in traps.c
@ 2005-01-23  1:13 John Beardmore
  2005-01-26  5:26 `  DiskMan
  2005-02-07  7:04 ` Kernel-2.6.10 actually runs pretty damn good!  DiskMan
  0 siblings, 2 replies; 6+ messages in thread
From: John Beardmore @ 2005-01-23  1:13 UTC (permalink / raw)


Building the 2.6.10 kernel for Alpha Debian v3r3, I get the error 
message:

       CC      arch/alpha/kernel/traps.o
     arch/alpha/kernel/traps.c: In function `opDEC_check':
     arch/alpha/kernel/traps.c:55: parse error before `['
     make[1]: *** [arch/alpha/kernel/traps.o] Error 1
     make: *** [arch/alpha/kernel] Error 2

Has anybody seen this and found a work around ?


Thanks, J/.
-- 
John Beardmore


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Building 2.6.10 kernel for Debian fails in traps.c
  2005-01-23  1:13 Building 2.6.10 kernel for Debian fails in traps.c John Beardmore
@ 2005-01-26  5:26 `  DiskMan
  2005-01-26  6:39   ` Måns Rullgård
  2005-01-26 16:57   ` Carl C.
  2005-02-07  7:04 ` Kernel-2.6.10 actually runs pretty damn good!  DiskMan
  1 sibling, 2 replies; 6+ messages in thread
From:  DiskMan @ 2005-01-26  5:26 UTC (permalink / raw)


I can build 2.6 kerns with no problem using GCC-3.0.4, only problem? Can't
boot the damn things... Will L G

"John Beardmore" <wookie@wookie.demon.co.uk> wrote in message
news:l5$Av5o6ov8BFwoO@wookie.demon.co.uk...
> Building the 2.6.10 kernel for Alpha Debian v3r3, I get the error
> message:
>
>        CC      arch/alpha/kernel/traps.o
>      arch/alpha/kernel/traps.c: In function `opDEC_check':
>      arch/alpha/kernel/traps.c:55: parse error before `['
>      make[1]: *** [arch/alpha/kernel/traps.o] Error 1
>      make: *** [arch/alpha/kernel] Error 2
>
> Has anybody seen this and found a work around ?
>
>
> Thanks, J/.
> -- 
> John Beardmore




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Building 2.6.10 kernel for Debian fails in traps.c
  2005-01-26  5:26 `  DiskMan
@ 2005-01-26  6:39   ` Måns Rullgård
  2005-01-26 16:57   ` Carl C.
  1 sibling, 0 replies; 6+ messages in thread
From: Måns Rullgård @ 2005-01-26  6:39 UTC (permalink / raw)


" DiskMan" <nobody@thewheel.com> writes:

> I can build 2.6 kerns with no problem using GCC-3.0.4, only problem? Can't
> boot the damn things... Will L G

You have an SX164, right?  My 2.6 kernels boot just fine on such a
machine.  You're not by any chance fooling around with initrd, are
you?

-- 
M�ns Rullg�rd
mru@inprovide.com


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Building 2.6.10 kernel for Debian fails in traps.c
  2005-01-26  5:26 `  DiskMan
  2005-01-26  6:39   ` Måns Rullgård
@ 2005-01-26 16:57   ` Carl C.
  1 sibling, 0 replies; 6+ messages in thread
From: Carl C. @ 2005-01-26 16:57 UTC (permalink / raw)



> "John Beardmore"  wrote in message
> > Building the 2.6.10 kernel for Alpha Debian v3r3, I get the error
> > message:
> >
> >        CC      arch/alpha/kernel/traps.o
> >      arch/alpha/kernel/traps.c: In function `opDEC_check':
> >      arch/alpha/kernel/traps.c:55: parse error before `['
> >      make[1]: *** [arch/alpha/kernel/traps.o] Error 1
> >      make: *** [arch/alpha/kernel] Error 2
> >
> > Has anybody seen this and found a work around ?
> >
> >
> > Thanks, J/.
> > -- 
> > John Beardmore

Yeah, I have a copy of an older traps.c from 2.6.0 (or maybe even 2.4.x). I've
seen the very same thing, and I used the older traps.c to build the kernel.

(Same kind of box, Alpha PWS 500a)
On Debian, the opDEC_check did not work....
On Gentoo, the opDEC_check did work.
On Redhat, the opDEC_check did not work....

I know, it's dangerous, but it worked :^\ .....

Carl




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Kernel-2.6.10 actually runs pretty damn good!
  2005-01-23  1:13 Building 2.6.10 kernel for Debian fails in traps.c John Beardmore
  2005-01-26  5:26 `  DiskMan
@ 2005-02-07  7:04 `  DiskMan
  2005-03-01  2:00   ` Insert Name Here
  1 sibling, 1 reply; 6+ messages in thread
From:  DiskMan @ 2005-02-07  7:04 UTC (permalink / raw)


I just went ahead and compiled Kernel-2.6.10 and it runs like a charm.... I
downloaded it from kernel.org and
I used the following tools to compile it:
GCC-3.4.3
Binutils-2.15
Make-3.80

I also mod'd my CFLAGS slightly and included -O2 -mtune=pca56 -ffast-math

It runs like a top!  Will L G

"John Beardmore" <wookie@wookie.demon.co.uk> wrote in message
news:l5$Av5o6ov8BFwoO@wookie.demon.co.uk...
> Building the 2.6.10 kernel for Alpha Debian v3r3, I get the error
> message:
>
>        CC      arch/alpha/kernel/traps.o
>      arch/alpha/kernel/traps.c: In function `opDEC_check':
>      arch/alpha/kernel/traps.c:55: parse error before `['
>      make[1]: *** [arch/alpha/kernel/traps.o] Error 1
>      make: *** [arch/alpha/kernel] Error 2
>
> Has anybody seen this and found a work around ?
>
>
> Thanks, J/.
> -- 
> John Beardmore




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Kernel-2.6.10 actually runs pretty damn good!
  2005-02-07  7:04 ` Kernel-2.6.10 actually runs pretty damn good!  DiskMan
@ 2005-03-01  2:00   ` Insert Name Here
  0 siblings, 0 replies; 6+ messages in thread
From: Insert Name Here @ 2005-03-01  2:00 UTC (permalink / raw)


  DiskMan wrote:
> I just went ahead and compiled Kernel-2.6.10 and it runs like a charm.... I
> downloaded it from kernel.org and
> I used the following tools to compile it:
> GCC-3.4.3
> Binutils-2.15
> Make-3.80
> 
> I also mod'd my CFLAGS slightly and included -O2 -mtune=pca56 -ffast-math
> 
> It runs like a top!  Will L G
> 
> "John Beardmore" <wookie@wookie.demon.co.uk> wrote in message
> news:l5$Av5o6ov8BFwoO@wookie.demon.co.uk...
> 
>>Building the 2.6.10 kernel for Alpha Debian v3r3, I get the error
>>message:
>>
>>       CC      arch/alpha/kernel/traps.o
>>     arch/alpha/kernel/traps.c: In function `opDEC_check':
>>     arch/alpha/kernel/traps.c:55: parse error before `['
>>     make[1]: *** [arch/alpha/kernel/traps.o] Error 1
>>     make: *** [arch/alpha/kernel] Error 2
>>
>>Has anybody seen this and found a work around ?
>>
>>
>>Thanks, J/.
>>-- 
>>John Beardmore
> 
> 
> 

If you don't have a jensen or multia just comment out the function and 
the call to it in traps.c and go on your merry way. I managed to compile
2.6.10 last night from deb sources on as800, but you'll need the latest 
binutils and all it's dependencies to get through to the end.

Cheers,
Doogle


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-03-01  2:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-23  1:13 Building 2.6.10 kernel for Debian fails in traps.c John Beardmore
2005-01-26  5:26 `  DiskMan
2005-01-26  6:39   ` Måns Rullgård
2005-01-26 16:57   ` Carl C.
2005-02-07  7:04 ` Kernel-2.6.10 actually runs pretty damn good!  DiskMan
2005-03-01  2:00   ` Insert Name Here

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox