compilation error
Hi all,
Im working on Linux 2.4.27 on Xen. I changed the compilation config
file. Ive attached the file.
On doing make world or make linux24. I got the following errors.
----------------------
/home/mjdeepak/xen-2.0/linux-2.4.27-xen0/arch/xen/lib/lib.a /home/mjdeep
ak/xen-2.0/linux-2.4.27-xen0/lib/lib.a /home/mjdeepak/xen-2.0/linux-2.4.27-xen0/
arch/xen/lib/lib.a \
--end-group \
-o vmlinuxarch/xen/kernel/kernel.o(.text+0x8a67): In function `machine_restart':
: undefined reference to xencons_force_flush' arch/xen/kernel/kernel.o(.text+0x8a97): In function machine_power_off':
: undefined reference to `xencons_force_flush'
make[2]: *** [vmlinux] Error 1
make[2]: Leaving directory `/home/mjdeepak/xen-2.0/linux-2.4.27-xen0' make[1]: *** [linux-xen0] Error 2
make[1]: Leaving directory `/home/mjdeepak/xen-2.0'
make: *** [world] Error 2
-------------------------------------
Thanks.
Deepak
You hadn't configured the Xen console driver. I'ce checked in a fix that means it is now impossible to accidentally disable that driver. Try pulling the latest changes and run 'ARCH=xen make oldconfig' on your currently-broken config files.
-- Keir
Quoted 13 lines
Hi all,
Im working on Linux 2.4.27 on Xen. I changed the compilation config
file. Ive attached the file.On doing make world or make linux24. I got the following errors.
----------------------
/home/mjdeepak/xen-2.0/linux-2.4.27-xen0/arch/xen/lib/lib.a/home/mjdeep
ak/xen-2.0/linux-2.4.27-xen0/lib/lib.a/home/mjdeepak/xen-2.0/linux-2.4.27-xen0/arch/xen/lib/lib.a \ --end-group \ -o vmlinux
Quoted 9 lines
arch/xen/kernel/kernel.o(.text+0x8a67): In function `machine_restart':
: undefined reference toxencons_force_flush' arch/xen/kernel/kernel.o(.text+0x8a97): In functionmachine_power_off':
: undefined reference to `xencons_force_flush'
make[2]: *** [vmlinux] Error 1
make[2]: Leaving directory `/home/mjdeepak/xen-2.0/linux-2.4.27-xen0' make[1]: *** [linux-xen0] Error 2
make[1]: Leaving directory `/home/mjdeepak/xen-2.0'
make: *** [world] Error 2
-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click