Thread: ubuntu 11.10 compile errors
i downloaded ubuntu 11.10 source , tried compile following commands:
> git clone git://kernel.ubuntu.com/ubuntu/ubuntu-oneiric.git oneiric
> cd oneiric
> make defconfig arch=um
> make menuconfig arch=um
> make arch=um
received following errors, compilation stopped.
fs/binfmt_elf.c: in function ‘load_elf_binary’:
fs/binfmt_elf.c:720:62: error: ‘__supported_pte_mask’ undeclared (first use in function)
fs/binfmt_elf.c:720:62: note: each undeclared identifier reported once each function appears in
fs/binfmt_elf.c:720:85: error: ‘_page_nx’ undeclared (first use in function)
fs/binfmt_elf.c:721:3: error: implicit declaration of function ‘arch_add_exec_range’ [-werror=implicit-function-declaration]
cc1: warnings being treated errors
make[1]: *** [fs/binfmt_elf.o] error 1
make: *** [fs] error 2
looks me __supported_pte_mask , _page_nx have not been defined. should default values be? should defined?
moved packaging , compiling programs
Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Packaging and Compiling Programs ubuntu 11.10 compile errors
Ubuntu
Comments
Post a Comment