Skip to contentSkip to conversation

debian kernel 2.4.29

DISCUSSION Jan Prunk 3 participants 3 messages Mar 7, 2005

lore
Share & tools
lore

Jan Prunk

author
#0 lore raw

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/

#1 lore raw
Quoted 27 lines · Jan Prunk

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

Quoted 3 lines

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

#2 lore raw
In reply to Jan Prunk
Quoted 1 line · Jan Prunk

Hello !

Hi Jan!

Quoted 25 lines

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

Quoted 2 lines

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.

Quoted 1 line

Regards, Jan Prunk

cu
Adrian

Signature · 4 lines
       "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