Mailing List Archive

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 vmlinux
arch/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
Re: compilation error [ In reply to ]
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

> 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
> arch/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


-------------------------------------------------------
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
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xen-devel