windydays n00b

Joined: 18 Jan 2012 Posts: 1
|
Posted: Sun Mar 04, 2012 3:26 pm Post subject: bochs failed to build on kernel 3.2 |
|
|
I tried to install bochs on my gentoo linux, with kernel version 3.2.1-gentoo-r2.
bochs version 2.4.5
the default configure options includes "--enable-pcidev" , which caused build failure.
in ./configure ,i found the following lines:
Quote: | linux_version=`uname -r`
case "$linux_version" in
2.4*)
PCIDEV_MODULE_MAKE_ALL="all-kernel24"
KERNEL_MODULE_SUFFIX="o"
;;
2.6*)
PCIDEV_MODULE_MAKE_ALL="all-kernel26"
KERNEL_MODULE_SUFFIX="ko"
;;
*)
as_fn_error "Linux kernel 2.4 or 2.6 is required for PCI host device mapping" "$LINENO" 5
;;
esac |
i modified this script ,added the following lines
Quote: |
3.2*)
PCIDEV_MODULE_MAKE_ALL="all-kernel26"
KERNEL_MODULE_SUFFIX="ko"
;; |
it builds succesfully.
I have reported this issue to bochs developer mailing list.
so,can any gentoo developer remove --enable-pcidev option in ebuilds temporarily ,if it doesn't matter? |
|