Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Qemu won't compile, even with old GCC
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
vladimir1986
n00b
n00b


Joined: 09 Dec 2010
Posts: 74

PostPosted: Wed May 30, 2012 12:36 am    Post subject: [SOLVED] Qemu won't compile, even with old GCC Reply with quote

Hello, again, gentoo! :D

I have a new chance to try Gentoo, and despite I have almost everything set up and running, I still have a couple of problems. One of them: I can't compile qemu

I googled the problem, and all answers point to qemu being unable to compile under gcc4, so i installed gcc3.3.6 Any other version of GCC fails to compile :?

The thing is that it doesn't help at all, even after switching to GCC3, to make sure that on my make.conf march=core2 (gcc3 can't use gcc=auto), it keeps failing. The log is not very useful to me, so I don't know what info to provide. I can tell that I have KVM deactivated, both in kernel and on the USE flags (my shitty processor doesn't have hardware emulation anyway), I want to use kqemu to achieve faster acceleration, which i remember helped me on the past, but didn't work either... (so i try to install without kqemu too with same results) It just stubbornly rejects to compile. What can i do?

Thanks in advance.


Last edited by vladimir1986 on Thu May 31, 2012 1:20 pm; edited 1 time in total
Back to top
View user's profile Send private message
Kaso_da_Zmok
Apprentice
Apprentice


Joined: 19 Aug 2004
Posts: 189
Location: Zurich, Switzerland

PostPosted: Wed May 30, 2012 8:26 pm    Post subject: Reply with quote

try vmware?
Back to top
View user's profile Send private message
xaviermiller
Bodhisattva
Bodhisattva


Joined: 23 Jul 2004
Posts: 8710
Location: ~Brussels - Belgique

PostPosted: Wed May 30, 2012 8:40 pm    Post subject: Reply with quote

Hello,

Which version of QEMU did you try?
_________________
Kind regards,
Xavier Miller
Back to top
View user's profile Send private message
vladimir1986
n00b
n00b


Joined: 09 Dec 2010
Posts: 74

PostPosted: Wed May 30, 2012 9:01 pm    Post subject: Reply with quote

Kaso_da_Zmok wrote:
try vmware?


Vmware is NOT and option for those reasons

1-i have to install a non-free, higly unestable and resource eating program who depends on new kernel modules
2-It can't emulate tons of sound cards, network cards, and processors who qemu can
3-Using windows 3.1, ms-Dos, or command line on a TINY little box on the middle of black background who can't be resized to fit the whole screen is annoying. Only modern OS are supported to bring fullscreen. And with no hw emulation, I just can't emulate anything newer than windows 95 :( quemu lets me use real, confortable fullscreen, plus an convenient interface to swap devices, like floppy disk images and isos.

I use the "stock" qemu, which by today is 0.11.1... To know which flags i use...

app-emulation/qemu-0.11.1 USE="alsa kqemu ncurses sdl -bluetooth -gnutls -kvm -pulseaudio -sasl -vde"

QEMU_SOFTMMU_TARGETS="arm cris i386 m68k mips mips64 mips64el mipsel ppc ppc64 ppcemb sh4 sh4eb sparc x86_64"

QEMU_USER_TARGETS="alpha arm armeb cris i386 m68k mips mips64 mips64el mipsel ppc ppc64 ppc64abi32 sh4 sh4eb sparc sparc32plus sparc64 x86_64"

Thanks both for the answers...
Back to top
View user's profile Send private message
xaviermiller
Bodhisattva
Bodhisattva


Joined: 23 Jul 2004
Posts: 8710
Location: ~Brussels - Belgique

PostPosted: Thu May 31, 2012 7:37 am    Post subject: Reply with quote

Hello,

I use the version qemu-1.0.1 as well as qemu-kvm-1.0.1
Both compile (with GCC 4.5, 4.6 and 4.7) and work fine.

Try to unmask them.
_________________
Kind regards,
Xavier Miller
Back to top
View user's profile Send private message
vladimir1986
n00b
n00b


Joined: 09 Dec 2010
Posts: 74

PostPosted: Thu May 31, 2012 1:04 pm    Post subject: Reply with quote

XavierMiller wrote:
Hello,

I use the version qemu-1.0.1 as well as qemu-kvm-1.0.1
Both compile (with GCC 4.5, 4.6 and 4.7) and work fine.

Try to unmask them.


I totally obviated that solution, thinking weirdly that it won't make sense an package upgrade if it don't work anymore. :P por thinking after using bleeding edge distros for more than 3 years

It worked! thank you very much :D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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