You are not logged in.
I've read the wiki https://wiki.archlinux.org/index.php/Cr … Guidelines.
And try to build some PKGBUILD on aur in sequence.
1. sh4-elf-binutils 2.22-1
2. sh4-elf-gcc-base 4.7.2-2
3. sh-linux-api-headers 3.5.5-1 https://aur.archlinux.org/packages.php?ID=63511
But, It occurs an error when build sh-linux-api-headers.
Can any one give me some hint about how to patch/correct it?
...
patching file sound/usb/pcm.c
CHK include/linux/version.h
UPD include/linux/version.h
...
CHECK include/linux/usb (10 files)
CHECK include/linux/wimax (1 files)
CHECK include/linux (375 files)
/var/abs/local/sh-linux-api-headers/src/linux-3.5/usr/include/linux/kexec.h:49: userspace cannot reference function or variable defined in the kernel
/var/abs/local/sh-linux-api-headers/src/linux-3.5/usr/include/linux/kvm_para.h:26: included file 'asm-sh/kvm_para.h' is not exported
/var/abs/local/sh-linux-api-headers/src/linux-3.5/usr/include/linux/soundcard.h:1054: userspace cannot reference function or variable defined in the kernel
make[2]: *** [/var/abs/local/sh-linux-api-headers/src/linux-3.5/usr/include/linux/.check] Error 123
make[1]: *** [linux] Error 2
make: *** [headers_check] Error 2
Solution:
I use crosstool-ng, downgrade make, downgrade autotool, and it works.
Last edited by dlin (2012-11-14 01:31:57)
Running 4 ArchLinux including sh4twbox,server,notebook,desktop. my AUR packages
Offline
Code tags use [ ], not < >
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline