Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
bochs failed to build on kernel 3.2
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
windydays
n00b
n00b


Joined: 18 Jan 2012
Posts: 1

PostPosted: Sun Mar 04, 2012 3:26 pm    Post subject: bochs failed to build on kernel 3.2 Reply with quote

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?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum