Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Sep 2011
Compiling Linux 2.6.23 copy_user.S error (RTAI patching)
I've been spending many hours, over many days searching google/trying to fix this compile error I am getting when I am trying to compile linux 2.6.23.
I am trying to patch and setup a kernel with the RTAI. I found many walkthroughs on the subject but none of them mention the compile error I am getting.
Computer: Toshiba Satellite A665
Processor: Quad Core AMD Phenom II P940 Quad-Core Processor
Architecture: x86_64 (64 bit)
RTAI version: tried 3.6.1 through 3.8.1 (newest)
current linux kernel: 2.6.38-11-generic (Ubuntu r11.04 natty)
linux kernel to build: linux-2.6.23** (downloaded from linus tarval's website since kernel.org was down) also tried linux 2.6.23-17 (same result)
**Note I am trying to compile linux 2.6.23 because this is the latest kernel support for x86_64 architectures.
Here the error reads
arch/x86_64/lib/copy_user.S: Assembler messages:
arch/x86_64/lib/copy_user.S:353: Error: .size expression for copy_user_generic_c does not evaluate to a constant
make: *** [arch/x86_64/lib/copy_user.o] Error 1
make: *** [arch/x86_64/lib] Error 2
make: Leaving directory `/usr/src/linux-2.6.23'
make: *** [debian/stamp/build/kernel] Error 2
**Note I am trying to compile linux 2.6.23 because this is the latest kernel support for x86_64 architectures.Sometimes, real fast is almost as good as real time.
- Join Date
- Apr 2009
- I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
Just remember, Semper Gumbi - always be flexible!