Page 1 of 1

undefined symbol PMD_SHIFT

PostPosted: Sun Jul 11, 2010 4:10 am
by AlanW
With 2.6.34.1 (and also 2.6.33.6) I'm getting the following error

arch/x86/kernel/vmlinux.lds:642: undefined symbol `PMD_SHIFT' referenced in expression

It was previously an issue in 2.6.13.

Configured for AMD32, .config is available at http://wylie.me.uk/tmp/config-2.6.34.1-pax

Re: undefined symbol PMD_SHIFT

PostPosted: Sun Jul 11, 2010 11:47 am
by spender
This should be fixed in the latest patch uploaded yesterday. Check to make sure it's the same one you're using and let me know if you still have problems.

-Brad

Re: undefined symbol PMD_SHIFT

PostPosted: Mon Jul 12, 2010 4:16 pm
by AlanW
This should be fixed in the latest patch uploaded yesterday. Check to make sure it's the same one you're using and let me know if you still have problems.


Sorry - latest version shows the error.

Code: Select all
tar xf /work/download/Linux/linux-2.6.34.tar.bz2
cd linux-2.6.34/
bzip2 -dc /work/download/Linux/patch-2.6.34.1.bz2 | patch -p 1
patch -p 1 < /work/download/Linux/pax-linux-2.6.34.1-test9.patch

cp ../../linux-2.6.34.1-pax/.config .
make oldconfig
make

...

LD      .tmp_vmlinux1
arch/x86/kernel/vmlinux.lds:642: undefined symbol `PMD_SHIFT' referenced in expression
make: *** [.tmp_vmlinux1] Error 1

Re: undefined symbol PMD_SHIFT

PostPosted: Mon Jul 12, 2010 6:07 pm
by spender
The latest grsecurity patch I meant. I've included a fix for the compile issue. It'll be fixed as well in the next PaX patch when it's released.

-Brad