2005-03-07 12:48:07

by Jan Prunk

[permalink] [raw]
Subject: debian kernel 2.4.29

Hello !

I tried to compile kernel 2.4.29 on a debian PARISC machine Gecko 712/60,
using PA7100LC processor.
I executed command to build a custom debian kernel:
fakeroot make-kpkg --revision=custom.1.0 kernel_image

The kernel config file is available here:
http://212.18.59.124/kernel-2.4.29/config

The errors in the kernel are following:
signal.c:66: warning: passing arg 1 of `__put_kernel_asm64' makes
integer from pointer without a cast
signal.c:66: warning: passing arg 1 of `__put_user_asm64' makes integer
from pointer without a cast
gcc -D__ASSEMBLY__ -traditional -D__KERNEL__
-I/usr/src/linux-2.4.29/include -c -o hpmc.o hpmc.S
gcc -D__ASSEMBLY__ -traditional -D__KERNEL__
-I/usr/src/linux-2.4.29/include -c -o real2.o real2.S
real2.S: Assembler messages:
real2.S:126: Error: too many positional arguments
make[2]: *** [real2.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.4.29/arch/parisc/kernel'
make[1]: *** [_dir_arch/parisc/kernel] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.29'
make: *** [stamp-build] Error 2

If you happen to know how to make this work, I appreciate a copy of your
email to my address.

Regards, Jan Prunk

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


2005-03-07 17:42:45

by jurriaan

[permalink] [raw]
Subject: Re: debian kernel 2.4.29

On Mon, Mar 07, 2005 at 12:48:01PM +0000, Jan Prunk wrote:
> Hello !
>
> I tried to compile kernel 2.4.29 on a debian PARISC machine Gecko 712/60,
> using PA7100LC processor.
> I executed command to build a custom debian kernel:
> fakeroot make-kpkg --revision=custom.1.0 kernel_image
>
> The kernel config file is available here:
> http://212.18.59.124/kernel-2.4.29/config
>
> The errors in the kernel are following:
> signal.c:66: warning: passing arg 1 of `__put_kernel_asm64' makes
> integer from pointer without a cast
> signal.c:66: warning: passing arg 1 of `__put_user_asm64' makes integer
> from pointer without a cast
> gcc -D__ASSEMBLY__ -traditional -D__KERNEL__
> -I/usr/src/linux-2.4.29/include -c -o hpmc.o hpmc.S
> gcc -D__ASSEMBLY__ -traditional -D__KERNEL__
> -I/usr/src/linux-2.4.29/include -c -o real2.o real2.S
> real2.S: Assembler messages:
> real2.S:126: Error: too many positional arguments
> make[2]: *** [real2.o] Error 1
> make[2]: Leaving directory `/usr/src/linux-2.4.29/arch/parisc/kernel'
> make[1]: *** [_dir_arch/parisc/kernel] Error 2
> make[1]: Leaving directory `/usr/src/linux-2.4.29'
> make: *** [stamp-build] Error 2
>
> If you happen to know how to make this work, I appreciate a copy of your
> email to my address.
>
For pa-risc kernels, try the pa-risc mailinglist. Generally, vanilla
kernel sources don't compile on pa-risc. Also, the developers of the
pa-risc platform all use 2.6.x kernels. You need to get 2.6.X-paY
patches - it's all on the parisc mailinglist.

Good luck,
Jurriaan

2005-03-07 19:16:53

by Adrian Bunk

[permalink] [raw]
Subject: Re: debian kernel 2.4.29

On Mon, Mar 07, 2005 at 12:48:01PM +0000, Jan Prunk wrote:

> Hello !

Hi Jan!

> I tried to compile kernel 2.4.29 on a debian PARISC machine Gecko 712/60,
> using PA7100LC processor.
> I executed command to build a custom debian kernel:
> fakeroot make-kpkg --revision=custom.1.0 kernel_image
>
> The kernel config file is available here:
> http://212.18.59.124/kernel-2.4.29/config
>
> The errors in the kernel are following:
> signal.c:66: warning: passing arg 1 of `__put_kernel_asm64' makes
> integer from pointer without a cast
> signal.c:66: warning: passing arg 1 of `__put_user_asm64' makes integer
> from pointer without a cast
> gcc -D__ASSEMBLY__ -traditional -D__KERNEL__
> -I/usr/src/linux-2.4.29/include -c -o hpmc.o hpmc.S
> gcc -D__ASSEMBLY__ -traditional -D__KERNEL__
> -I/usr/src/linux-2.4.29/include -c -o real2.o real2.S
> real2.S: Assembler messages:
> real2.S:126: Error: too many positional arguments
> make[2]: *** [real2.o] Error 1
> make[2]: Leaving directory `/usr/src/linux-2.4.29/arch/parisc/kernel'
> make[1]: *** [_dir_arch/parisc/kernel] Error 2
> make[1]: Leaving directory `/usr/src/linux-2.4.29'
> make: *** [stamp-build] Error 2
>
> If you happen to know how to make this work, I appreciate a copy of your
> email to my address.

Most likely, ftp.kernel.org 2.4 kernels don't work on HPPA.

kernel-source-2.4.27 plus kernel-patch-2.4.27-hppa might help you to get
a working kernel.

> Regards, Jan Prunk

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed